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
2021-11-29Fix T93439: Armature widgets from hidden collections are invisibleSergey Sharybin
The are few things in the dependency graph which lead to the issue: - IDs are only built once. - Object-data level (Armature, i,e,) builder dependent on the object visibility. This caused issues when an armature is first built as not directly visible (via driver, i.e.) and then was built as a directly visible. This did not update visibility flag on the node for the custom shape object. The idea behind the fix is to go away form passing object visibility flag to the geometry-level builders and instead rely on the common visibility flush post-processing to make sure certain objects are fully visible when needed. This is the safest minimal part of the change for 3.0 release which acts as an additional way to ensure visibility. This means that it might not be a complete fix (if some configuration was overseen) but it should not make currently working cases to not work. The fix should also make modifiers used on rigify widgets to work. The more complete fix will have `is_object_visible` argument removed from the geometry-level builder functions. Differential Revision: https://developer.blender.org/D13404
2020-12-09Cleanup: various clang tidy fixesJacques Lucke
2020-12-04Cleanup: Clang-Tidy, modernize-use-usingSybren A. Stüvel
Replace `typedef` with `using` in C++ code. In the case of `typedef struct SomeName { ... } SomeName;` I removed the `typedef` altogether, as this is unnecessary in C++. Such cases have been rewritten to `struct SomeName { ... };` No functional changes.
2020-11-07Cleanup: Clang-tidy, modernize-concat-nested-namespacesAnkit Meel
2020-06-29Depsgraph: introduce blender::deg namespaceJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8150
2020-04-28Cleanup: remove unnecessary includesJacques Lucke
2020-04-28Depsgraph: Use BLI::Map in more placesJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7519
2020-04-24Depsgraph: Use BLI::Set instead of std::unordered_setJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7506
2020-04-23Cleanup: silence unused parameter warningJacques Lucke
2020-04-23Fix T75611: slow transform of many objects at the same timeBrecht Van Lommel
Solve O(n^2) time complexity problem where a dependency graph iterator loops over all nodes to clear flags, which happened for every object at the start of transform. Differential Revision: https://developer.blender.org/D7503
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-05Cleanup: Move std::deque to depsgraph_type.hSybren A. Stüvel
Since `std::deque` is used in a few areas of the Depsgraph, and an upcoming patch adds one more, it's time it's considered as "commonly used type". No functional changes.
2020-01-28Cleanup: changed NULL to nullptr in depsgraph C++ codeSybren A. Stüvel
No functional changes.
2020-01-24Depsgrapg: Refactor, move Relation to own fileSergey Sharybin
2019-09-26Fix T70126: Can't Snap To Vertex With RigidbodySergey Sharybin
The idea is to ignore dependency which comes via rigid body solver. Reviewers: mano-wii Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D5900
2019-07-05Depsgraph: Cleanup, more clear namingSergey Sharybin
2019-07-05Depsgraph: Make component traversal more granularSergey Sharybin
Now it is possible to start traversal from a given component.
2019-07-05Depsgraph: Add dependencies traversal which is aware of componentSergey Sharybin
Sometimes it is required to know which exact part of ID is being dependent on the given iD. Now it is possible.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove original authorCampbell Barton
Missed when removing contributors.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Depsgraph: Comb code to a better state all overSergey Sharybin
Some summary of changes: - Don't use DEG prefix for types and enumerator values: the code is already inside DEG namespace. - Put code where it locally belongs to: avoid having one single header file with all sort of definitions in it. - Take advantage of modern C++11 enabled by default.
2018-09-03Depsgraph: Use more meaningful name for flags storageSergey Sharybin
2018-08-23Depsgraph: Fix filtering-related crashesJoshua Leung
* Simplified operation-relation deletion. Now we collect the relations to delete into a vector, then iterate through that, thus solving issues with iterator invalidation (+ aborts arising from that) * DEG_foreach_ancestor_ID() was assuming that all dependencies were OperationDepsNodes, when in fact, some could be TimeSource nodes
2018-08-21Depsgraph: Add query methods to identify all the ID's that a given datablock ↵Joshua Leung
depends on This commit adds a new method, DEG_foreach_ancestor_ID() to accompany the existing DEG_foreach_descendent_ID(). It can be used to help print/collect all the ID's that a given ID block depends on (i.e. all the datablocks that need to be evaluated before the datablock of interest can be evaluated)
2018-08-21Cleanup: Fix variable shadowingJoshua Leung
2018-05-02Depsgraph: Add function to iterate over all original IDsSergey Sharybin
2017-12-20Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-20Depsgraph: Move ID node to own fileSergey Sharybin
2017-12-18Depsgraph: Add query API to traverse all dependent IDs of the given IDSergey Sharybin
2017-12-01Depsgraph: Add query API to traverse all dependent IDs of the given IDSergey Sharybin