Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: algerdes on June 10, 2020, 02:10:42 PM

Title: Duplicate Model in xsq
Post by: algerdes on June 10, 2020, 02:10:42 PM
I am getting a "duplicate model: second instance ignored" when I start a test sequence I created.  It is in the "new format".

Not sure how a second copy was allowed to be saved in the file. 
This is a simple sequence to test a few props.
Title: Re: Duplicate Model in xsq
Post by: Ebuechner on June 10, 2020, 02:47:17 PM
This duplicate most likely happened because you had a space in front of the name of the model.
Title: Re: Duplicate Model in xsq
Post by: algerdes on June 10, 2020, 07:26:08 PM
Possibly, but leading spaces did not show up when I went into the .xsq file.  I use Notepad++.  Shows just about everything.

In any case, a simple delete of the extra line and all was well with the world again.

Just thought the occurrence may be of interest in that it was allowed during some write.



Title: Re: Duplicate Model in xsq
Post by: Gilrock on June 12, 2020, 07:49:33 AM
Yeah but what he meant is if you had one with the space and one without xLights would remove the space and then it shows as a duplicate so you would need to go back to before xLights changed it to see.
Title: Re: Duplicate Model in xsq
Post by: algerdes on June 13, 2020, 08:37:30 PM
Thanks for the clarification Gil.  Understood.