Style: Fix previous commits from @reduz

This commit is contained in:
Rémi Verschelde 2018-08-24 16:50:29 +02:00
parent f6c0a3fce9
commit 0b67d1665d
2 changed files with 14 additions and 19 deletions

View File

@ -128,7 +128,6 @@ PhysicalBone *SkeletonEditor::create_physical_bone(int bone_id, int bone_child_i
void SkeletonEditor::edit(Skeleton *p_node) {
skeleton = p_node;
}
void SkeletonEditor::_notification(int p_what) {

View File

@ -674,7 +674,6 @@ void AnimationTree::_clear_caches() {
cache_valid = false;
}
void AnimationTree::_process_graph(float p_delta) {
_update_properties(); //if properties need updating, update them
@ -719,7 +718,6 @@ void AnimationTree::_process_graph(float p_delta) {
}
last_animation_player = current_animation_player;
}
if (!player) {
@ -1228,7 +1226,6 @@ void AnimationTree::_notification(int p_what) {
old_player->disconnect("caches_cleared", this, "_clear_caches");
}
}
}
}
@ -1452,7 +1449,6 @@ float AnimationTree::get_connection_activity(const StringName& p_path,int p_conn
return (*activity)[p_connection].activity;
}
void AnimationTree::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_active", "active"), &AnimationTree::set_active);
ClassDB::bind_method(D_METHOD("is_active"), &AnimationTree::is_active);