Fix Balloon Next Index Persistance

- next sequential number for balloon on Page was
  not being preserved across save/restore
This commit is contained in:
wandererfan
2019-05-25 11:48:23 -04:00
committed by wmayer
parent da047abdd9
commit a0ea8b656b
6 changed files with 46 additions and 23 deletions

View File

@@ -49,6 +49,8 @@ public:
App::PropertyFloatConstraint Scale;
App::PropertyEnumeration ProjectionType; // First or Third Angle
App::PropertyInteger NextBalloonIndex;
/** @name methods override Feature */
//@{
@@ -91,7 +93,9 @@ public:
void requestPaint(void);
std::vector<App::DocumentObject*> getAllViews(void) ;
bool balloonPlacing;
DrawViewPart *balloonParent;
DrawViewPart *balloonParent; //could be many balloons on page?
int getNextBalloonIndex(void);
protected:
void onBeforeChange(const App::Property* prop);