> That's right, perform_action cannot be called while perform_action is
> running. I don't find easily a case where it is useful. Can you show us
> when you needed to call perform_action inside the perform_action function?
> I just can think on fractals or recursive drawing for that kind of cases.
> I
> think that recursive actions can be done using the Super action including
> the action itself inside the Super action (obviously with a condition to
> get out of the recursive)

Yes, Super action is good. Me was need function which sets default
parameters for new layer - colors, width and others which user selects in
toolbox. CanvasInterface::add_layer_to() does all that i need, but cannot
be used inside actions, because it use LayerAdd action. So i've created
function apply_layer_param_defaults() to avoid recursive action
performing.


------------------------------------------------------------------------------
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