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:
authorJeroen Bakker <j.bakker@atmind.nl>2012-06-12 08:23:21 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-12 08:23:21 +0400
commitac5a735e3fe9fe29e38e3a20c20da87b27feb112 (patch)
tree52059f3dbc9827eb498abe772e763e541b3b3608 /source/blender/compositor/intern/COM_CompositorContext.h
parent7977078227d6da77e294dd860f4685387f0bae56 (diff)
* FIX for
- [#31777] Border Crop gives black - [#31768] Crash when connecting a Math node to a translate node in Tiles comp - [#31638] View node in new node compo system crashes when inside a group * make sure a very fast vignette can be made by using a EliipseMask + Fast Gaussian blur
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r--source/blender/compositor/intern/COM_CompositorContext.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h
index 2889f43290e..8425030aec2 100644
--- a/source/blender/compositor/intern/COM_CompositorContext.h
+++ b/source/blender/compositor/intern/COM_CompositorContext.h
@@ -63,6 +63,11 @@ private:
* @see ExecutionSystem
*/
bNodeTree *bnodetree;
+
+ /**
+ * @brief activegNode the group node that is currently being edited.
+ */
+ bNode *activegNode;
/**
* @brief does this system have active opencl devices?
@@ -101,6 +106,16 @@ public:
const bNodeTree * getbNodeTree() const {return this->bnodetree;}
/**
+ * @brief set the active groupnode of the context
+ */
+ void setActivegNode(bNode *gnode) {this->activegNode = gnode;}
+
+ /**
+ * @brief get the active groupnode of the context
+ */
+ const bNode * getActivegNode() const {return this->activegNode;}
+
+ /**
* @brief get the scene of the context
*/
const Scene *getScene() const {return this->scene;}