Skip to content

Commit

Permalink
SpotLightHandle : Fix circular reference m_view
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Aug 16, 2023
1 parent e5469d6 commit 8afc7f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GafferSceneUI/LightTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ class SpotLightHandle : public LightToolHandle
SpotLightHandle(
const std::string &attributePattern,
HandleType handleType,
SceneViewPtr view,
const SceneView *view,
const float zRotation,
const std::string &name = "SpotLightHandle"
) :
Expand Down Expand Up @@ -1614,7 +1614,7 @@ class SpotLightHandle : public LightToolHandle
ParameterInspectorPtr m_coneAngleInspector;
ParameterInspectorPtr m_penumbraAngleInspector;

SceneViewPtr m_view;
const SceneView *m_view;

const float m_zRotation;

Expand Down

0 comments on commit 8afc7f5

Please sign in to comment.