Fix T65795: MeasureIt addon: measure disappear when I exclude collection

This commit is contained in:
Dalai Felinto 2019-06-14 13:47:49 -03:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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)