Skip to content

Commit

Permalink
Merge pull request #43 from BlueSkyStudios/pr/undefAlways
Browse files Browse the repository at this point in the history
'Always' from X.h conflicts with USD when maya/M3dView.h is included
  • Loading branch information
HamedSabri-adsk authored Oct 1, 2019
2 parents 7312627 + d1c75a9 commit 876e619
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/pxr/maya/lib/pxrUsdMayaGL/shapeAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "pxr/usd/sdf/types.h"

#include <maya/M3dView.h>
#undef Always // Defined in /usr/lib/X11/X.h (eventually included by M3dView.h) - breaks pxr/usd/lib/usdUtils/registeredVariantSet.h
#include <maya/MBoundingBox.h>
#include <maya/MColor.h>
#include <maya/MDagPath.h>
Expand Down

0 comments on commit 876e619

Please sign in to comment.