Advertisement
Guest User

Untitled

a guest
Dec 31st, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. "defaults": {
  2. "custom": {
  3. "groupConfigs": {
  4. "0": {
  5. "groups": [ "Ring_Outer", "Gem", "Ring_inner" ],
  6. "operation": "set_false", // defaults to set_true. Possible values are "set_false", "set_true", "toggle", "none"
  7. "other": "set_true" // applies to all groups not captured by "groups". defaults to "none".
  8. }
  9. }
  10. }
  11. }
  12.  
  13. Code (kinda abstract)
  14. createVisibilities() for all groups
  15. for group in groups
  16. apply "operation"
  17. take the set difference <all groups> - <groups>
  18. apply operation "other"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement