forked from 1b-agent/opencadstudio-upstream
Import command interface for hatch association prompts
This commit is contained in:
1 parent
c947e1ce50
commit
14f6cae508
1 file changed
+1
-1
@@ -4455,7 +4455,7 @@ impl OpenCADStudio {
|
|||||||
self.command_line
|
self.command_line
|
||||||
.push_error(crate::t!("HATCHEDIT: hatch entity not found.").as_ref());
|
.push_error(crate::t!("HATCHEDIT: hatch entity not found.").as_ref());
|
||||||
} else {
|
} else {
|
||||||
use crate::command::HatchEditOperation;
|
use crate::command::{CadCommand, HatchEditOperation};
|
||||||
if matches!(&operation,HatchEditOperation::BeginAssociate) {
|
if matches!(&operation,HatchEditOperation::BeginAssociate) {
|
||||||
let associative=matches!(self.tabs[i].scene.document.get_entity(handle),Some(acadrust::EntityType::Hatch(h)) if h.is_associative);
|
let associative=matches!(self.tabs[i].scene.document.get_entity(handle),Some(acadrust::EntityType::Hatch(h)) if h.is_associative);
|
||||||
if associative {
|
if associative {
|
||||||
|
|||||||
Reference in new issue
Block a user