Fix validation for perspective/lock_outer
This commit is contained in:
parent
36e5275418
commit
e7e56ef5e0
|
@ -178,7 +178,7 @@ namespace {
|
|||
STR_HELP("When the surrounding plane is also visible, switches which quad is locked. If inactive, the inner quad can only be resized without changing the perspective plane. If active, this holds for the outer quad instead.")
|
||||
|
||||
bool Validate(const agi::Context *c) override {
|
||||
return c->videoDisplay->ToolIsType(typeid(VisualToolPerspective)) && c->videoDisplay->GetSubTool() | PERSP_OUTER;
|
||||
return c->videoDisplay->ToolIsType(typeid(VisualToolPerspective)) && c->videoDisplay->GetSubTool() & PERSP_OUTER;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue