Skip to content
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

[al] Removed tracking selectability and lock metadata #2075

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions plugin/al/lib/AL_USDMaya/AL/usdmaya/PluginRegister.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,6 @@ template <typename AFnPlugin> MStatus registerPlugin(AFnPlugin& plugin)
MGlobal::setOptionVarValue("AL_usdmaya_pushToPrim", true);
}

if (!MGlobal::optionVarExists("AL_usdmaya_ignoreLockPrims")) {
MGlobal::setOptionVarValue("AL_usdmaya_ignoreLockPrims", false);
}

MStatus status;

// gpuCachePluginMain used as an example.
Expand Down Expand Up @@ -345,11 +341,6 @@ template <typename AFnPlugin> MStatus registerPlugin(AFnPlugin& plugin)
"optionVar -iv \\\"AL_usdmaya_pushToPrim\\\" #1",
true,
MGlobal::optionVarIntValue("AL_usdmaya_pushToPrim"));
AL::maya::utils::MenuBuilder::addEntry(
"USD/Selection Ignore Lock Prims Enabled",
"optionVar -iv \\\"AL_usdmaya_ignoreLockPrims\\\" #1",
true,
MGlobal::optionVarIntValue("AL_usdmaya_ignoreLockPrims"));
CHECK_MSTATUS(AL::maya::utils::MenuBuilder::generatePluginUI(plugin, "AL_usdmaya"));
AL::usdmaya::Global::onPluginLoad();

Expand Down
148 changes: 0 additions & 148 deletions plugin/al/lib/AL_USDMaya/AL/usdmaya/SelectabilityDB.cpp

This file was deleted.

129 changes: 0 additions & 129 deletions plugin/al/lib/AL_USDMaya/AL/usdmaya/SelectabilityDB.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1037,11 +1037,8 @@ MStatus TranslatePrim::redoIt()
TF_DEBUG(ALUSDMAYA_COMMANDS).Msg("TranslatePrim::redoIt\n");
m_proxy->translatePrimPathsIntoMaya(newImportPaths, m_teardownPaths, tp);

// construct locks and selectability for imported prims
if (m_proxy->isLockPrimFeatureActive()) {
m_proxy->removeMetaData(m_teardownPaths);
m_proxy->processChangedMetaData(SdfPathVector(), newImportPaths);
}
// construct locks for imported prims
m_proxy->constructLockPrims();

if (!m_updatePaths.empty()) {

Expand Down
Loading