.
--HG-- branch : develop
This commit is contained in:
parent
beddcb69b8
commit
3c6212b7e1
|
@ -40,50 +40,39 @@ VToolDetail::VToolDetail(VDomDocument *doc, VContainer *data, const qint64 &id,
|
|||
VDetail detail = data->GetDetail(id);
|
||||
for(qint32 i = 0; i< detail.CountNode(); ++i){
|
||||
switch(detail[i].getTypeTool()){
|
||||
case(Tool::NodePoint):{
|
||||
case(Tool::NodePoint):
|
||||
InitTool<VNodePoint>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::NodeArc):{
|
||||
case(Tool::NodeArc):
|
||||
InitTool<VNodeArc>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::NodeSpline):{
|
||||
case(Tool::NodeSpline):
|
||||
InitTool<VNodeSpline>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::NodeSplinePath):{
|
||||
case(Tool::NodeSplinePath):
|
||||
InitTool<VNodeSplinePath>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::AlongLineTool):{
|
||||
case(Tool::AlongLineTool):
|
||||
InitTool<VModelingAlongLine>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::ArcTool):{
|
||||
case(Tool::ArcTool):
|
||||
InitTool<VModelingArc>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::BisectorTool):{
|
||||
case(Tool::BisectorTool):
|
||||
InitTool<VModelingBisector>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::EndLineTool):{
|
||||
case(Tool::EndLineTool):
|
||||
InitTool<VModelingEndLine>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::LineIntersectTool):{
|
||||
case(Tool::LineIntersectTool):
|
||||
InitTool<VModelingLineIntersect>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::LineTool):{
|
||||
case(Tool::LineTool):
|
||||
InitTool<VModelingLine>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::NormalTool):{
|
||||
case(Tool::NormalTool):
|
||||
InitTool<VModelingNormal>(scene, detail[i]);
|
||||
break;
|
||||
}
|
||||
case(Tool::PointOfContact):
|
||||
InitTool<VModelingPointOfContact>(scene, detail[i]);
|
||||
break;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user