Revision 28048f7 by Campbell Barton 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 |
Revision e32cfb0 by Campbell Barton 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. |
Revision a6b6689 by Sergey Sharybin 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. |
Revision 6208ce2 by Sergey Sharybin 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. |
Revision ad7fb1c by Campbell Barton November 29, 2017, 07:00 (GMT) |
Cleanup: Python imports Split over lines to diff more easily. |
Revision 3cb19a3 by Campbell Barton November 29, 2017, 07:00 (GMT) |
Merge branch 'master' into blender2.8 |
Revision c17c655 by Campbell Barton November 29, 2017, 05:08 (GMT) |
PyAPI: add function to check any mathutils type Also add CheckExact versions of type checking macros. |
Revision 639d49b by Campbell Barton November 29, 2017, 05:08 (GMT) |
Merge branch 'master' into blender2.8 |
Revision ddc7e72 by Campbell Barton November 29, 2017, 03:23 (GMT) |
Revision 26a64ba by Campbell Barton November 29, 2017, 03:09 (GMT) |
RNA: sync API changes from 2.8 |
Revision 0c8265c by Campbell Barton 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'})`. |
Revision 0b325ba by Campbell Barton November 29, 2017, 02:34 (GMT) |
PyAPI: PyC_Err_PrintWithFunc utility function Move function error printing utility into py_capi_utils. |
Revision f89563a by Campbell Barton November 29, 2017, 02:34 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 2f80fbb by Dalai Felinto 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. |
|