| 100 | } |
| 101 | |
| 102 | void FeatureCompound::removeObject(DocumentObject* obj) |
| 103 | { |
| 104 | std::vector<DocumentObject*> grp = Group.getValues(); |
| 105 | for (std::vector<DocumentObject*>::iterator it = grp.begin(); it != grp.end(); ++it) { |
| 106 | if (*it == obj) { |
| 107 | grp.erase(it); |
| 108 | Group.setValues(grp); |
| 109 | break; |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | PyObject* FeatureCompound::getPyObject() |
| 115 | { |