Fix OccluderPolyShape handles disappear after release click
This commit is contained in:
parent
ac5d7dc821
commit
dd3bda9156
1 changed files with 1 additions and 1 deletions
|
@ -7270,7 +7270,7 @@ void SpatialEditorPlugin::edit(Object *p_object) {
|
|||
}
|
||||
|
||||
bool SpatialEditorPlugin::handles(Object *p_object) const {
|
||||
if (p_object->is_class("Spatial")) {
|
||||
if (p_object->is_class("Spatial") || p_object->is_class("Resource")) {
|
||||
return true;
|
||||
} else {
|
||||
// This ensures that gizmos are cleared when selecting a non-Spatial node.
|
||||
|
|
Loading…
Reference in a new issue