TokisanGames/Terrain3D

Terrain3DObjects emits gizmo errors & buttons don't work

Opened this issue · 1 comments

Description

Selecting a Terrain3DObjects or child node keeps the Terrain3D toolbar open, which is fine.

  • Selecting Terrain3D results in the first error. Then selecting another node, results in the second error.
 editor/plugins/node_3d_editor_gizmos.cpp:761 - Condition "valid" is true.
 editor/plugins/node_3d_editor_gizmos.cpp:782 - Condition "!valid" is true.
  • Clicking a Terrain3D tool should reselect the Terrain3D node so it can be used. (which can be done with plugin.select_terrain() from my PR #340)

cc: @tcoxon

@TokisanGames I can take a look at this.