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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-02-15 14:45:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-02-15 17:42:58 +0300
commit0ecd587991e474ead562e8d9326146ccaa179849 (patch)
treee0171cacca0ecfa678243a2ebae81aaadd26de92 /source/blender/depsgraph/intern/builder/deg_builder_relations.h
parent373b8e311d28ee907d6e1fb291e5318fd74867b7 (diff)
Depsgraph: Move RNA lookup to an own query class
Currently should have no functional changes, but allows to implement runction optimizations more localized and easily.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations.h')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h
index de39f624290..8d056a2b71a 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h
@@ -36,6 +36,7 @@
#include "BLI_string.h"
#include "intern/builder/deg_builder_map.h"
+#include "intern/builder/deg_builder_rna.h"
#include "intern/depsgraph.h"
#include "intern/node/deg_node.h"
#include "intern/node/deg_node_component.h"
@@ -298,7 +299,7 @@ protected:
TimeSourceNode *get_node(const TimeSourceKey &key) const;
ComponentNode *get_node(const ComponentKey &key) const;
OperationNode *get_node(const OperationKey &key) const;
- Node *get_node(const RNAPathKey &key) const;
+ Node *get_node(const RNAPathKey &key);
OperationNode *find_node(const OperationKey &key) const;
bool has_node(const OperationKey &key) const;
@@ -355,6 +356,7 @@ private:
Scene *scene_;
BuilderMap built_map_;
+ RNANodeQuery rna_node_query_;
};
struct DepsNodeHandle