1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Fix OccluderPolyShape handles disappear after release click

This commit is contained in:
Haoyu Qiu
2023-07-27 16:56:00 +08:00
parent ac5d7dc821
commit dd3bda9156

View File

@@ -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.