Blender Git Commits

Blender Git "master" branch commits.

Page: 1941 / 5574

November 29, 2017, 10:23 (GMT)
Merge branch 'master' into blender2.8
Revision 69d33ec by Sergey Sharybin
November 29, 2017, 10:07 (GMT)
Eevee: Stop depsgraph update callback form allocating unneeded memory
November 29, 2017, 10:02 (GMT)
Cleanup: rename bpy_util -> bpy_capi_utils

This is for internal CAPI use only, avoid confusion w/ bpy.utils module.
Revision dc4c9de by Sergey Sharybin
November 29, 2017, 10:01 (GMT)
Draw manager: Cleanup, naming

Similar to previous commit in Eevee.
Revision 6b9999e by Sergey Sharybin
November 29, 2017, 10:01 (GMT)
Eevee: Cleanup, naming

For functions which will allocate requested data if it does not exist yet
"_ensure" is to be used instead of "_get". "_get" functions should return
NULL in cases when requested data does not exist yet.
Revision 73aac1b by Sergey Sharybin
November 29, 2017, 10:01 (GMT)
Draw manager: Cleanup, indentation in preprocessor
Revision 3478d66 by Sergey Sharybin
November 29, 2017, 10:01 (GMT)
Depsgraph: Remove object-specific flag which was storing update tag

There were following issues:

- This was used in a similar way of DEG's ID update callback. No reason to have
yet-another-way of informing editors/engines about changes. Better to keep
regular update mechanism usable and fast for those needs.
- It wasn't granular at all, and granularity in flags is something what we
need to support anyway, even for existing ID update.
- There is no reason to have it per-object. Depsgraph operates on IDs.
- It wasn't clear when and who clears the flag, and was possible to run into
conflicts.
November 29, 2017, 10:01 (GMT)
Draw manager: Listen to depsgraph's ID update callbacks

This replaces dedicated flag which wasn't clean who sets it and who clears it,
and which was also trying to re-implement existing functionality in a way.

Flushing is not currently very efficient but there are ways to speed this up
a lot, but needs more investigation.
November 29, 2017, 10:01 (GMT)
Eevee: Set engine data needs update to false when everything is up to date

Currently this shouldn't cause any differences, but is required for the upcoming
changes in informing draw engines about changes.
November 29, 2017, 07:00 (GMT)
Cleanup: Python imports

Split over lines to diff more easily.
November 29, 2017, 07:00 (GMT)
Merge branch 'master' into blender2.8
November 29, 2017, 05:08 (GMT)
PyAPI: add function to check any mathutils type

Also add CheckExact versions of type checking macros.
November 29, 2017, 05:08 (GMT)
Merge branch 'master' into blender2.8
November 29, 2017, 03:23 (GMT)
RNA: remove paranoid NULL check

Was added as part of D2666.
November 29, 2017, 03:09 (GMT)
RNA: sync API changes from 2.8
November 29, 2017, 03:09 (GMT)
Merge branch 'master' into blender2.8
November 29, 2017, 02:48 (GMT)
RNA: Allow structs to define tags for their properties

Adds support for defining a number of tags as part of the rna-struct
definition, which its properties can set similar to property-flags.
BPY supports setting these tags when defining custom properties too.

* To define tags for a struct (which its properties can use then), define the tags in an `EnumPropertyItem` array, and assign them to the struct using `RNA_def_struct_property_tags(...)`.
* To set tags for an RNA-property in C, use the new `RNA_def_property_tags(...)`.
* To set tags for an RNA-property in Python, use the newly added tags parameter. E.g. `bpy.props.FloatProperty(name="Some Float", tags={'SOME_TAG', 'ANOTHER_TAG'})`.
November 29, 2017, 02:34 (GMT)
PyAPI: PyC_Err_PrintWithFunc utility function

Move function error printing utility into py_capi_utils.
November 29, 2017, 02:34 (GMT)
Merge branch 'master' into blender2.8
November 28, 2017, 19:47 (GMT)
Depsgraph: Fix Camera object showing when not in view layer

If the Scene->camera was not in the active view layer we would still see it in the viewport.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021