Note: At this point did some stress-test of performances on RNA operations.
Finding so far is that pure bpy/RNA access gets up to twice slower compared to current main (that is, 10M accesses to…
DRW_state*
functions
DRW_state*
functions
Thanks, LGTM now. Also checked locally with debug-ASAN build, all tests (besides excluded Cycles ones) seem OK.
@Sergey Fair enough... We could make it read-only based on a callback though (RNA_def_property_editable_func
)? This can even return an 'info' string which I believe is displayed by the UI in the…
@sebastian_k if your object is 'just' a regular one without any parenting or constraints, you can use matrix_basis
. Otherwise, you'll have to either recompute parent and/or constraints…
I think I'd rather make this property read-only, and add a new API method to set that value, with options to force setting the value, or fail, in case the image has been edited?
This would…