Skip to content

Commit

Permalink
VisualiserTool : Make private as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Nov 26, 2024
1 parent f39dfc9 commit 7f92ba0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions include/GafferSceneUI/VisualiserTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
#include "Gaffer/NumericPlug.h"
#include "Gaffer/StringPlug.h"

namespace
{

class VisualiserGadget;

} // namespace

namespace GafferSceneUI
{

Expand Down Expand Up @@ -79,6 +86,10 @@ class GAFFERSCENEUI_API VisualiserTool : public SelectionTool
Gaffer::Color3fPlug *colorPlug();
const Gaffer::Color3fPlug *colorPlug() const;

private:

friend VisualiserGadget;

/// Class encapsulating a selected scene location
struct Selection
{
Expand All @@ -105,8 +116,6 @@ class GAFFERSCENEUI_API VisualiserTool : public SelectionTool

const IECore::Data *cursorValue() const;

private:

GafferScene::ScenePlug *internalScenePlug();
const GafferScene::ScenePlug *internalScenePlug() const;

Expand Down

0 comments on commit 7f92ba0

Please sign in to comment.