Campbell Barton
a13823057c
Cleanup: format
2023-08-24 11:37:29 +10:00
demeterdzadik@gmail.com
fa09ffc585
Document 110239: How callbacks work on Operator properties
...
After writing add-ons for like the past 8 years, I didn't realize that the first parameter of update callbacks of operator properties, conventionally named `self` is not actually what a Python coder would expect from a variable named `self`. I tried to document that here.
This is in response to [what I thought was a bug](https://projects.blender.org/blender/blender/issues/110239 ).
Pull Request: https://projects.blender.org/blender/blender/pulls/110242
2023-08-23 18:59:58 +02:00
Bastien Montagne
fd57f520ac
Py API doc: Add warning that py-defined property accessor callbacks may be called in threaded context.
...
At least Depsgraph evaluation and liboverride diffing do process IDs in
parallel, so python code in py-defined properties should not access any
data outside of their owner ID.
Ref. T100203.
2022-08-12 16:23:12 +02:00
Campbell Barton
532c8ac583
Cleanup: pep8 function indentation
2018-06-26 19:58:56 +02:00
Campbell Barton
eaae38551f
pep8 compliance
2011-06-21 17:17:51 +00:00
Campbell Barton
97a85fe100
- add example for python rna property update
...
- edit the copyright for blender specific cmake find modules
2011-06-20 02:54:56 +00:00