diff options
Diffstat (limited to 'scene/animation/animation_tree.cpp')
| -rw-r--r-- | scene/animation/animation_tree.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index d1d3582c9d..54f0fdc26a 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -316,7 +316,7 @@ String AnimationNode::get_caption() const {  void AnimationNode::add_input(const String &p_name) {  	//root nodes can't add inputs -	ERR_FAIL_COND(Object::cast_to<AnimationRootNode>(this) != NULL) +	ERR_FAIL_COND(Object::cast_to<AnimationRootNode>(this) != NULL);  	Input input;  	ERR_FAIL_COND(p_name.find(".") != -1 || p_name.find("/") != -1);  	input.name = p_name; @@ -1580,6 +1580,7 @@ AnimationTree::AnimationTree() {  	active = false;  	cache_valid = false;  	setup_pass = 1; +	process_pass = 1;  	started = true;  	properties_dirty = true;  	last_animation_player = 0;  |