fill the multiRotatingAxis

This commit is contained in:
wanqing0421 2025-03-16 15:15:49 +08:00
parent 797334af87
commit 71057e9575
3 changed files with 11 additions and 11 deletions

View File

@ -117,12 +117,12 @@ bool pFlow::multiRotatingAxis::write
dictionary& dict dictionary& dict
) const ) const
{ {
if( !rotatingAxis::write(dict) ) return false; // if( !rotatingAxis::write(dict) ) return false;
if(parentAxisIndex_ == 0) // if(parentAxisIndex_ == -1)
{ // {
dict.add("rotationAxis", "none"); // dict.add("rotationAxis", "none");
} // }
// else // else
// { // {
// word rotAxis; // word rotAxis;

View File

@ -43,11 +43,11 @@ pFlow::multiRotatingAxisMotion::multiRotatingAxisMotion(
: fileDictionary(objf, owner) : fileDictionary(objf, owner)
{ {
// if(! impl_readDictionary(*this) ) if(! impl_readDictionary(*this) )
// { {
// fatalErrorInFunction; fatalErrorInFunction;
// fatalExit; fatalExit;
// } }
} }
pFlow::multiRotatingAxisMotion::multiRotatingAxisMotion pFlow::multiRotatingAxisMotion::multiRotatingAxisMotion

View File

@ -105,7 +105,7 @@ public:
static static
auto noneComponent() auto noneComponent()
{ {
return multiRotatingAxis{}; return multiRotatingAxis();
} }
// TODO: make this method protected // TODO: make this method protected