Don't crash when hovering one of the predefined workplanes.

pull/19/head
whitequark 2016-06-23 12:10:47 +00:00
parent a4e487d298
commit ced5b78420
1 changed files with 1 additions and 1 deletions

View File

@ -210,6 +210,7 @@ Vector Entity::GetReferencePos() {
case Type::NORMAL_N_ROT_AA: case Type::NORMAL_N_ROT_AA:
case Type::NORMAL_IN_3D: case Type::NORMAL_IN_3D:
case Type::NORMAL_IN_2D: case Type::NORMAL_IN_2D:
case Type::WORKPLANE:
case Type::CIRCLE: case Type::CIRCLE:
case Type::ARC_OF_CIRCLE: case Type::ARC_OF_CIRCLE:
case Type::CUBIC: case Type::CUBIC:
@ -230,7 +231,6 @@ Vector Entity::GetReferencePos() {
case Type::FACE_N_ROT_TRANS: case Type::FACE_N_ROT_TRANS:
case Type::FACE_N_TRANS: case Type::FACE_N_TRANS:
case Type::FACE_N_ROT_AA: case Type::FACE_N_ROT_AA:
case Type::WORKPLANE:
break; break;
} }
ssassert(false, "Unexpected entity type"); ssassert(false, "Unexpected entity type");