From 2a838e9f802ebb92fabb5967de3eaedb8fb5cbc8 Mon Sep 17 00:00:00 2001 From: Brendon Murphy <meta.androcto1@gmail.com> Date: Wed, 21 Mar 2012 10:51:40 +0000 Subject: [PATCH] fix for file new still displaying the measurements by default the script now has display distance false this prevent the script failing to deactivate --- space_view3d_panel_measure.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index 1d8b07fed..4c82b4449 100644 --- a/space_view3d_panel_measure.py +++ b/space_view3d_panel_measure.py @@ -1455,7 +1455,7 @@ def register(): bpy.types.Scene.measure_panel_draw = bpy.props.BoolProperty( name="Draw distance", description="Draw distances in 3D View", - default=1) + default=0) bpy.types.Scene.measure_panel_calc_edge_length = bpy.props.BoolProperty( description="Calculate total length of (selected) edges", @@ -1479,7 +1479,10 @@ def register(): def unregister(): 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 if __name__ == "__main__": -- GitLab