prework for issue #0002698

This commit is contained in:
wmayer
2017-02-04 11:34:55 +01:00
parent a6ffe0b778
commit cd92e65729

View File

@@ -110,7 +110,7 @@ void ImportOCAF::loadShapes()
}
void ImportOCAF::loadShapes(const TDF_Label& label, const TopLoc_Location& loc,
const std::string& defaultname, const std::string& /*assembly*/, bool isRef,
const std::string& defaultname, const std::string& assembly, bool isRef,
std::vector<App::DocumentObject*>& lValue)
{
int hash = 0;
@@ -177,6 +177,7 @@ void ImportOCAF::loadShapes(const TDF_Label& label, const TopLoc_Location& loc,
#if defined(OCAF_KEEP_PLACEMENT)
std::string asm_name = part_name;
(void)assembly;
#else
std::string asm_name = assembly;
if (aShapeTool->IsAssembly(label)) {