Age | Commit message (Collapse) | Author |
|
It can be assumed that all scripts comply with basic pep8 formatting
regarding white-space, indentation etc.
Also remove note in best practices page & update `tests/python/pep8.py`.
If we want to exclude some scripts from make format,
this can be done by adding them to `ignore_files` in:
source/tools/utils_maintenance/autopep8_format_paths.py
Or using `# nopep8` for to ignore for individual lines.
Ref T98554
|
|
This was already mentioned in the release notes but not the API docs.
Ref T80730
|
|
|
|
* Its -> It's
* Scripts -> Script's
* then -> than
Several phrasing grammar fixes.
Reviewed By: Blendify
Differential Revision: https://developer.blender.org/D14021
|
|
|
|
|
|
glColor isn't supported but still part of the documentation. This
patch removes the glColor from the documentation.
Ref {T93315}
|
|
Followup to https://developer.blender.org/D10288
Reviewed By: Blendify
Differential Revision: https://developer.blender.org/D10346
|
|
Part of D9738
|
|
|
|
Fixes T84498
|
|
|
|
Fixes T84432
|
|
Fixes T84430
|
|
Some of the text here was outdated with 2.8x.
See T84427
|
|
|
|
|
|
Remove submodule listings from the module docstring,
as this information already exists in the generator.
|
|
This fixes the link and makes it more clear which class the note is
talking about
|
|
|
|
Especially with new undo/redo it is even less recommended to perform
complex operations in those callbacks, they should remain as fast and
localized as possible.
Also updated the section about undo/redo a bit.
|
|
|
|
bl_rna_get_subclass only works for Nodes at the moment.
|
|
- Revert string formatting change
- Add missing text edit
|
|
- Update terminology, spelling, formatting.
- Rename screen to workspace.
- Update for 2.8 UI changes.
|
|
|
|
|
|
|
|
Differential Revision: https://developer.blender.org/D6681
|
|
Code example made it seem setting the active object was more complex
than a single assignment.
|
|
|
|
|
|
We still had a few deprecated assignements of `bpy.props.xxx` to class
members in our API documentation and one of our py tests. Annotations
are to be used now.
Also remove the section about `register_module` utils, this has been
removed in 2.8.
Fix T71877: Python API overview sample code warning: class MyMaterialProps contains a property which should be an annotation!
Fix T71876: Python API overview references old bpy.utils.register_module function
|
|
|
|
Here we can link to the manual and keep the hotkey updated in the manual
rather than the API docs.
Fixes T68371
|
|
Differential Revision: https://developer.blender.org/D3744
|
|
|
|
|
|
removed glVertex from the Python bgl api documentation as they are
deprecated.
|
|
This should really have been done together with API changes, simple
usage of grep does the trick to catch most places needing updates.
|
|
Resolves T64146
|
|
In a separate step, all new functions should be added.
However, the best way to do this, is not clear yet.
A list of functions, that have to be added is available
in D4280.
Differential Revision: https://developer.blender.org/D4280
|
|
cases.
As exposed in T62406, we can have some rare cases of crashes due to
memory re-allocation happening outside of expected scenarii.
Ideally this should be re-designed, but at least keep track of those
known exceptions to general rules...
|
|
* Added a TL;DR first paragraph summarizing that one shall not keep any
reference to Blender data when modifying its container.
* Added some info about fact that adding items to some data containers
(like Collection) can also invalidate existing items (due to array
re-allocation).
* Added a Do/Don't example which shows a crash after adding some items
to a collection.
Related to T61297.
|
|
|
|
|
|
|
|
|
|
|
|
Loop triangles are tessellated triangles create from polygons, for renderers
or exporters that need to match Blender's polygon tesselation exactly. These
are a read-only runtime cache.
Tessfaces are a legacy data structure from before Blender supported n-gons,
and were already mostly removed from the C code.
Details on porting code to loop triangles is in the release notes.
Differential Revision: https://developer.blender.org/D3539
|