if (bbGetInputIn()!=NULL)
{
vtkPolyDataNormals* normal = vtkPolyDataNormals::New();
- normal->SetAutoOrientNormals(false);
- normal->SetConsistency(false);
+// Automatically change the orientation fo normals, put it from inside to outside
+// normal->SetAutoOrientNormals(true);
+ normal->SetConsistency(true);
+// this force to not change the order of triangles, keep the original order
+// normal->SetAutoOrientNormals(false);
+// normal->SetConsistency(false);
+
normal->SetInputData( bbGetInputIn() );
if (bbGetInputComputeType()==0)
{