January 8, 2017, 11:09 (GMT) |
Merge branch 'master' into id_override_static |
January 5, 2017, 19:50 (GMT) |
More WIP work towards supporting override differentila operations. Code compiles, is mostly neither tested nor hooked to anything yet. |
January 4, 2017, 16:36 (GMT) |
Merge branch 'master' into id_override_static |
January 4, 2017, 09:32 (GMT) |
Merge branch 'master' into id_override_static |
January 3, 2017, 20:01 (GMT) |
Add basic code to prevent editing non-overridable properties. |
January 3, 2017, 17:45 (GMT) |
More work and refactor in RNA override part mostly. This commit mainly extend/refactor RNA prop copy and equals functions into more advanced override utils (since equals is a subset of aurooverride operations generation, and copy is a subset of override operations application). And some other work needed on the road... |
January 2, 2017, 21:08 (GMT) |
Add first basic working auto-override. Still called from pre-depsgraph eval step, does an RNA comparison and generate overriding rules for changed props... Note: we most certainly do not want to run this on all depsgraph eval. Own current idea would be to just tag IDs e.g. in depsgraph callback, and run actual auto-generation e.g. in a low-priority job, maybe? not sure... :| Also, fix stupid mistake in RNA applying of override (used when reading file to apply static override), and add object's loc/rot/scale as overridable properties. |
January 2, 2017, 13:45 (GMT) |
ID override static: Various minor fixes and tweaks. |
January 2, 2017, 11:57 (GMT) |
Merge branch 'master' into id_override_static |
December 30, 2016, 17:15 (GMT) |
Add ways to forbid override/auto-override. Add a 'NOOP' override ruul to prevent any kind of override on a given RNA path, and an ID flag 'AUTOOVERRIDE' to allow automatic definition of override rules based on changed data. Again, just defines, do not do anything yet. |
December 30, 2016, 15:54 (GMT) |
Include "static override rules generator" operation into new depsgraph. Note that this is dummy empty placeholder for now! Idea here is that depsgraph is best place to generate our override rules based on data changes. That way all tools in Blender keep working as usual, on local data, and overrides are generated when needed just before IDs get actually evaluated. Depsgraph has key advantage of only running over *changed* data-blocks already. Not sure this is actually valid idea, but for tests will do the work. If we want to keep it, we'll have to find a way to prevent this running too often though, especially not during most animation-triggered evaluations. |
December 30, 2016, 11:27 (GMT) |
Merge branch 'master' into override_static Conflicts: source/blender/blenloader/intern/readfile.c |
Revision 49ab100 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Some changes to RNA property/struct comparison. Could very easily get into infinite loop when comparing Pointer properties... And in any case, comparing ID pointer should be enough, no need to dive into all ID properties! |
Revision 4f67a79 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Moar WIP: add operator to make override of linked object. Mostly nasty testing code, only overriding location of object for now. And of course, we are still missing bits in read/write code to actually do the override. Also, add some minimal exposure of override in RNA, here again, most to be done still. |
Revision 64f78e1 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
More WIP: add basic new BKE and RNA override API, update DNA structs. Still much to do to even get a first dead simple working prototype, not doing anything yet (except compiling and not crashing when ran :P ). |
Revision b76f2c0 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Some cleanup and refactoring. |
Revision b827ca7 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Final bits to get first (very raw, limited and experimental) override working. Mostly code using override data to selectively update a copy of linked one with local data. As said, still totally hackish and experimental, but it works - you can create overrides of linked Objects, and override their position, yeha! :P |
Revision d982122 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Some initial, WIP DNA/RNA/readwrite code for static ID override. Quite obviously totally useless (and harmless) currently, compiles but does nothing. |
Revision de87411 by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
Revert initial hack to get a new overridable RNA prop flag. Now that we have some new free ones... |
Revision f5a9f4a by Bastien Montagne (asset-engine, asset-engine--archived, id_override_static, override_static) December 14, 2016, 15:03 (GMT) |
|