> - intrForceN->SetNumberOfComponents(1);
> + vtkSmartPointer<vtkFloatArray> intrAbsForceT =
> vtkSmartPointer<vtkFloatArray>::New();
> + if(recActive[REC_CPM]) {
> + intrForceN->SetNumberOfComponents(1);
> + } else {
> + intrForceN->SetNumberOfComponents(3);
> + }
NO!!! Are you crazy? I don't care if you add another array, or if forceN
has 3 components, but why should it be DIFFERENT for cpm? Oh please
uncommit that.
Besides that did you TRY to get those cylinders? I don't think it will
work even if you same forceN like this. How do you make the cylinder
height unstaled and the radius scaled?
v
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp