[Bf-blender-cvs] [782790f] depsgraph_refactor: Depsgraph: Suppress release build warning
Sergey Sharybin
noreply at git.blender.org
Mon Jan 5 18:41:51 CET 2015
Commit: 782790f299ec127e3c7e70313dc71c87332445a1
Author: Sergey Sharybin
Date: Mon Jan 5 22:39:06 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB782790f299ec127e3c7e70313dc71c87332445a1
Depsgraph: Suppress release build warning
===================================================================
M source/blender/depsgraph/intern/depsgraph.cpp
M source/blender/depsgraph/intern/depsgraph_eval.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph.cpp b/source/blender/depsgraph/intern/depsgraph.cpp
index 4399248..ea7d747 100644
--- a/source/blender/depsgraph/intern/depsgraph.cpp
+++ b/source/blender/depsgraph/intern/depsgraph.cpp
@@ -344,7 +344,6 @@ void Depsgraph::clear_all_nodes()
void Depsgraph::add_invisible_entry_tag(OperationDepsNode *node)
{
BLI_assert(node != NULL);
- IDDepsNode *id_node = node->owner->owner;
invisible_entry_tags.insert(node);
}
diff --git a/source/blender/depsgraph/intern/depsgraph_eval.cpp b/source/blender/depsgraph/intern/depsgraph_eval.cpp
index 80c0a66..e7b2988 100644
--- a/source/blender/depsgraph/intern/depsgraph_eval.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_eval.cpp
@@ -132,8 +132,9 @@ static void deg_task_run_func(TaskPool *pool,
if (!node->is_noop()) {
/* Get context. */
// TODO: who initialises this? "Init" operations aren't able to initialise it!!!
- ComponentDepsNode *comp = node->owner;
- BLI_assert(comp != NULL);
+ /* TODO(sergey): Wedon't use component contexts at this moment. */
+ /* ComponentDepsNode *comp = node->owner; */
+ BLI_assert(node->owner != NULL);
/* Take note of current time. */
double start_time = PIL_check_seconds_timer();
More information about the Bf-blender-cvs
mailing list