Skip to content

Fix stale object reference crash in measure tool snapping#8206

Open
theoryshaw wants to merge 1 commit into
v0.8.0from
fix-snap-stale-object-reference
Open

Fix stale object reference crash in measure tool snapping#8206
theoryshaw wants to merge 1 commit into
v0.8.0from
fix-snap-stale-object-reference

Conversation

@theoryshaw

Copy link
Copy Markdown
Member

Drop deleted Blender objects from the snap cache before comparing names. Accessing an attribute on a removed object raised ReferenceError ("StructRNA of type Object has been removed"), crashing detect_snapping_points after an object was deleted.

Drop deleted Blender objects from the snap cache before comparing
names. Accessing an attribute on a removed object raised
ReferenceError ("StructRNA of type Object has been removed"),
crashing detect_snapping_points after an object was deleted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant