Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast This aligns our custom cast with other casts * All: Use explicit pointer syntax for freecad_cast
This commit is contained in:
@@ -194,7 +194,7 @@ bool Body::isSolidFeature(const App::DocumentObject *obj)
|
||||
// Datum objects are not solid
|
||||
return false;
|
||||
}
|
||||
if (auto transFeature = freecad_cast<PartDesign::Transformed>(obj)) {
|
||||
if (auto transFeature = freecad_cast<PartDesign::Transformed*>(obj)) {
|
||||
// Transformed Features inside a MultiTransform are not solid features
|
||||
return !transFeature->isMultiTransformChild();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user