Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Leger <stephen@3dservices.ch>2017-08-12 23:29:07 +0300
committerNBurn <nbwashburn@gmail.com>2017-08-12 23:29:07 +0300
commit6e469175870222d724be17c9f14590a07e1e7e45 (patch)
treefb462601c90248b1af9735be3615652441565139
parent6451d10ff48f0bf4d95b504da295f760f64df14e (diff)
MeasureIt: Fix wrong location for parented objects
Prevents objects indexes from being drawn in wrong location when objects are parented to other objects
-rw-r--r--measureit/measureit_geometry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/measureit/measureit_geometry.py b/measureit/measureit_geometry.py
index 8a23d817..8b0b8371 100644
--- a/measureit/measureit_geometry.py
+++ b/measureit/measureit_geometry.py
@@ -1009,7 +1009,7 @@ def draw_object(context, myobj, region, rv3d):
if scene.measureit_debug_select is True:
if objs[o].select is False:
continue
- a_p1 = objs[o].location
+ a_p1 = Vector(get_location(objs[o]))
# colour
bgl.glColor4f(rgb[0], rgb[1], rgb[2], rgb[3])
# Text