SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
This commit is contained in:
parent
d14baf6e41
commit
0dbedd18fc
168 changed files with 1534 additions and 1310 deletions
|
|
@ -339,7 +339,7 @@ int Label::get_longest_line_width() const {
|
|||
|
||||
int Label::get_line_count() const {
|
||||
|
||||
if (!is_inside_scene())
|
||||
if (!is_inside_tree())
|
||||
return 1;
|
||||
if (word_cache_dirty)
|
||||
const_cast<Label*>(this)->regenerate_word_cache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue