Mesh: Use freecad_cast whenever possible
This commit is contained in:
committed by
Benjamin Nauck
parent
6d99872b0f
commit
81c772938e
@@ -40,7 +40,7 @@ TransformDemolding::TransformDemolding()
|
||||
|
||||
App::DocumentObjectExecReturn* TransformDemolding::execute()
|
||||
{ /*
|
||||
Feature *pcFirst = dynamic_cast<Feature*>(Source.getValue());
|
||||
Feature *pcFirst = freecad_cast<Feature*>(Source.getValue());
|
||||
if (!pcFirst || pcFirst->isError())
|
||||
return new App::DocumentObjectExecReturn("Unknown Error");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user