+ fixes #0001735: Ellipsoids visibility problems
This commit is contained in:
@@ -26,18 +26,9 @@
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "ViewProviderSphereParametric.h"
|
||||
|
||||
|
||||
//#include "Tree.h"
|
||||
|
||||
|
||||
|
||||
using namespace PartGui;
|
||||
using namespace std;
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
@@ -45,7 +36,6 @@ using namespace std;
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderSphereParametric, PartGui::ViewProviderPart)
|
||||
|
||||
|
||||
ViewProviderSphereParametric::ViewProviderSphereParametric()
|
||||
{
|
||||
sPixmap = "Tree_Part_Sphere_Parametric.svg";
|
||||
@@ -56,13 +46,34 @@ ViewProviderSphereParametric::~ViewProviderSphereParametric()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
std::vector<std::string> ViewProviderSphereParametric::getDisplayModes(void) const
|
||||
{
|
||||
// get the modes of the father
|
||||
std::vector<std::string> StrList;
|
||||
|
||||
// add your own modes
|
||||
StrList.push_back("Flat Lines");
|
||||
StrList.push_back("Shaded");
|
||||
StrList.push_back("Wireframe");
|
||||
StrList.push_back("Points");
|
||||
|
||||
return StrList;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderEllipsoid::ViewProviderEllipsoid()
|
||||
{
|
||||
sPixmap = "Tree_Part_Ellipsoid_Parametric.svg";
|
||||
}
|
||||
|
||||
ViewProviderEllipsoid::~ViewProviderEllipsoid()
|
||||
{
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderEllipsoid::getDisplayModes(void) const
|
||||
{
|
||||
std::vector<std::string> StrList;
|
||||
|
||||
// add your own modes
|
||||
|
||||
Reference in New Issue
Block a user