Is there a way to nest layers?

Started by healthNut, August 12, 2012, 08:23:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

healthNut

For example:
Lets say I have a wheel shape on a wheel layer
The wheel shape is made up of spoke shapes a and b
The spoke shapes are on the wheel layer
Spoke shape a is on spokeA layer
Spoke shape b is on spokeB layer

The reasons for this nested structure are to:
-be able to toggle the whole wheel's visibility
-be able to toggle individual spoke's visibility

My experiment with this failed as spoke's visibility seem to use an OR approach to all it's layers:
Spoke A visibility = (spokeA layer Or wheel layer)

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 121 (show)
Files included: 34 - 1317KB. (show)
Memory used: 1078KB.
Tokens: post-login.
Cache hits: 12: 0.00184s for 26,582 bytes (show)
Cache misses: 1: (show)
Queries used: 17.

[Show Queries]