Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: nzlongfellow on July 21, 2015, 02:41:16 AM

Title: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 02:41:16 AM
When I add some effects to a model over several timing marks and then COPY one of the effect in a single timing then PASTE it to a new model it spans as many timing marks as where already filled in the Copy line.
See pics to explain.
Will post Shot 5 in next post.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 02:41:52 AM
Shot 5
Title: Re: Copy single bar - pastes to multiple bars
Post by: gerry on July 21, 2015, 05:32:25 AM
Hi,
Unlike LSP, the copy and paste is agnostic to timing marks ie it is the effect that is being copied and pasted.

Imagine you were copying the effect and there was no timing marks at all....

That's is also why if u do a copy starting say from a blank cell before the effect , when u paste it starts with the cell that had the effect. So u may then think that it is one cell off ....

Took me a while and some patient explanation from Gil before I understood as I had the LSP way fixed in my head.
Title: Re: Copy single bar - pastes to multiple bars
Post by: flyinverted on July 21, 2015, 05:53:09 AM
If you really like an effect, you can save it as a preset. When you apply the preset instead of cut/paste, the preset will be the length of the original.
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 21, 2015, 11:24:06 AM
Actually single effect copy/paste should fit the size of the selected cell.   Only multiple effect copies don't care about the timing marks.  So that looks like a bug.  It used the original end time instead of the cell end time.  Can you easily reproduce it?
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 11:29:57 AM
Gil it happens repeatable. If you look at the lines of butterfly effect they were from the First timing mark of the top line. They then filled the length of the top line deform I added an effect at the end. This this does not fit your theory of just filling to the end of the copied effect. Cheers.


Sent from my iPhone using Tapatalk
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 11:35:07 AM
Wonderful how IPhones fill in the wrong words ha ha. Deform is before, "this this" is this then. I did not try one from the centre.


Sent from my iPhone using Tapatalk
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 11:37:41 AM
Gerry thanks but as Gil says I should be able to select a single timing cell effect, copy it then paste it to a another single timing cell.


Sent from my iPhone using Tapatalk
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 21, 2015, 01:03:32 PM
What I said was the effect you copied had an end time near 11 seconds.  When you pasted the end time was at the same 11 second mark.

Can you get it to happen anywhere else?  I've done that type of paste plenty of times without that issue occurring.  Maybe you hit a sweet spot where the math hits a boundary and fails due to roundoff of something.  We may need that exact sequence to reproduce it.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 21, 2015, 01:11:47 PM
At work now. I will have a play tonight.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 22, 2015, 04:42:40 PM
Here is a quick video of what is happening.

https://vimeo.com/134251654 (https://vimeo.com/134251654)
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 22, 2015, 05:37:37 PM
Ok I can't get it to do that so I need the sequence and files to reproduce your setup.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 22, 2015, 06:05:38 PM
Ok will post them later. Cheers.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 23, 2015, 01:16:25 AM
I have repeated it with a new sequence and the same song. Using Windows 7.

1) Opened new Musical sequence.
2) Added Beat, Bars and Note onsets.
3) Dragged effects into top model
4) Copied to other models. Always goes to the end of the one above when placed to start at the sequence start beat.

I trust I have sent correct files.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 23, 2015, 01:21:26 AM
Just created another sequence just using Bars and different song and same issue. Cheers
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 23, 2015, 07:24:11 AM
Maybe your PC was developed using Common Core math...  I'm guessing the "nz" is new Zealand so your probably not in the US and don't get the joke.  There's been a politically based push to change how our kids are taught math here and that's what I'm joking on.  We were all taught to "carry the one" when we added two numbers now my kids have to call it "regrouping".  They also had some crazy way of drawing pictures to do division.  I sat down in 10 minutes and taught my daughter how to do division and so now she can get the right answer but has trouble drawing the stupid pictures which takes forever to do.

Anyways it's morning and I just got to work so I can't look at this for several hours.
Title: Re: Copy single bar - pastes to multiple bars
Post by: nzlongfellow on July 23, 2015, 03:27:59 PM
Our government introduced New Maths base on the USA system so I know exactly what you are saying. Cheers
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 23, 2015, 06:59:59 PM
Ok I found and fixed this.  It didn't hit me when you were showing this to me but the error only occurs in the first column because when I checked for a valid column number it was checking for greater than 0 instead of greater than or equal to zero since 0 is a valid column.  Thanks for catching this.
Title: Re: Copy single bar - pastes to multiple bars
Post by: Gilrock on July 23, 2015, 07:01:20 PM
For a temporary workaround looks like you got room to place another timing mark at the front then that column would be 1 and work as valid..