-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maya is no longer using a Preview Release number #3602
Conversation
Remove code (currently not used) that detected this.
if(MAYA_INCLUDE_DIRS AND EXISTS "${MAYA_INCLUDE_DIR}/maya/MDefines.h") | ||
file(STRINGS ${MAYA_INCLUDE_DIR}/maya/MDefines.h MAYA_PREVIEW_RELEASE_VERSION REGEX "#define MAYA_PREVIEW_RELEASE_VERSION.*$") | ||
if(MAYA_PREVIEW_RELEASE_VERSION) | ||
string(REGEX MATCHALL "[0-9]+" MAYA_PREVIEW_RELEASE_VERSION ${MAYA_PREVIEW_RELEASE_VERSION}) | ||
else() | ||
set(MAYA_PREVIEW_RELEASE_VERSION 0) | ||
endif() | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file will be removed from future versions of Maya, so remove the check for it. We currently aren't using any preview release checks.
@@ -250,43 +247,6 @@ def createSingleSphereMayaScene(directory=None): | |||
cmds.file(save=True, force=True, type='mayaAscii') | |||
return tempMayaFile | |||
|
|||
def previewReleaseVersion(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completely removed this helper - its currently not used. We have other methods for detecting how to check for things in tests (ufe support fix level, etc).
Prefight failure was a test (GTest:AL_USDTransactionTests) timeout error on one particular run. Unrelated to my changes. |
Remove code (currently not used) that detected this.