mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +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:
@@ -299,7 +299,10 @@ public class InstantiationManager {
|
|||||||
|
|
||||||
loadComponentShapeFromTemplate(component, template);
|
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
|
// Write to recent components
|
||||||
List<String> recentComponentTypes =
|
List<String> recentComponentTypes =
|
||||||
|
|||||||
@@ -4177,5 +4177,21 @@
|
|||||||
</changes>
|
</changes>
|
||||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
</org.diylc.appframework.update.Version>
|
</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>
|
</a>
|
||||||
</java.util.Arrays_-ArrayList>
|
</java.util.Arrays_-ArrayList>
|
||||||
|
|||||||
@@ -123,8 +123,6 @@ PCB
|
|||||||
PNP
|
PNP
|
||||||
Poles
|
Poles
|
||||||
Português
|
Português
|
||||||
Primary Lead Spacing
|
|
||||||
Primary Leads
|
|
||||||
Rectangle
|
Rectangle
|
||||||
Rev log
|
Rev log
|
||||||
S-G-D JFET
|
S-G-D JFET
|
||||||
@@ -134,8 +132,6 @@ SPDT
|
|||||||
SPDT (On/Off/On)
|
SPDT (On/Off/On)
|
||||||
SPDT (On/On)
|
SPDT (On/On)
|
||||||
SPST
|
SPST
|
||||||
Secondary Lead Spacing
|
|
||||||
Secondary Leads
|
|
||||||
Shorting
|
Shorting
|
||||||
Single - North
|
Single - North
|
||||||
Single - South
|
Single - South
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user