Skip to content

Commit

Permalink
Add convenience mayaHydra.h include to api.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ppt-adsk committed Jun 12, 2024
1 parent c47d2e0 commit 664a0a0
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 10 deletions.
4 changes: 4 additions & 0 deletions lib/mayaHydra/hydraExtensions/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@
#endif
#endif

// Convenience symbol versioning include: because api.h is widely
// included, this reduces the need to explicitly include mayaHydra.h.
#include <mayaHydraLib/mayaHydra.h>

#endif // MAYAHYDRALIB_API_H
1 change: 0 additions & 1 deletion lib/mayaHydra/hydraExtensions/hydraUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define MAYAHYDRALIB_HYDRA_UTILS_H

#include <mayaHydraLib/api.h>
#include <mayaHydraLib/mayaHydra.h>

#include <pxr/base/gf/matrix4d.h>
#include <pxr/base/gf/vec3f.h>
Expand Down
1 change: 0 additions & 1 deletion lib/mayaHydra/hydraExtensions/mayaUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#define MAYAHYDRALIB_MAYA_UTILS_H

#include <mayaHydraLib/api.h>
#include <mayaHydraLib/mayaHydra.h>

#include <maya/MApiNamespace.h>
#include <maya/MFnDependencyNode.h>
Expand Down
1 change: 0 additions & 1 deletion lib/mayaHydra/hydraExtensions/mhLeadObjectPathTracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//Local headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"
#include "mayaHydraLib/sceneIndex/mhDirtyLeadObjectSceneIndex.h"

//Flow viewport headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//Local headers
#include <mayaHydraLib/api.h>
#include <mayaHydraLib/mayaHydra.h>
#include <mayaHydraLib/mhLeadObjectPathTracker.h>

//Flow viewport headers
Expand Down
1 change: 0 additions & 1 deletion lib/mayaHydra/hydraExtensions/mixedUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define MAYAHYDRALIB_MIXED_UTILS_H

#include <mayaHydraLib/api.h>
#include <mayaHydraLib/mayaHydra.h>

#include <pxr/base/gf/matrix4d.h>
#include <pxr/base/tf/token.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//MayaHydra headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"

//Flow Viewport headers
#include <flowViewport/API/perViewportSceneIndicesData/fvpDataProducerSceneIndexDataAbstractFactory.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//MayaHydra headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"

//Flow Viewport headers
#include "flowViewport/API/perViewportSceneIndicesData/fvpFilteringSceneIndexDataAbstractFactory.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//Local headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"

namespace MAYAHYDRA_NS_DEF{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

//MayaHydra headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"

// Flow Viewport Toolkit headers.
#include "flowViewport/sceneIndex/fvpSceneIndexUtils.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#if defined(MAYAHYDRALIB_MAYAUSDAPI_ENABLED)
//MayaHydra headers
#include "mayaHydraLib/api.h"
#include "mayaHydraLib/mayaHydra.h"

//MayaUsdAPI headers
#include <mayaUsdAPI/proxyStage.h>
Expand Down

0 comments on commit 664a0a0

Please sign in to comment.