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
When clicking/click-dragging points on Occluder node polygons, the points disappear after each click release, a different node must be clicked first and the Occluder node reclicked before they will return.
Steps to reproduce
Add an occluder node
Add an occluder polygon
Click a parent node
Click the occluder node
Click and drag the polygon points to resize
Repeat above steps each time after releasing the click
Minimal reproduction project
N/A only an Occluder node is needed.
2023-07-26.23-20-15.mp4
The text was updated successfully, but these errors were encountered:
Confirmed. This seems to be a regression, I haven't changed anything in the Occluders since implementing them so this seems caused by a general editor change. I'll see if I can bisect.
"// This ensures that gizmos are cleared when selecting a non-Spatial node." - Could the problem be that this does not account for editing resources? (The OccluderPolyShape is a resource).
Yeah changing to:
bool SpatialEditorPlugin::handles(Object *p_object) const {
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.
const_cast<SpatialEditorPlugin *>(this)->edit((Object *)nullptr);
return false;
}
}
fixes it. I'll leave @timothyqiu to make PR though, or I can next week.
Godot version
3.5.2 RC2
System information
Windows 10
Issue description
When clicking/click-dragging points on Occluder node polygons, the points disappear after each click release, a different node must be clicked first and the Occluder node reclicked before they will return.
Steps to reproduce
Minimal reproduction project
N/A only an Occluder node is needed.
2023-07-26.23-20-15.mp4
The text was updated successfully, but these errors were encountered: