mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Fixed the issue that prevented old DIYLC v1 and v2 files to be opened
This commit is contained in:
@@ -3446,6 +3446,10 @@
|
|||||||
<changeType>IMPROVEMENT</changeType>
|
<changeType>IMPROVEMENT</changeType>
|
||||||
<description>When editing component properties, group Length and Width properties together</description>
|
<description>When editing component properties, group Length and Width properties together</description>
|
||||||
</org.diylc.appframework.update.Change>
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>Fixed the issue that prevented old DIYLC v1 and v2 files to be opened</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
<org.diylc.appframework.update.Change>
|
<org.diylc.appframework.update.Change>
|
||||||
<changeType>BUG_FIX</changeType>
|
<changeType>BUG_FIX</changeType>
|
||||||
<description>Rotating 'Neutrik Jack' produces rendering issues</description>
|
<description>Rotating 'Neutrik Jack' produces rendering issues</description>
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ public class ProjectFileManager {
|
|||||||
parsers = new ArrayList<IOldFileParser>();
|
parsers = new ArrayList<IOldFileParser>();
|
||||||
Set<Class<?>> componentTypeClasses = null;
|
Set<Class<?>> componentTypeClasses = null;
|
||||||
try {
|
try {
|
||||||
componentTypeClasses = Utils.getClasses("org.diylc.parsing");
|
componentTypeClasses = Utils.getClasses("org.diylc.serialization");
|
||||||
for (Class<?> clazz : componentTypeClasses) {
|
for (Class<?> clazz : componentTypeClasses) {
|
||||||
if (!Modifier.isAbstract(clazz.getModifiers()) && IOldFileParser.class.isAssignableFrom(clazz)) {
|
if (!Modifier.isAbstract(clazz.getModifiers()) && IOldFileParser.class.isAssignableFrom(clazz)) {
|
||||||
IOldFileParser instance = (IOldFileParser) clazz.newInstance();
|
IOldFileParser instance = (IOldFileParser) clazz.newInstance();
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user