This commit is contained in:
Andrej730
2025-06-25 19:01:13 +05:00
parent 5e89748ba6
commit 03fcd59c5a
+1 -3
View File
@@ -358,9 +358,7 @@ class Snap(bonsai.core.tool.Snap):
# Wireframes
# For wireframe we have to get all the objects so we can further calculate edge intersection
for snap_obj in objs_to_raycast:
if snap_obj.type in {"EMPTY", "CURVE"} or (
snap_obj.type == "MESH" and len(snap_obj.data.polygons) == 0
):
if snap_obj.type in {"EMPTY", "CURVE"} or (snap_obj.type == "MESH" and len(snap_obj.data.polygons) == 0):
snap_points = tool.Raycast.ray_cast_by_proximity(context, event, snap_obj)
if snap_points:
for point in snap_points: