Skip to content

Commit

Permalink
move function into anonymous namespace, and rebase onto latest dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Bateman authored and Rob Bateman committed Feb 11, 2020
1 parent de5b63c commit c2ccc0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion plugin/al/lib/AL_USDMaya/AL/usdmaya/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#define AL_USDMAYA_VERSION_MAJOR 0
#define AL_USDMAYA_VERSION_MINOR 39
#define AL_USDMAYA_VERSION_PATCH 0
#define AL_USDMAYA_VERSION_PATCH 1

#define AL_USDMAYA_VERSION_STR xstr(AL_USDMAYA_VERSION_MAJOR) "." \
xstr(AL_USDMAYA_VERSION_MINOR) "." \
Expand Down
21 changes: 11 additions & 10 deletions plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/TransformationMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,9 @@ PXR_NAMESPACE_USING_DIRECTIVE
namespace AL {
namespace usdmaya {
namespace nodes {

namespace {
using AL::usdmaya::utils::UsdDataType;

//----------------------------------------------------------------------------------------------------------------------
const MTypeId TransformationMatrix::kTypeId(AL_USDMAYA_TRANSFORMATION_MATRIX);

//----------------------------------------------------------------------------------------------------------------------
MPxTransformationMatrix* TransformationMatrix::creator()
{
return new TransformationMatrix;
}

//----------------------------------------------------------------------------------------------------------------------
bool hasEmptyDefaultValue(const UsdGeomXformOp& op, UsdTimeCode time)
{
Expand All @@ -57,6 +48,16 @@ bool hasEmptyDefaultValue(const UsdGeomXformOp& op, UsdTimeCode time)
}
return false;
}
} // anon

//----------------------------------------------------------------------------------------------------------------------
const MTypeId TransformationMatrix::kTypeId(AL_USDMAYA_TRANSFORMATION_MATRIX);

//----------------------------------------------------------------------------------------------------------------------
MPxTransformationMatrix* TransformationMatrix::creator()
{
return new TransformationMatrix;
}

//----------------------------------------------------------------------------------------------------------------------
TransformationMatrix::TransformationMatrix()
Expand Down

0 comments on commit c2ccc0d

Please sign in to comment.