Skip to content

Commit

Permalink
BUG: ReadDEFORMFileFilter-Set SharedQuadList names to proper defaults (
Browse files Browse the repository at this point in the history
…#1120)

Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson authored Nov 4, 2024
1 parent 79cb89d commit 439c08c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ std::string ReadDeformKeyFileV12Filter::humanName() const
//------------------------------------------------------------------------------
std::vector<std::string> ReadDeformKeyFileV12Filter::defaultTags() const
{
return {className(), "IO", "Input", "Read", "Import"};
return {className(), "IO", "Input", "Read", "Import", "DEFORM"};
}

//------------------------------------------------------------------------------
Expand All @@ -73,8 +73,8 @@ Parameters ReadDeformKeyFileV12Filter::parameters() const

// Create the parameter descriptors that are needed for this filter
params.insertSeparator(Parameters::Separator{"Input Parameter(s)"});
params.insert(std::make_unique<FileSystemPathParameter>(k_InputFilePath_Key, "Input File", "File path that points to the imported file", fs::path(""), FileSystemPathParameter::ExtensionsType{},
FileSystemPathParameter::PathType::InputFile));
params.insert(std::make_unique<FileSystemPathParameter>(k_InputFilePath_Key, "Input File", "File path that points to the imported file", fs::path(""),
FileSystemPathParameter::ExtensionsType{".key"}, FileSystemPathParameter::PathType::InputFile));

params.insertSeparator(Parameters::Separator{"Output Data Object(s)"});
params.insert(std::make_unique<DataGroupCreationParameter>(k_QuadGeomPath_Key, "Quad Geometry", "The created Quad Geometry from imported from file", DataPath({"Quad Geometry"})));
Expand Down Expand Up @@ -136,7 +136,8 @@ IFilter::PreflightResult ReadDeformKeyFileV12Filter::preflightImpl(const DataStr
// Read from the cache and create objects
{
auto createAction = std::make_unique<CreateQuadGeometryAction>(pQuadGeomPathValue, s_HeaderCache[m_InstanceId].cellAttrMatTupleCount, s_HeaderCache[m_InstanceId].vertexAttrMatTupleCount,
vertexDataPath.getTargetName(), cellDataPath.getTargetName(), "SharedVertices", "SharedFaces");
vertexDataPath.getTargetName(), cellDataPath.getTargetName(), nx::core::CreateQuadGeometryAction::k_DefaultVerticesName,
nx::core::CreateQuadGeometryAction::k_DefaultFacesName);
resultOutputActions.value().appendAction(std::move(createAction));
}

Expand Down

0 comments on commit 439c08c

Please sign in to comment.