diff --git a/src/Mod/Mesh/Gui/Command.cpp b/src/Mod/Mesh/Gui/Command.cpp index 5d275fbcf0..76d5e204e9 100644 --- a/src/Mod/Mesh/Gui/Command.cpp +++ b/src/Mod/Mesh/Gui/Command.cpp @@ -634,7 +634,7 @@ void CmdMeshVertexCurvatureInfo::activated(int iMsg) Gui::View3DInventorViewer* viewer = view->getViewer(); viewer->setEditing(true); viewer->setRedirectToSceneGraph(true); - viewer->setEditingCursor(QCursor(Gui::BitmapFactory().pixmap("mesh_pipette"),4,29)); + viewer->setEditingCursor(QCursor(Gui::BitmapFactory().pixmapFromSvg("mesh_pipette",QSize(32,32)),4,29)); viewer->addEventCallback(SoEvent::getClassTypeId(), MeshGui::ViewProviderMeshCurvature::curvatureInfoCallback); } diff --git a/src/Mod/Points/App/Points.cpp b/src/Mod/Points/App/Points.cpp index 2a593e4188..bc76f43207 100644 --- a/src/Mod/Points/App/Points.cpp +++ b/src/Mod/Points/App/Points.cpp @@ -149,8 +149,8 @@ void PointKernel::RestoreDocFile(Base::Reader &reader) void PointKernel::save(const char* file) const { - //MeshCore::MeshOutput aWriter(_kernel); - //aWriter.SaveAny(file); + Base::ofstream out(file, std::ios::out); + save(out); } void PointKernel::load(const char* file) @@ -160,7 +160,10 @@ void PointKernel::load(const char* file) void PointKernel::save(std::ostream& out) const { - //kernel.Write(out); + out << "# ASCII" << std::endl; + for (std::vector::const_iterator it = _Points.begin(); it != _Points.end(); ++it) { + out << it->x << " " << it->y << " " << it->z << std::endl; + } } void PointKernel::getFaces(std::vector &Points,std::vector &Topo, diff --git a/src/Mod/Sandbox/AppSandbox.sln b/src/Mod/Sandbox/AppSandbox.sln deleted file mode 100644 index d1abbc5211..0000000000 --- a/src/Mod/Sandbox/AppSandbox.sln +++ /dev/null @@ -1,29 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual C++ Express 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppSandbox", "App\AppSandbox.vcproj", "{567E0DD4-DC09-4736-8332-BF1901AB5F5A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppSandboxGui", "Gui\AppSandboxGui.vcproj", "{3BC653E4-F874-4605-8ACF-4F5996FD08C9}" - ProjectSection(ProjectDependencies) = postProject - {567E0DD4-DC09-4736-8332-BF1901AB5F5A} = {567E0DD4-DC09-4736-8332-BF1901AB5F5A} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {567E0DD4-DC09-4736-8332-BF1901AB5F5A}.Debug|Win32.ActiveCfg = Debug|Win32 - {567E0DD4-DC09-4736-8332-BF1901AB5F5A}.Debug|Win32.Build.0 = Debug|Win32 - {567E0DD4-DC09-4736-8332-BF1901AB5F5A}.Release|Win32.ActiveCfg = Release|Win32 - {567E0DD4-DC09-4736-8332-BF1901AB5F5A}.Release|Win32.Build.0 = Release|Win32 - {3BC653E4-F874-4605-8ACF-4F5996FD08C9}.Debug|Win32.ActiveCfg = Debug|Win32 - {3BC653E4-F874-4605-8ACF-4F5996FD08C9}.Debug|Win32.Build.0 = Debug|Win32 - {3BC653E4-F874-4605-8ACF-4F5996FD08C9}.Release|Win32.ActiveCfg = Release|Win32 - {3BC653E4-F874-4605-8ACF-4F5996FD08C9}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal