Fix unresolved symbols in src/constraint.cpp when building libslvs.
parent
ba8202d54a
commit
5894efcfe5
|
@ -52,6 +52,8 @@ char *Constraint::DescriptionString(void) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef LIBRARY
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Delete all constraints with the specified type, entityA, ptA. We use this
|
// Delete all constraints with the specified type, entityA, ptA. We use this
|
||||||
// when auto-removing constraints that would become redundant.
|
// when auto-removing constraints that would become redundant.
|
||||||
|
@ -112,8 +114,6 @@ void Constraint::ConstrainCoincident(hEntity ptA, hEntity ptB) {
|
||||||
Entity::NO_ENTITY, Entity::NO_ENTITY, false, false);
|
Entity::NO_ENTITY, Entity::NO_ENTITY, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef LIBRARY
|
|
||||||
|
|
||||||
void Constraint::MenuConstrain(int id) {
|
void Constraint::MenuConstrain(int id) {
|
||||||
Constraint c;
|
Constraint c;
|
||||||
ZERO(&c);
|
ZERO(&c);
|
||||||
|
|
Loading…
Reference in New Issue