fill the multiRotatingAxis
This commit is contained in:
parent
797334af87
commit
71057e9575
|
@ -117,12 +117,12 @@ bool pFlow::multiRotatingAxis::write
|
|||
dictionary& dict
|
||||
) const
|
||||
{
|
||||
if( !rotatingAxis::write(dict) ) return false;
|
||||
// if( !rotatingAxis::write(dict) ) return false;
|
||||
|
||||
if(parentAxisIndex_ == 0)
|
||||
{
|
||||
dict.add("rotationAxis", "none");
|
||||
}
|
||||
// if(parentAxisIndex_ == -1)
|
||||
// {
|
||||
// dict.add("rotationAxis", "none");
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// word rotAxis;
|
||||
|
|
|
@ -43,11 +43,11 @@ pFlow::multiRotatingAxisMotion::multiRotatingAxisMotion(
|
|||
: fileDictionary(objf, owner)
|
||||
{
|
||||
|
||||
// if(! impl_readDictionary(*this) )
|
||||
// {
|
||||
// fatalErrorInFunction;
|
||||
// fatalExit;
|
||||
// }
|
||||
if(! impl_readDictionary(*this) )
|
||||
{
|
||||
fatalErrorInFunction;
|
||||
fatalExit;
|
||||
}
|
||||
}
|
||||
|
||||
pFlow::multiRotatingAxisMotion::multiRotatingAxisMotion
|
||||
|
|
|
@ -105,7 +105,7 @@ public:
|
|||
static
|
||||
auto noneComponent()
|
||||
{
|
||||
return multiRotatingAxis{};
|
||||
return multiRotatingAxis();
|
||||
}
|
||||
|
||||
// TODO: make this method protected
|
||||
|
|
Loading…
Reference in New Issue