- updateArrows(DimensionAspect(), GetValue(), aTextSize,
- (SketcherPrs_Tools::LocationType)(aLocationTypeAttr->value()));
+ SketcherPrs_Tools::LocationType aLocationType = aLocAttr->isInitialized() ?
+ (SketcherPrs_Tools::LocationType)(aLocAttr->value()) : SketcherPrs_Tools::LOCATION_AUTOMATIC;
+ updateArrows(DimensionAspect(), GetValue(), aTextSize, aLocationType);