You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device - Godot version:
Godot 2.1 stable 64 bit, Windows 7
Issue description (what happened, and what was expected):
Editor hangs when you pass node to add_node (from EditorSelection) which isn't in the scene tree. It is a wrong way of using add_node but it shouldn't hang. There should be a check if selected node is inside the tree.
Steps to reproduce:
Create an editor plugin
Make a new node in script: var newMeshInstance = MeshInstance.new()
Try to select this node: get_selection().add_node(newMeshInstance)
The text was updated successfully, but these errors were encountered:
Operating system or device - Godot version:
Godot 2.1 stable 64 bit, Windows 7
Issue description (what happened, and what was expected):
Editor hangs when you pass node to add_node (from EditorSelection) which isn't in the scene tree. It is a wrong way of using add_node but it shouldn't hang. There should be a check if selected node is inside the tree.
Steps to reproduce:
var newMeshInstance = MeshInstance.new()
get_selection().add_node(newMeshInstance)
The text was updated successfully, but these errors were encountered: