Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-31Cleanup: remove G.main from BKE mball code.Bastien Montagne
2018-05-04Depsgraph: Fix extra operations and relations created for shared armaturesSergey Sharybin
2018-04-23Depsgraph: Add relation flag to avoid flush across itSergey Sharybin
This way we can avoid re-evaluation of certain parts of datablock when something unrelated has changed.
2018-04-23Depsgraph: Fix missing update with animated curve pathSergey Sharybin
2018-04-23Depsgraph: Cleanup, remove unused relation tagSergey Sharybin
2018-04-23Depsgraph: Add missing relations builderSergey Sharybin
Was possible to miss some relations from being built when parent object is linked to the scene graph indirectly.
2018-04-18Remove irrelevant print statementSybren A. Stüvel
This statement is only relevant in 2.8, but causes confusion in master. I kept the 'default' label to prevent compiler warnings about unhandled cases. The break is needed because there should be at least one statement after 'default'.
2018-04-16Depsgraph: Pull indirect relations via driver targetsSergey Sharybin
2018-04-10Depsgraph: Build relations for objects linked via pchan constraintsSergey Sharybin
This is similar to previous fix for missing ID nodes, just the original fix missed this part of change because it looked like it is already happening.
2018-04-10Depsgraph: Flush debug printsSergey Sharybin
Makes it more reliable to see what was updating last when crash happens.
2018-04-05Depsgraph: Pull indirect dependencies via pchan constraintsSergey Sharybin
Was missing ID looper for pchan constraint.
2018-04-04Depsgraph: Make sure textures used by modifiers are in the graphSergey Sharybin
2018-04-04Depsgraph: Ensure root pchan is always foundSergey Sharybin
2018-04-04Depsgraph: Add missing expansion od custom bone shapesSergey Sharybin
This was fixed in 2.8 branch but not in master.
2018-04-04Depsgraph: Only bind ID-data and indices to depsgraph callbacksSergey Sharybin
This is a part of copy-on-write sanitization, to avoid all the checks which were attempting to keep sub-data pointers intact. Point is: ID pointers never change for CoW datablocks, but nested data pointers might change when updating existing copy. Solution: Only bind ID data pointers and index of sub-data. This will make CoW datablock 7update function was easier in 2.8. In master we were only using pose channel pointers in callbacks, this is exactly what this commit addresses. A linear lookup array is created on pose evaluation init and is thrown away afterwards. One thing we might consider doing is to keep indexed array of poses, similar to chanhash. Reviewers: campbellbarton Reviewed By: campbellbarton Subscribers: dfelinto Differential Revision: https://developer.blender.org/D3124
2018-04-01Correct accidental changes by C Logging additionCampbell Barton
Error in 891c1cfc9a3
2018-03-30C Logging: use instead of printf for messagesCampbell Barton
- See `--log` help message for usage. - Supports enabling categories. - Color severity. - Optionally logs to a file. - Currently use to replace printf calls in wm module. See D3120 for details.
2018-03-29Depsgraph: initialize EvaluationContext even if nothing to updateDalai Felinto
This is required to T54437 (sequencer preview uses last updated scene). Although the fix itself needs to be in 2.8, for the 2.8 specific initialization code.
2018-03-23msvc: Fix msvc2013 new despgraph related build errors.Ray Molenkamp
msvc's function.hpp does not like NULL for function pointers. disabled support for this platform.
2018-03-22Depsgraph: Report new depsgraph evaluation timeSergey Sharybin
Timing is printed to the console when running with --debug-depsgraph-time.
2018-03-21Fix T54378: Drivers fail with property from emptySergey Sharybin
Empties were missing Parameters component.
2018-03-20MSVC: Fix lite build.Ray Molenkamp
MSVC still defines __cplusplus as 199711L until it's in full conformance with the newer c++ standards, however the things we need from the standard are fully supported, hence a check for the msvc version was needed.
2018-03-16Depsgraph: Support colored addresses in debug printsSergey Sharybin
Enabled with --debug-depsgraph-pretty, only works with ANSI terminals. Thanks Bastien for review!
2018-03-16Depsgraph: Move evaluation debug prints to depsgraphSergey Sharybin
This way we can easily control format and keep it consistent. And also possibly do other trickery, like coloring addresses!
2018-03-12Depsgraph: Make timing profile a command line optionSergey Sharybin
This way we can add even more statistics, even one which will be print to the console. Would be nice if we also have verbosity level control.
2018-03-02Depsgraph: Fix dependency cycle when ID prop drives ID propertySergey Sharybin
Introduced explicit ID property node for driers in depsgraph, so it is clear what is the input for driver, and what is the output. This also solved relations builder throwing lots of errors due to ID property not being found.
2018-03-02Depsgraph: Silence obviously noisy relations build errorsSergey Sharybin
Those were happening for drivers which points to invalid drivers, and those drivers will have their own dedicated error prints.
2018-03-02Depsgraph: Cleanup, use dedicated function to ensure node existsSergey Sharybin
2018-03-02Depsgraph: Cleanup, function return valueSergey Sharybin
Driver build result was never used, so no reason to return operation.
2018-03-02Depsgraph: Fix cycle detector to handle closed loopsSergey Sharybin
It was possible to have relations like A -> B -> C -> A (import thing is that no other operations points into this cluster) which were not detected or reported by dependency cycle solver. Now this is solved by ensuring we don't leave unvisited nodes behind.
2018-03-02Cleanup: Avoid double semi-colonSergey Sharybin
2018-02-28Code cleanup: fix a few compiler warnings.Brecht Van Lommel
2018-02-23Cleanup: header guards & styleCampbell Barton
2018-02-22Depsgraph: Fix mistake in previous refactor commitSergey Sharybin
2018-02-22Depsgraph: Remove unused bmain from modifiers relations update contextSergey Sharybin
2018-02-22Depsgraph: Wrap all arguments foe modifiers relations update into a structSergey Sharybin
Makes it easier to add or remove fields needed to update relations.
2018-02-22Depsgraph: Replace LIB_TAG_DOIT with hash lookupSergey Sharybin
This allows us to: - Not mock around with tags stored in a global space, and not to iterate over all datablocks in the database to clear the tags. - Properly deal with datablocks which might not be in main database. While it sounds crazy, it might be handy when dealing with preview, or some partial scene updates, such as motion paths. - Avoids majority of places where depsgraph construction needed bmain. This is something what could help in blender2.8 branch. From tests with production file here did not see any measurable slowdown. Hopefully, there is no functional changes :)
2018-02-22Depsgraph: Add utility class to keep track of handled ID datablocksSergey Sharybin
Currently unused, actual logic change will come in the next commit.
2018-02-22Depsgraph: Use proper debug print flags checkSergey Sharybin
Was printing some tagging/evaluation prints when only building messages were requested.
2018-02-22Depsgraph: Report graph construction time when run with --debug-depsgraph-buildSergey Sharybin
2018-02-22Depsgraph: Cleanup, reduce indentation levelSergey Sharybin
2018-02-21Depsgraph: Fix fake dependency cycle with chained IK solvers with tip excludedSergey Sharybin
Not sure why we need a relation from solver to a tip local transform, this will be handled via parent relation. Fixes remaining dependency cycles reported in T54083.
2018-02-21Depsgraph: Fix dependency when constraint influence drives some other constraintSergey Sharybin
It is not possible to address transform at particular position of constraint stack, and when constraint is being addressed is usually from driver variable. This fixes some of dependency cycles reported in T54083.
2018-02-21Depsgraph: Split debug flagsSergey Sharybin
Now it's possible to have debug messages for following things: - Graph construction - Graph evaluation - Graph tagging
2018-02-21Depsgraph: Report overall number of cycles detectedSergey Sharybin
Handy to quickly see if a fix fixed any of the cycles in a real rig, or whether it's introduced new ones.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: Remove BLI_ prefix from listbase macroSergey Sharybin
This is kind of doesn't matter where macro itself is defined. We should stick to the following: - If some macro is actually more an inline function, follow regular function name conventions. - If macro is a macro, type it in capitals. Use module prefix if that helps readability or it if helps avoiding accidents.
2018-02-08Depsgraph: Fix missing camera animation after visibility changesSergey Sharybin
Synchronize code in on_visible_update with depsgraph building. Need to update all cameras, since they might be hooked up to marker.