X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPrimitivesPlugin%2FPrimitivesPlugin_Sphere.cpp;h=24344f5a03c1d439a5dac23124d384019e610d36;hb=63d86e00e1e6a482fcad527ae0b883deccceed11;hp=c9c43d750ec8fa478d4cbe6b9b1b77281cbaa5e3;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp index c9c43d750..24344f5a0 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2019 CEA/DEN, EDF R&D +// Copyright (C) 2017-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -54,7 +54,7 @@ void PrimitivesPlugin_Sphere::initAttributes() data()->selection(PrimitivesPlugin_Sphere::CENTER_POINT_ID()); if (!aCenterPoint->isInitialized()) { ObjectPtr aPointObj = ModelAPI_Session::get()->moduleDocument() - ->objectByName(ModelAPI_ResultConstruction::group(), "Origin"); + ->objectByName(ModelAPI_ResultConstruction::group(), L"Origin"); if (aPointObj.get()) { ResultPtr aPointRes = std::dynamic_pointer_cast(aPointObj); aCenterPoint->setValue(aPointRes, std::shared_ptr());