Skip to content

Commit

Permalink
MM Renderer - Fix code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Oct 8, 2023
1 parent b058935 commit 53c3567
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/mmSolver/render/RenderGlobalsSilhouetteNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ MStatus RenderGlobalsSilhouetteNode::initialize() {
auto width_min = 0.0;
auto width_soft_min = 1.0;
auto width_soft_max = 10.0;
a_width = numeric_attribute.create(
kAttrNameSilhouetteWidth, "wdth", MFnNumericData::kDouble,
kSilhouetteWidthDefault);
a_width = numeric_attribute.create(kAttrNameSilhouetteWidth, "wdth",
MFnNumericData::kDouble,
kSilhouetteWidthDefault);
CHECK_MSTATUS(numeric_attribute.setStorable(true));
CHECK_MSTATUS(numeric_attribute.setConnectable(true));
CHECK_MSTATUS(numeric_attribute.setKeyable(true));
Expand All @@ -198,9 +198,9 @@ MStatus RenderGlobalsSilhouetteNode::initialize() {
{
auto alpha_min = 0.0;
auto alpha_max = 1.0;
a_alpha = numeric_attribute.create(
kAttrNameSilhouetteAlpha, "alp", MFnNumericData::kDouble,
kSilhouetteAlphaDefault);
a_alpha = numeric_attribute.create(kAttrNameSilhouetteAlpha, "alp",
MFnNumericData::kDouble,
kSilhouetteAlphaDefault);
CHECK_MSTATUS(numeric_attribute.setStorable(true));
CHECK_MSTATUS(numeric_attribute.setConnectable(true));
CHECK_MSTATUS(numeric_attribute.setKeyable(true));
Expand Down
3 changes: 1 addition & 2 deletions src/mmSolver/render/RenderOverrideBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ RenderOverrideBasic::RenderOverrideBasic(const MString &name)
"Failed to get renderer.");
}

const MString kBackgroundOpName =
MString("mmRendererBasic_backgroundPass");
const MString kBackgroundOpName = MString("mmRendererBasic_backgroundPass");

m_backgroundOp = new SceneRender(kBackgroundOpName);
m_backgroundOp->setEnabled(true);
Expand Down

0 comments on commit 53c3567

Please sign in to comment.