mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-07 21:06:25 +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 (
|
return (
|
||||||
bpy.context.scene.grease_pencil
|
bpy.context.scene.grease_pencil
|
||||||
and len(bpy.context.scene.grease_pencil.layers) == 1
|
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
|
and bpy.context.scene.grease_pencil.layers[0].active_frame.strokes
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user