Skip to content
Snippets Groups Projects
Commit 2a838e9f authored by Brendon Murphy's avatar Brendon Murphy
Browse files

fix for file new still displaying the measurements

by default the script now has display distance false
this prevent the script failing to deactivate
parent 5db00368
No related branches found
No related tags found
No related merge requests found
...@@ -1455,7 +1455,7 @@ def register(): ...@@ -1455,7 +1455,7 @@ def register():
bpy.types.Scene.measure_panel_draw = bpy.props.BoolProperty( bpy.types.Scene.measure_panel_draw = bpy.props.BoolProperty(
name="Draw distance", name="Draw distance",
description="Draw distances in 3D View", description="Draw distances in 3D View",
default=1) default=0)
bpy.types.Scene.measure_panel_calc_edge_length = bpy.props.BoolProperty( bpy.types.Scene.measure_panel_calc_edge_length = bpy.props.BoolProperty(
description="Calculate total length of (selected) edges", description="Calculate total length of (selected) edges",
...@@ -1479,7 +1479,10 @@ def register(): ...@@ -1479,7 +1479,10 @@ def register():
def unregister(): def unregister():
bpy.utils.unregister_module(__name__) bpy.utils.unregister_module(__name__)
bpy.types.Scene.measure_panel_draw = bpy.props.BoolProperty(
name="Draw distance",
description="Draw distances in 3D View",
default=0)
pass pass
if __name__ == "__main__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment