diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-06-14 19:47:49 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-06-14 19:47:49 +0300 |
commit | dccf8a462ccf10141149dc35416fc27c93abac3a (patch) | |
tree | 725d6102c94c295c4b90a93165fe674cc0386355 | |
parent | a30fce5376c5a70cb64cff58298b8a392512ef2d (diff) |
Fix T65795: MeasureIt addon: measure disappear when I exclude collection
-rw-r--r-- | measureit/measureit_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/measureit/measureit_main.py b/measureit/measureit_main.py index 0a4e8e66..2865ab9f 100644 --- a/measureit/measureit_main.py +++ b/measureit/measureit_main.py @@ -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) |