de7c9f41e6
Cleanup: Editors/Object, Clang-Tidy else-after-return fixes
...
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/editors/object` module.
No functional changes.
2020-07-03 16:15:01 +02:00
16943c0146
Object: add scale argument to creation operators
...
Needed for to create objects of a specific size.
2020-05-28 14:34:00 +10:00
5b79e0b80e
Fix volume object not rendering correct frame right after loading
2020-04-12 15:44:28 +02:00
f16fcb5bd5
Fix volume object not loading frame sequences correct in some cases
...
Ensure we use the first frame as filepath so we can compute the number of
leading zeros. For file validation, always test the first frame rather than
the current scene frame.
2020-04-12 14:48:23 +02:00
d138cbfb47
Code Quality: Replace for loops with LISTBASE_FOREACH
...
Note this only changes cases where the variable was declared inside
the for loop. To handle it outside as well is a different challenge.
Differential Revision: https://developer.blender.org/D7320
2020-04-03 19:27:46 +02:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
b0a1cf2c9a
Objects: add Volume object type, and prototypes for Hair and PointCloud
...
Only the volume object is exposed in the user interface. It is based on OpenVDB
internally. Drawing and rendering code will follow in another commit.
https://wiki.blender.org/wiki/Source/Objects/Volume
https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Volumes
Hair and PointCloud object types are hidden behind a WITH_NEW_OBJECT_TYPES
build option. These are unfinished, and included only to make it easier to
cooperate on development in the future and avoid tricky merges.
https://wiki.blender.org/wiki/Source/Objects/New_Object_Types
Ref T73201, T68981
Differential Revision: https://developer.blender.org/D6945
2020-03-18 11:23:05 +01:00