Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
This does not include objects from nested collections.
Missing bits: objects.link, objects.unlink
|
|
to work
(also some base util functions, and a refactor to unify the functions
for nested and non nested collections)
|
|
|
|
|
|
|
|
|
|
|
|
new/remove/active
|
|
|
|
Brings back some code that was removed in 17beb573563c8a4 to avoid naming conflicts. Now did some renaming to avoid these.
|
|
|
|
|
|
Decided to just pass float [4] args, so no type conversion is needed at all.
|
|
|
|
Using DNA_DEPRECATED resulted in thousands of warnings, so rather not use this. These warnings can still be handy though to check for usage of deprecated struct members as we go, so this quick way to toggle them could be handy. Note that this should eventually be replaced by DNA_DEPRECATED once stuff is actually deprecated.
|
|
Next will be the collections, and then the other missing props of rna_def_scene_layer
Note: it would be nice to have a way to tag rna properties asa
deprecated. For example, scene.engine can still be valid (and mapped to
scene.layers.active.engine), but it would be nice to indicate the addon
writers of the new API.
|
|
|
|
This is mostly DNA + doversion and some util functions.
I need to look at the layer-manager branch to see how
Julian Eisel (Severin) managed to handle nested lists
(required for collections).
Also, since I think doversioning may get more complex as the project
evolves, I started the vesioning_280.c file.
And the changes in readfile.c were so that I could include into the
versioning_280.c file only the DNA_* that were really needed.
(if someone feels like doing a cleanup, I'm sure the other
versioning_*.c files could use the same treatment)
|
|
Conflicts:
source/blender/blenloader/intern/versioning_270.c
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/editors/space_view3d/drawobject.c
|
|
|
|
We need to check node tree links are still valid, after we remapped
some NodeGroup.
Note: In fact, we have to run that for *all* ID types, since nodes may
use any kind of data-block (in theory)... :/
|
|
Another nice crasher - in this case, we just want to nuke all sockets...
Related to T49991.
|
|
lists.
Nice crasher (though seems to not be much used so far)!
Related to T49991.
|
|
Forward compatibility code should never, ever be run during undo saving.
Note: related to T49991 (but does not fix it either, crash now happens
when doing a real file save...).
|
|
Yep. Kinda ridiculous, but forgot to handle the very node trees
data-blocks in that editor!
Related (but not fixing) to T49991.
|
|
|
|
Adding a torus in edit-mode, with 'Generate UVs'
for example would either create another UV layer with the default name or
switch to the default UV layer name if it exists.
Now use the existing UV layer if present.
|
|
|
|
Returned value was always false, even for valid meshes,
note that this is a debug-only function.
Also set internal-tag cleared.
|
|
Print in cosole a warning when we skip autosave due to runnning modal op.
Related to T49974.
|
|
Patch by Sergey Sharybin.
|
|
|
|
|
|
Patch by @LucaRood, added some cleanup of DRAW/FILL conditions in this
code too...
|
|
'1' threshold value would only allow to access a third of the basic
'color space' (from black to white, from 0.0 to 1.0 component values),
when you expect it to access the whole range.
Unfortunately, this needs a subversion bump to allow already defined
brushes to keep exact same behavior!
Also, did not change default value (0.2) for new brushes, think here
keeping current one makes more sense.
Thanks to @LucaRood for confirming the issue.
|
|
submodules in reload scenario.
reload case would clear TypeMap before unregistering addons, which made
all calls to unregister_module() to do absolutely nothing.
|
|
Disables trimming of trailing zeros in case button contains an expression.
|
|
Empty images were implemented to expand (and eventually replace)
the background images functionalities. If we are ever to drop
background images "image empties" should support stereo/multi-view as well.
|
|
Reported by coverity.
|
|
coverity).
|
|
I was too eager to get patch in after a last-minute change. My bad!
|
|
Part of T49043
Reviewers: krash, merwin
Reviewed By: krash, merwin
Differential Revision: https://developer.blender.org/D2360
|
|
Updated the GL calls to the new immediate mode.
I left some glcolor calls which I'm not sure wether thats right?
Part of T49043
warm regards,
Sebastian Witt
Reviewers: merwin
Reviewed By: merwin
Tags: #bf_blender_2.8
Maniphest Tasks: T49043
Differential Revision: https://developer.blender.org/D2305
|
|
|
|
Only one place used it, and that place was dead code already.
|