Browse Source

AnimTreePlayer: fix duplicated properties

Poommetee Ketson 7 năm trước cách đây
mục cha
commit
f9c2cfbe31
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      scene/animation/animation_tree_player.cpp

+ 0 - 2
scene/animation/animation_tree_player.cpp

@@ -386,8 +386,6 @@ bool AnimationTreePlayer::_get(const StringName &p_name, Variant &r_ret) const {
 
 void AnimationTreePlayer::_get_property_list(List<PropertyInfo> *p_list) const {
 
-	p_list->push_back(PropertyInfo(Variant::NODE_PATH, "base_path"));
-	p_list->push_back(PropertyInfo(Variant::NODE_PATH, "master_player"));
 	p_list->push_back(PropertyInfo(Variant::DICTIONARY, "data", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK));
 }