.
--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);
|
VDetail detail = data->GetDetail(id);
|
||||||
for(qint32 i = 0; i< detail.CountNode(); ++i){
|
for(qint32 i = 0; i< detail.CountNode(); ++i){
|
||||||
switch(detail[i].getTypeTool()){
|
switch(detail[i].getTypeTool()){
|
||||||
case(Tool::NodePoint):{
|
case(Tool::NodePoint):
|
||||||
InitTool<VNodePoint>(scene, detail[i]);
|
InitTool<VNodePoint>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::NodeArc):
|
||||||
case(Tool::NodeArc):{
|
|
||||||
InitTool<VNodeArc>(scene, detail[i]);
|
InitTool<VNodeArc>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::NodeSpline):
|
||||||
case(Tool::NodeSpline):{
|
|
||||||
InitTool<VNodeSpline>(scene, detail[i]);
|
InitTool<VNodeSpline>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::NodeSplinePath):
|
||||||
case(Tool::NodeSplinePath):{
|
|
||||||
InitTool<VNodeSplinePath>(scene, detail[i]);
|
InitTool<VNodeSplinePath>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::AlongLineTool):
|
||||||
case(Tool::AlongLineTool):{
|
|
||||||
InitTool<VModelingAlongLine>(scene, detail[i]);
|
InitTool<VModelingAlongLine>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::ArcTool):
|
||||||
case(Tool::ArcTool):{
|
|
||||||
InitTool<VModelingArc>(scene, detail[i]);
|
InitTool<VModelingArc>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::BisectorTool):
|
||||||
case(Tool::BisectorTool):{
|
|
||||||
InitTool<VModelingBisector>(scene, detail[i]);
|
InitTool<VModelingBisector>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::EndLineTool):
|
||||||
case(Tool::EndLineTool):{
|
|
||||||
InitTool<VModelingEndLine>(scene, detail[i]);
|
InitTool<VModelingEndLine>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::LineIntersectTool):
|
||||||
case(Tool::LineIntersectTool):{
|
|
||||||
InitTool<VModelingLineIntersect>(scene, detail[i]);
|
InitTool<VModelingLineIntersect>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::LineTool):
|
||||||
case(Tool::LineTool):{
|
|
||||||
InitTool<VModelingLine>(scene, detail[i]);
|
InitTool<VModelingLine>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
case(Tool::NormalTool):
|
||||||
case(Tool::NormalTool):{
|
|
||||||
InitTool<VModelingNormal>(scene, detail[i]);
|
InitTool<VModelingNormal>(scene, detail[i]);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case(Tool::PointOfContact):
|
case(Tool::PointOfContact):
|
||||||
InitTool<VModelingPointOfContact>(scene, detail[i]);
|
InitTool<VModelingPointOfContact>(scene, detail[i]);
|
||||||
break;
|
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