March 26, 2014, 13:18 (GMT) |
Register node factories in the individual node type files. |
March 26, 2014, 13:05 (GMT) |
Moved DepsNode definition from the depsgraph_types file into a number of dedicated source files. To reflect the code structure while keeping the number of files small, there are just 3 node files: * depsnode: base DepsNode class and main general subtypes (root, idnode, subgraph, time source) * depsnode_component: component subclasses ("outer" nodes) * depsnode_operation: operation subclasses ("inner" nodes) The depsgraph_types.h header still contains a number of general enums for the node subtypes, since this is needed in a number of other class declarations (Depsgraph) as function arguments. Don't want to include the full class definitions there to keep header dependencies at a minimum. |
March 26, 2014, 11:47 (GMT) |
March 26, 2014, 11:07 (GMT) |
Moved the DEPS_RELATION_ITER macros into the depsgraph files. These could be done nicer with C++ container iterators eventually. |
March 26, 2014, 11:04 (GMT) |
Moved DEG_add_new_relation into Depsgraph. Note: This function doesn't take a Depsgraph argument. Currently the ownership for relation instances is shared between the nodes being connected. This is not ideal, it prevents good memory management and leads to ugly corner cases when freeing relations. Eventually relations should be allocated and stored by the Depsgraph, since they only live inside the depsgraph data anyway (ownership is with the graph). |
March 26, 2014, 10:30 (GMT) |
Moved DEG_add_operation into Depsgraph. |
March 26, 2014, 09:58 (GMT) |
Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors Issue was caused by the wrong usage of OCIO GLSL binding API. To make it work properly on pre-GLSL-1.3 drivers shader is to be enabled after the texture is binded to the opengl context. Otherwise it wouldn't know the proper texture size. This is actually a regression in 2.70 and to be ported to 'a'. |
March 26, 2014, 09:24 (GMT) |
Moved DEG_find_node_from_pointer and DEG_find_node_criteria_from_pointer into Depsgraph. |
March 26, 2014, 09:17 (GMT) |
Made add_new_node and remove_node member functions of Depsgraph. |
March 26, 2014, 02:57 (GMT) |
Fix T39279: Vertex paint fails with mirror modifier |
March 26, 2014, 00:58 (GMT) |
New resolve_tri_uv_v3 util function Compute barycentric coordinates (u, v) for a point with respect to a triangle. This is needed for Cycles baking but we decided to push this independently of the upcoming main baking changes. Code adapted from Christer Ericson's Real-Time Collision Detection. Cleanup, refactoring and review from Campbell Barton. |
March 26, 2014, 00:15 (GMT) |
Code cleanup: add _v2 suffix to resolve_tri/quad functions |
March 25, 2014, 22:34 (GMT) |
revert 0da3e97, fix for T39279 Following problems: - painting onto a cube asserts immediately (vpaint/wpaint) - crashes with valgrind (bad memory use) - the original intended behavior of vertex projection paint no longer works as I intended. (its constantly refreshing geometry even when no modifiers are applied). Best get code review for these kinds of changes. |
March 25, 2014, 20:58 (GMT) |
Code cleanup: remove unused flags |
March 25, 2014, 20:53 (GMT) |
Code cleanup: style and warnings |
March 25, 2014, 20:17 (GMT) |
Follow Blender slangs! ;) |
March 25, 2014, 20:02 (GMT) |
CMake: only nag about requests py module once |
March 25, 2014, 19:24 (GMT) |
DEG_get_node functions moved into Depsgraph. |
March 25, 2014, 18:46 (GMT) |
New file for the Depsgraph struct. Goal is to organize code in a slightly more C++ fashion. Don't need a file for every single class, but dumping everything into a few large source files doesn't help either. |
March 25, 2014, 17:56 (GMT) |
Made DEG_find_node a member function of Depsgraph. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021