Hi!
As you probably know, I've been working on a new feature that would allow
to make certain layers inside a Group layer visible each time.
The Group layer has four new parameters:
Z_Depth_range_enabled (bool)
Z_Depth_range_position (float)
Z_Depth_range_depth (float)
Z_Depth_range_transition (float)
Please feel free to suggest new names and or descriptions. I am open to
anything in this matter.
The 'enabled' parameter just enables or disable the feature. It is non
animatable by default.
The 'position' and the 'position'+'depth' parameters mark the start and end
(inclusive) range of z depth value of the layers where they are full
visible.
The 'transition' parameter is a value that expands the previous range.
Layers with a z depth in the transition area are partially visible.
User can change manually those values on the Group layer and the layers are
rendered accordingly.
Also, user can right click a layer selection (all them from the same Group
layer but maybe they are not continuos) and the layer become full visible.
That action doesn't modify the transition parameter.
Children layers that are visible (when enabled parameter is 'on') are
displayed in the layer stack with bold letter.
Known issues:
Software render method complains continuously about paste canvas bounding
box:
warning: layer_pastecanvas.cpp:509 bounding box shrank while rendering?
I've not found a way to update the bold letters immediately that the user
changed one parameter manually. It works for the contextual action over the
layers
The instant update of the bold letter seems to not work on Windows.
Well, I think the feature is fully usable regardless those known issues, so
I propose to merge into stable.
I would like to know if it will be merged into 0.64.1 or into master
(0.64.2) before send the pull request.
Cheers!
--
Carlos
http://synfig.org
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl