static Slvs_hGroup myGroupIndex; ///< index of the group
};
-Slvs_hGroup GroupIndexer::myGroupIndex = 0;
+Slvs_hGroup GroupIndexer::myGroupIndex = SLVS_G_OUTOFGROUP;
static void sendMessage(const char* theMessageName)
std::vector<Slvs_Param>::iterator aParIter = aParams.begin();
for (; aParIter != aParams.end(); aParIter++) {
aParIter->h = SLVS_E_UNKNOWN; // the ID should be generated by storage
- aParIter->group = myID;
+ aParIter->group = SLVS_G_OUTOFGROUP;
aParIter->h = myStorage->addParameter(*aParIter);
}
std::vector<Slvs_Entity>::iterator anEntIter = anEntities.begin();
for (; anEntIter != anEntities.end(); anEntIter++) {
anEntIter->h = SLVS_E_UNKNOWN; // the ID should be generated by storage
- anEntIter->group = myID;
+ anEntIter->group = SLVS_G_OUTOFGROUP;
anEntIter->wrkpl = myWorkplaneID;
for (int i = 0; i < 4; i++)
if (anEntIter->param[i] != SLVS_E_UNKNOWN)