Has anyone ever required to find out if current render call is during live update or not?
I would have imagined that it should be available at AEGP_GetCompFlags(), but its not!
In such case a smaller size image is usually passed to the render, but for small enough layer/comp sizes (e.g. 700x500) AfterFX thinks you are good off with such a size, and most importantly you cannot tell if Live Update button is pressed!
Here's the answer I got back from the team:
It may be readable via the AEGP Persistent Data Suite, since it's stored in a pref:
"Realtime Update Preference Section"
"Use Modifier Key To Enable"
Here is the scripting version.
app.preferences.getPrefAsBool("Realtime Update Preference Section", "Use Modifier Key To Enable");
app.preferences.savePrefAsBool("Realtime Update Preference Section", "Use Modifier Key To Enable", <new_state_bool>);
that resolve a long standing issue! (it's been asked before)
consider adding some info about that to the c++ API and scripting documentation.
there's no clue there as to what else is in the persistent data and how to access it.
again, thanks for the info!
Europe, Middle East and Africa