[Bf-python] DAG/display lists

Willian Padovani Germano wgermano at superig.com.br
Sat Oct 8 21:30:59 CEST 2005


Ken Hughes wrote:
> So what's the recommended API way to handle DAG updates from a script?
> Should each type that changes data have an update method?

If we can make that transparent to users (script writers), w/o incurring 
in relevant speed issues, that'd be ideal.

In other words, no trace of DAG in the API, instead we add a call to DAG 
update to any function call or attribute change in BPython that requires 
it, like Daniel, Stephen, Toni and you have already started doing 
(correct me if I'm wrong).

Since calling DAG updates only marks objects as needing an update (that 
happens before they are drawn), that seems fine.

Of course the other guys who checked DAG issues better than me may have 
something to add or disagree. We're "listening" :)...

-- 
Willian



More information about the Bf-python mailing list