mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
VisualScript: Adding TOOLS_ENABLED flag where needed (#6144)
Fixes #6022.
This commit is contained in:
parent
3db36684b1
commit
91ba00b416
3 changed files with 6 additions and 1 deletions
|
|
@ -281,9 +281,10 @@ void VisualScript::_node_ports_changed(int p_id) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
set_edited(true); //something changed, let's set as edited
|
||||
emit_signal("node_ports_changed",function,p_id);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
void VisualScript::add_node(const StringName& p_func,int p_id, const Ref<VisualScriptNode>& p_node, const Point2 &p_pos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue