Skip to content

Commit

Permalink
'Always' from X.h conflicts with USD when maya/M3dView.h is included
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Higham committed Sep 30, 2019
1 parent 7312627 commit d1c75a9
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 d1c75a9

Please sign in to comment.