}
bool SketchPlugin_Arc::isFixed() {
- return data()->selection(EXTERNAL_ID())->context();
+ return data()->selection(EXTERNAL_ID())->context().get();
}
bool SketchPlugin_Arc::isFeatureValid()
}
bool SketchPlugin_Circle::isFixed() {
- return data()->selection(EXTERNAL_ID())->context();
+ return data()->selection(EXTERNAL_ID())->context().get();
}
void SketchPlugin_Circle::attributeChanged(const std::string& theID) {
{
AttributeSelectionPtr aAttr = data()->selection(EXTERNAL_ID());
if (aAttr)
- return aAttr->context();
+ return aAttr->context().get();
return false;
}
}
bool SketchPlugin_Line::isFixed() {
- return data()->selection(EXTERNAL_ID())->context();
+ return data()->selection(EXTERNAL_ID())->context().get();
}
void SketchPlugin_Line::attributeChanged(const std::string& theID) {
}
bool SketchPlugin_Point::isFixed() {
- return data()->selection(EXTERNAL_ID())->context();
+ return data()->selection(EXTERNAL_ID())->context().get();
}
void SketchPlugin_Point::attributeChanged(const std::string& theID) {