Fix T65795: MeasureIt addon: measure disappear when I exclude collection
This commit is contained in:
parent
a30fce5376
commit
dccf8a462c
Notes:
blender-bot
2023-02-14 19:14:24 +01:00
Referenced by issue #65795, MeasureIt addon: measure disappear when I exclude unrelated collection
|
@ -1948,7 +1948,7 @@ def draw_main(context):
|
|||
if scene.measureit_gl_ghost is False:
|
||||
objlist = context.selected_objects
|
||||
else:
|
||||
objlist = context.scene.objects
|
||||
objlist = context.view_layer.objects
|
||||
|
||||
# Enable GL drawing
|
||||
bgl.glEnable(bgl.GL_BLEND)
|
||||
|
|
Loading…
Reference in New Issue