Sketcher: Fix deactivated Block bug (#24548)
* Sketcher: Fix deactivated Block bug * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Sketch.cpp * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -155,7 +155,7 @@ bool Sketch::analyseBlockedGeometry(const std::vector<Part::Geometry*>& internal
|
||||
|
||||
for (auto c : constraintList) {
|
||||
// is block driving
|
||||
if (c->Type == Sketcher::Block && c->isDriving && c->First == geoindex) {
|
||||
if (c->Type == Sketcher::Block && c->isActive && c->First == geoindex) {
|
||||
blockisDriving = true;
|
||||
}
|
||||
// We have another driving constraint (which may be InternalAlignment)
|
||||
|
||||
Reference in New Issue
Block a user