Skip to content

Commit

Permalink
LightTool : Move tooltip constants for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Oct 17, 2023
1 parent 1184a03 commit 7007470
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/GafferSceneUI/LightTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,6 @@ IECoreGL::MeshPrimitivePtr cone( float height, float startRadius, float endRadiu
return result;
}

const float g_tipScale = 10.f;
const float g_tipIconSize = 1.25f;
const float g_tipIconOffset = -0.25f;
const float g_tipIndent = 1.75f;
const float g_tipLineSpacing = -1.375f;

IECoreGL::MeshPrimitivePtr unitCone()
{
static IECoreGL::MeshPrimitivePtr result = cone( 1.5f, 0.5f, 0 );
Expand Down Expand Up @@ -503,6 +497,12 @@ GraphComponent *commonAncestor( std::vector<GraphComponent *> &graphComponents )
return commonAncestor;
}

const float g_tipScale = 10.f;
const float g_tipIconSize = 1.25f;
const float g_tipIconOffset = -0.25f;
const float g_tipIndent = 1.75f;
const float g_tipLineSpacing = -1.375f;

void drawSelectionTips(
const V3f &gadgetSpacePosition,
std::vector<const Inspector::Result *> inspections,
Expand Down

0 comments on commit 7007470

Please sign in to comment.