mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix #2579. Bug where measurements were considered to be greasepencil strokes when drawing walls.
This commit is contained in:
@@ -500,6 +500,7 @@ class DumbWallGenerator:
|
||||
return (
|
||||
bpy.context.scene.grease_pencil
|
||||
and len(bpy.context.scene.grease_pencil.layers) == 1
|
||||
and bpy.context.scene.grease_pencil.layers[0].info == "Note"
|
||||
and bpy.context.scene.grease_pencil.layers[0].active_frame.strokes
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user