Commit: 6e7716f32ee0f0c745c703d785646307c4a6b2c6
Author: Jeroen Bakker
Date:   Mon Jan 11 11:46:00 2021 +0100
Branches: master
https://developer.blender.org/rB6e7716f32ee0f0c745c703d785646307c4a6b2c6

Cleanup: Added const to RenderLayersProg methods

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

M       source/blender/compositor/operations/COM_RenderLayersProg.h

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

diff --git a/source/blender/compositor/operations/COM_RenderLayersProg.h 
b/source/blender/compositor/operations/COM_RenderLayersProg.h
index 74664c128c0..abfcac1f80d 100644
--- a/source/blender/compositor/operations/COM_RenderLayersProg.h
+++ b/source/blender/compositor/operations/COM_RenderLayersProg.h
@@ -94,7 +94,7 @@ class RenderLayersProg : public NodeOperation {
   {
     this->m_scene = scene;
   }
-  Scene *getScene()
+  Scene *getScene() const
   {
     return this->m_scene;
   }
@@ -106,7 +106,7 @@ class RenderLayersProg : public NodeOperation {
   {
     this->m_layerId = layerId;
   }
-  short getLayerId()
+  short getLayerId() const
   {
     return this->m_layerId;
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to