mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 12:24:58 +10:00
warning on unknown op
This commit is contained in:
+8
-1
@@ -130,8 +130,15 @@ public class AiEditScriptEditor implements IProjectEditor {
|
||||
}
|
||||
|
||||
private void apply(AiEditOperation op, IAiEditHandler handler, AiEditContext context) {
|
||||
// an action this version does not know is skipped, as it always has been
|
||||
// the service may be newer than this build and propose actions it does not know yet; those
|
||||
// are skipped so that the rest of the script still applies
|
||||
if (handler == null) {
|
||||
if (op.getAction() != null) {
|
||||
warnings.add("Operation '" + op.getAction() + "'"
|
||||
+ (op.getComponentName() != null ? " on " + op.getComponentName() : "")
|
||||
+ " is not supported by this version of DIYLC and was skipped."
|
||||
+ " Please upgrade to the latest version.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
@@ -669,6 +669,10 @@
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>AI Assistant can actively participate in circuit design, make changes to the project and designs circuits from scratch</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added 6PDT and 6PDT On/Off/On toggle switch types</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Rotating and mirroring the selection with 'Sticky Points' enabled now keeps the circuit connected, the same way moving it does - wires and leads stuck to the selection stay attached to their pins, and other rigid components stuck to it are rotated or mirrored along with it</description>
|
||||
|
||||
Reference in New Issue
Block a user