Fix mixed line endings
This commit is contained in:
@@ -79,7 +79,7 @@ HarmonizeNormals::~HarmonizeNormals()
|
||||
App::DocumentObjectExecReturn *HarmonizeNormals::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -108,7 +108,7 @@ FlipNormals::~FlipNormals()
|
||||
App::DocumentObjectExecReturn *FlipNormals::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -137,7 +137,7 @@ FixNonManifolds::~FixNonManifolds()
|
||||
App::DocumentObjectExecReturn *FixNonManifolds::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -166,7 +166,7 @@ FixDuplicatedFaces::~FixDuplicatedFaces()
|
||||
App::DocumentObjectExecReturn *FixDuplicatedFaces::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -195,7 +195,7 @@ FixDuplicatedPoints::~FixDuplicatedPoints()
|
||||
App::DocumentObjectExecReturn *FixDuplicatedPoints::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -224,7 +224,7 @@ FixDegenerations::~FixDegenerations()
|
||||
App::DocumentObjectExecReturn *FixDegenerations::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -254,7 +254,7 @@ FixDeformations::~FixDeformations()
|
||||
App::DocumentObjectExecReturn *FixDeformations::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -285,7 +285,7 @@ FixIndices::~FixIndices()
|
||||
App::DocumentObjectExecReturn *FixIndices::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -316,7 +316,7 @@ FillHoles::~FillHoles()
|
||||
App::DocumentObjectExecReturn *FillHoles::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
@@ -348,7 +348,7 @@ RemoveComponents::~RemoveComponents()
|
||||
App::DocumentObjectExecReturn *RemoveComponents::execute()
|
||||
{
|
||||
App::DocumentObject* link = Source.getValue();
|
||||
if (!link)
|
||||
if (!link)
|
||||
return new App::DocumentObjectExecReturn("No mesh linked");
|
||||
App::Property* prop = link->getPropertyByName("Mesh");
|
||||
if (prop && prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
|
||||
|
||||
Reference in New Issue
Block a user