[TD]Welding Symbol Editor alpha release
This commit is contained in:
@@ -47,12 +47,12 @@ DrawTile::DrawTile(void)
|
||||
{
|
||||
static const char *group = "Tile";
|
||||
|
||||
Base::Vector3d defOrg(0.0, 0.0, 0.0);
|
||||
// Base::Vector3d defOrg(0.0, 0.0, 0.0);
|
||||
ADD_PROPERTY_TYPE(TileParent,(0),group,(App::PropertyType)(App::Prop_None),
|
||||
"Object to which this tile is attached");
|
||||
ADD_PROPERTY_TYPE(TileRow, (0), group, App::Prop_None, "Row in parent");
|
||||
ADD_PROPERTY_TYPE(TileColumn, (0), group, App::Prop_None, "Column in parent");
|
||||
ADD_PROPERTY_TYPE(TileOrigin, (defOrg), group, App::Prop_None, "Width limit before auto wrap");
|
||||
// ADD_PROPERTY_TYPE(TileOrigin, (defOrg), group, App::Prop_None, "Width limit before auto wrap");
|
||||
}
|
||||
|
||||
DrawTile::~DrawTile()
|
||||
@@ -81,7 +81,7 @@ App::DocumentObjectExecReturn *DrawTile::execute(void)
|
||||
|
||||
DrawView* DrawTile::getParent(void) const
|
||||
{
|
||||
Base::Console().Message("DT::getParent() - %s\n", getNameInDocument());
|
||||
// Base::Console().Message("DT::getParent() - %s\n", getNameInDocument());
|
||||
DrawView* result = nullptr;
|
||||
App::DocumentObject* baseObj = TileParent.getValue();
|
||||
if (baseObj != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user