If you call renpy.redraw( self, 0 ) in the render() function of a UDD. If that UDD is deep inside a large tree of parent child displayables, does all of the parent/ancestor displayables also redraw? Here is an example:
Code: Select all
#Inside UDD A:
def render( ... ):
...
renpy.redraw( self, 0 )
return some_render
Fixed A has another Fixed B as a child; Fixed B has multiple children including UDD A...
Fixed A's other children:
Displayable C
Fixed B's other children:
Displayable D
1. Is Fixed A, Fixed B, UDD A all re-rendered constantly due to UDD A?
2. Are Displayable C and D also re-rendered? (i.e. their render function is called; instead of using a cached result?)
EDIT: one last question (slightly unrelated)
3. Are all displayables shown in all layers redrawn once per interaction? Sorry if I've forgotten some details.
Thanks,
Ches