feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -30,8 +30,6 @@
|
|||
|
||||
#include "texture_rect.h"
|
||||
|
||||
#include "servers/rendering_server.h"
|
||||
|
||||
void TextureRect::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_DRAW: {
|
||||
|
|
@ -107,7 +105,7 @@ void TextureRect::_notification(int p_what) {
|
|||
}
|
||||
|
||||
Size2 TextureRect::get_minimum_size() const {
|
||||
if (!texture.is_null()) {
|
||||
if (texture.is_valid()) {
|
||||
switch (expand_mode) {
|
||||
case EXPAND_KEEP_SIZE: {
|
||||
return texture->get_size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue