Переглянути джерело

Refactoring: Code cleanup post-processing.

Kim Kulling 2 роки тому
батько
коміт
c537bd78d0

+ 1 - 3
code/PostProcessing/CalcTangentsProcess.h

@@ -86,7 +86,6 @@ public:
     }
     }
 
 
 protected:
 protected:
-
     // -------------------------------------------------------------------
     // -------------------------------------------------------------------
     /** Calculates tangents and bitangents for a specific mesh.
     /** Calculates tangents and bitangents for a specific mesh.
     * @param pMesh The mesh to process.
     * @param pMesh The mesh to process.
@@ -98,10 +97,9 @@ protected:
     /** Executes the post processing step on the given imported data.
     /** Executes the post processing step on the given imported data.
     * @param pScene The imported data to work at.
     * @param pScene The imported data to work at.
     */
     */
-    void Execute( aiScene* pScene);
+    void Execute( aiScene* pScene) override;
 
 
 private:
 private:
-
     /** Configuration option: maximum smoothing angle, in radians*/
     /** Configuration option: maximum smoothing angle, in radians*/
     float configMaxAngle;
     float configMaxAngle;
     unsigned int configSourceUV;
     unsigned int configSourceUV;

+ 1 - 1
code/PostProcessing/SplitByBoneCountProcess.h

@@ -70,7 +70,7 @@ public:
     /// @param pFlags The processing flags the importer was called with. A
     /// @param pFlags The processing flags the importer was called with. A
     ///        bitwise combination of #aiPostProcessSteps.
     ///        bitwise combination of #aiPostProcessSteps.
     /// @return true if the process is present in this flag fields, false if not.
     /// @return true if the process is present in this flag fields, false if not.
-    bool IsActive( unsigned int pFlags) const;
+    bool IsActive( unsigned int pFlags) const override;
 
 
     /// @brief Called prior to ExecuteOnScene().
     /// @brief Called prior to ExecuteOnScene().
     /// The function is a request to the process to update its configuration
     /// The function is a request to the process to update its configuration