[Bf-blender-cvs] [8b2fb7aeed5] master: Cleanup: Remove unused method.

Jeroen Bakker noreply at git.blender.org
Fri Mar 5 16:56:19 CET 2021


Commit: 8b2fb7aeed5572a815322ac241cd8361321f2376
Author: Jeroen Bakker
Date:   Fri Mar 5 15:12:39 2021 +0100
Branches: master
https://developer.blender.org/rB8b2fb7aeed5572a815322ac241cd8361321f2376

Cleanup: Remove unused method.

===================================================================

M	source/blender/compositor/intern/COM_ExecutionSystem.cpp
M	source/blender/compositor/intern/COM_ExecutionSystem.h

===================================================================

diff --git a/source/blender/compositor/intern/COM_ExecutionSystem.cpp b/source/blender/compositor/intern/COM_ExecutionSystem.cpp
index 6fbcd4259c9..3da2523bfdb 100644
--- a/source/blender/compositor/intern/COM_ExecutionSystem.cpp
+++ b/source/blender/compositor/intern/COM_ExecutionSystem.cpp
@@ -222,14 +222,3 @@ void ExecutionSystem::findOutputExecutionGroup(std::vector<ExecutionGroup *> *re
     }
   }
 }
-
-void ExecutionSystem::findOutputExecutionGroup(std::vector<ExecutionGroup *> *result) const
-{
-  unsigned int index;
-  for (index = 0; index < this->m_groups.size(); index++) {
-    ExecutionGroup *group = this->m_groups[index];
-    if (group->isOutputExecutionGroup()) {
-      result->push_back(group);
-    }
-  }
-}
diff --git a/source/blender/compositor/intern/COM_ExecutionSystem.h b/source/blender/compositor/intern/COM_ExecutionSystem.h
index d18125ebc50..8b69caf106f 100644
--- a/source/blender/compositor/intern/COM_ExecutionSystem.h
+++ b/source/blender/compositor/intern/COM_ExecutionSystem.h
@@ -140,11 +140,6 @@ class ExecutionSystem {
   void findOutputExecutionGroup(std::vector<ExecutionGroup *> *result,
                                 CompositorPriority priority) const;
 
-  /**
-   * find all execution group with output nodes
-   */
-  void findOutputExecutionGroup(std::vector<ExecutionGroup *> *result) const;
-
  public:
   /**
    * \brief Create a new ExecutionSystem and initialize it with the



More information about the Bf-blender-cvs mailing list