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
) 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;

View File

@ -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

View File

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