Commit 5ea105ab authored by Yorik van Havre's avatar Yorik van Havre
Browse files

Draft: bugfix in dimensions

parent 5fa6db22
......@@ -1992,6 +1992,8 @@ class _ViewProviderDimension(_ViewProviderDraft):
def updateData(self, obj, prop):
if not prop in ["Start","End","Dimline"]:
from pivy import coin
dm = obj.ViewObject.DisplayMode
......@@ -2017,6 +2019,7 @@ class _ViewProviderDimension(_ViewProviderDraft):
if v1 != obj.Start: obj.Start = v1
if v2 != obj.End: obj.End = v2
p1,p2,p3,p4,tbase,norm,rot = self.calcGeom(obj)
# print p1,p2,p3,p4,tbase,norm,rot
if 'Override' in obj.ViewObject.PropertiesList:
text = str(obj.ViewObject.Override)
dtext = getParam("dimPrecision")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment