MHX-rts visibility issue in colleciton (exclude collection on off cause issue)
When add on exclude collection and return cause all item hide_viewport (bool) turn as default.
So when script use the function which “exclude collection” temporally and return it,
the item hide_viewport setting turn as default. that means,
1 user set itemA, itemB hide, (hide_viewport = True)
2 MHX rts script function exclude the collection (which itemA, itemB locate) for set up, (exclude = True) then return collection (exclude = False) >>> all item in collection hide_viewport setting not return as same as before.. but change as default = (False)
Comments (4)
-
-
repo owner Should work now, I think.
-
reporter I could not manage it could you? (I supposed I can not controll local visiblity from bpy) anyway thank you, test soon.
Ah thanks I could use hide_set() . Yes I confirmed it seems work.
-
reporter - changed status to resolved
- Log in to comment
This may also be related to
#493where the objects in the default collection are unhidden by the snap tool. I can confirm this still happens with commit 4a24e4e.