mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)
This commit is contained in:
@@ -298,8 +298,11 @@ public class InstantiationManager {
|
||||
}
|
||||
|
||||
loadComponentShapeFromTemplate(component, template);
|
||||
|
||||
fillWithDefaultProperties(component, template);
|
||||
|
||||
if (model == null) {
|
||||
// do not fill with defaults if creating by a model
|
||||
fillWithDefaultProperties(component, template);
|
||||
}
|
||||
|
||||
// Write to recent components
|
||||
List<String> recentComponentTypes =
|
||||
|
||||
@@ -4177,5 +4177,21 @@
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
<org.diylc.appframework.update.Version>
|
||||
<versionNumber>
|
||||
<major>4</major>
|
||||
<minor>34</minor>
|
||||
<build>0</build>
|
||||
</versionNumber>
|
||||
<releaseDate>2022-11-16 00:00:00.000 CET</releaseDate>
|
||||
<name></name>
|
||||
<changes>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
</a>
|
||||
</java.util.Arrays_-ArrayList>
|
||||
|
||||
@@ -123,8 +123,6 @@ PCB
|
||||
PNP
|
||||
Poles
|
||||
Português
|
||||
Primary Lead Spacing
|
||||
Primary Leads
|
||||
Rectangle
|
||||
Rev log
|
||||
S-G-D JFET
|
||||
@@ -134,8 +132,6 @@ SPDT
|
||||
SPDT (On/Off/On)
|
||||
SPDT (On/On)
|
||||
SPST
|
||||
Secondary Lead Spacing
|
||||
Secondary Leads
|
||||
Shorting
|
||||
Single - North
|
||||
Single - South
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user