-fixed NODE_OUT error in animtreeplayer #1078
-fixed randon button when editing menubutton #1079
This commit is contained in:
parent
530d717a67
commit
0378e1109b
|
@ -83,6 +83,7 @@ bool AnimationTreePlayer::_set(const StringName& p_name, const Variant& p_value)
|
|||
|
||||
ERR_FAIL_COND_V(nt==NODE_MAX,false);
|
||||
|
||||
if (nt!=NODE_OUTPUT)
|
||||
add_node(nt,id);
|
||||
node_set_pos(id,pos);
|
||||
|
||||
|
|
|
@ -210,6 +210,7 @@ void ItemListEditor::_bind_methods() {
|
|||
}
|
||||
|
||||
bool ItemListEditor::handles(Object *p_object) const {
|
||||
return false;
|
||||
for(int i=0;i<item_plugins.size();i++) {
|
||||
if (item_plugins[i]->handles(p_object)) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue