Implemented the possibility of exclusion layers from rendering. Excluded
layer will still visible in the editor.

Branch
https://github.com/blackwarthog/synfig/tree/exclude-layer-from-rendering

Context class was changed. Now, it requires certain parameters of
rendering - ContextParams.

Class ContextParams for now contains only one field -
render_excluded_context. Which shows that this context intended for the
editor (show excluded layers) or for final rendering (hide excluded
layers).

ContextParams not needed for some operations with the context - set_time
() and set_dirty_outlines (). These functions placed into separate class -
IndependentContext. This class is the parent of the Context class.

Context and IndependentContext for canvas can be obtained by the methods
get_context () and get_independent_context ()

Function Canvas :: find_layer () now requires a context parameters.

The class hierarchy:

CanvasBase::const_iterator
     |
IndependentContext
     |
Context


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to