From 42e8294ad597cf7147f17d800fd462eebd9e44a0 Mon Sep 17 00:00:00 2001 From: debloip Date: Mon, 5 Feb 2024 12:45:25 -0500 Subject: [PATCH] HYDRA-781 : Move modelingToolkit loading to default plugins --- test/lib/mayaUsd/render/mayaToHydra/testPolygonPrimitives.py | 1 - test/testUtils/fixturesUtils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/lib/mayaUsd/render/mayaToHydra/testPolygonPrimitives.py b/test/lib/mayaUsd/render/mayaToHydra/testPolygonPrimitives.py index a74162edb7..6ce36c1832 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/testPolygonPrimitives.py +++ b/test/lib/mayaUsd/render/mayaToHydra/testPolygonPrimitives.py @@ -40,7 +40,6 @@ def compareSnapshot(self, referenceFilename, cameraDistance=15): self.assertSnapshotClose(referenceFilename, self.imageDiffFailThreshold, self.imageDiffFailPercent) def setupScene(self, polygonCreationCallable): - cmds.loadPlugin('modelingToolkit') # Provides polyDisc, polyPlatonic, polyGear and polySuperShape self.setHdStormRenderer() polyCreatorNodeName = polygonCreationCallable()[1] cmds.refresh() diff --git a/test/testUtils/fixturesUtils.py b/test/testUtils/fixturesUtils.py index 36cc1a61b6..ab0dd39195 100644 --- a/test/testUtils/fixturesUtils.py +++ b/test/testUtils/fixturesUtils.py @@ -20,7 +20,7 @@ import unittest # Plugins that are bundled and loaded by default in a Maya installation -DEFAULT_PLUGINS = ['ArubaTessellator'] +DEFAULT_PLUGINS = ['ArubaTessellator', 'modelingToolkit'] def _setUpClass(modulePathName, pluginName, initializeStandalone): '''