FEM: Correctly implement Drag/Drop for post objects
This commit is contained in:
committed by
Benjamin Nauck
parent
3f87627484
commit
f90b7a5755
@@ -143,6 +143,13 @@ void FemPostGroupExtension::onExtendedUnsetupObject()
|
||||
}
|
||||
}
|
||||
|
||||
bool FemPostGroupExtension::allowObject(App::DocumentObject* obj)
|
||||
{
|
||||
// only filters may be added
|
||||
return obj->isDerivedFrom(Fem::FemPostFilter::getClassTypeId());
|
||||
}
|
||||
|
||||
|
||||
void FemPostGroupExtension::recomputeChildren()
|
||||
{
|
||||
for (const auto& obj : Group.getValues()) {
|
||||
|
||||
Reference in New Issue
Block a user