Fix possible crash in various view providers, fix formatting of Coin debug output, fix warning and compiler errors with Coin2 in SoDatumLabel
This commit is contained in:
@@ -115,7 +115,7 @@ bool ViewProviderChamfer::onDelete(const std::vector<std::string> &)
|
||||
{
|
||||
// get the support and Sketch
|
||||
PartDesign::Chamfer* pcChamfer = static_cast<PartDesign::Chamfer*>(getObject());
|
||||
App::DocumentObject *pcSupport;
|
||||
App::DocumentObject *pcSupport = 0;
|
||||
if (pcChamfer->Base.getValue()){
|
||||
pcSupport = static_cast<Sketcher::SketchObject*>(pcChamfer->Base.getValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user