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/depsgraph.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/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 7d483f975bc..2217498912c 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -45,8 +45,6 @@ struct GHash;
struct GSet;
struct ID;
struct Main;
-struct PointerRNA;
-struct PropertyRNA;
struct Scene;
struct ViewLayer;
@@ -94,20 +92,6 @@ struct Relation {
int flag; /* Bitmask of RelationFlag) */
};
-/* For queries which gives operation node or key defines whether we are
- * interested in a result of the given property or whether we are linking some
- * dependency to that property. */
-enum class RNAPointerSource {
- /* Query will return pointer to an entry operation of component which is
- * responsible for evaluation of the given property. */
- ENTRY,
- /* Query will return pointer to an exit operation of component which is
- * responsible for evaluation of the given property.
- * More precisely, it will return operation at which the property is known
- * to be evaluated. */
- EXIT,
-};
-
/* ********* */
/* Depsgraph */
@@ -122,19 +106,6 @@ struct Depsgraph {
eEvaluationMode mode);
~Depsgraph();
- /**
- * Convenience wrapper to find node given just pointer + property.
- *
- * \param ptr: pointer to the data that node will represent
- * \param prop: optional property affected - providing this effectively
- * results in inner nodes being returned
- *
- * \return A node matching the required characteristics if it exists
- * or NULL if no such node exists in the graph */
- Node *find_node_from_pointer(const PointerRNA *ptr,
- const PropertyRNA *prop,
- RNAPointerSource source) const;
-
TimeSourceNode *add_time_source();
TimeSourceNode *find_time_source() const;