Page 1 of 1
auto break instance question
Posted: 11 Apr 2014, 18:07
by furushil
I have a sequence on 2s and want to paste a brush in place on several instances. I select the instances and paste in place but TVPaint breaks the instances so that the sequence is on 1s.
The same thing happens when I want to clear some instances in a sequence (on 2s). When I select the section and hit backspace TVPaint breaks the instances.
The auto break instance option in the program is off so I don't know why it is doing that.
Does anyone know how I can clear or paste without breaking the instances?
I know that you could mark some frames delete one exposure, paste the brush and then add one exposure again but it is not a good solution for me.
Re: auto break instance question
Posted: 12 Apr 2014, 16:35
by ZigOtto
- to clear without breaking instance(s), use the "Clear Instance" button from the Animator Panel
(the one with a white square as icon) ;
- to Paste-in-Place a customBrush on several instances without breaking them, well, afaik, we have actually
2 ways, the easiest consists to embed these following 2 commands in a custom button :
Code: Select all
Tools: Custom Brush Stamp in Place
Layers: Recompute Exposures
of cource, button assignable to a hotkey .
the other way is script based button,
tell me if you're interested, the script works fine here, but I can't guarantee for others
(computer/OS/tvpa versions/...)
Re: auto break instance question
Posted: 12 Apr 2014, 21:31
by furushil
ZigOtto wrote:- to clear without breaking instance(s), use the "Clear Instance" button from the Animator Panel
(the one with a white square as icon) ;
This is somehow not working for me. When I select 4 frames with 2 instances hold for 2 frames and click on the white square, it breaks the instances and I get 4 instances.
I try to check and uncheck the "auto break instance" option (Image->Instances->auto break instances) but it has no difference.
Unfortunately, I cannot use your other suggestion. I have to paste something very often and it is always a different brush (cut-brush).
Re: auto break instance question
Posted: 13 Apr 2014, 11:08
by ZigOtto
furushil wrote:This is somehow not working for me. When I select 4 frames with 2 instances hold for 2 frames and click on the white square, it breaks the instances and I get 4 instances.
I try to check and uncheck the "auto break instance" option (Image->Instances->auto break instances) but it has no difference.
can you check your "white square" button by RMB-edit ...
the embedded command should be
if not, LMB-clic on the line, Type Script's Command ... and copy/paste the command above,
name it f.i. "Clear Instances", then assign it to your Backspace Key.
- clearInstances.png (10.92 KiB) Viewed 21572 times
furushil wrote:... Unfortunately, I cannot use your other suggestion. I have to paste something very often and it is always a different brush (cut-brush).
have you created the custom button as I suggested in my previous post ?
once done and assigned to a hotkey, and whatever your custombrush and the frequency you'll use it,
this [Paste-in-Place+Recompute] command should work for any tvpaint user,
... or am I missing something in your specific workflow ...?
alternatively, you can get the same result without creating this custom button,
directly assign the 2 commands to a choosen free hotkey,
(Preference/ Keyboard Shorts Configure ... assign command1 + Ctrl-assign command2)
- stampinplace+recompute.png (23.8 KiB) Viewed 21573 times
Re: auto break instance question
Posted: 13 Apr 2014, 11:48
by furushil
ZigOtto wrote:
can you check your "white square" button by RMB-edit ...
the embedded command should be
ok, I checked that and my panel said this:
- Bildschirmfoto 2014-04-13 um 13.17.15.png (17.24 KiB) Viewed 21571 times
so I made a new button with your code and it worked, thank you!
I am actually really scared of code
because I think I could break the whole program or the program will run slower if I do something wrong.
I misunderstood you and thought you told me to assign the code to a custom brush not button.Now I tried your paste in place solution but the "Recompute Exposures" seems to get rid of the selected instances. When I hit the button the instances disappear.
Re: auto break instance question
Posted: 13 Apr 2014, 13:06
by furushil
I tried out the clear instance button again and realized that this is not a good solution for me.
Because now it always only clears the heads.
Let me explain:
I think the "clear the instance" button and "paste in place" (and other things) should be dependent on the "auto break instances" setting (Image->Instances->auto break instances). I always use the shortcut for "auto break instances" because sometimes I need to break them and sometimes not.
If I embed the command "tv_cmd heads tv_clear" it just switches the setting and it means that I would need two different buttons, one with clear the instances and break them and one with clear the heads.
Wouldn' t it be just logical to make everything depend on the auto break setting?
Re: auto break instance question
Posted: 14 Apr 2014, 12:55
by ZigOtto
furushil wrote:...
Wouldn' t it be just logical to make everything depend on the auto break setting?
yes, agreed, and the [auto-break Instance] behavior have been debated 1 year ago or so,
... particularily about the Transform tool behavior, which had changed from V9.x to v10.x
viewtopic.php?f=21&t=6705&start=15
I think (I hope ?) this request is already on the "To Do" list of the dev. team,
[Clear] and [Stamp-in-Place] shoud work in respect of the user's AutoBreak Setting as well,
and of course feel free to add your voice to this (important to my eyes) feature request thread.
for the time being, you have to set 2 different hotkeys, one breaking, the other not breaking,
f.i., Backspace to "Clear&Break", Shift Backspace to "Clear without Breaking",
in my worflow, I am personally using at 99% the "Clear-on-Heads-only" command, so I need only one shortkey,
and when I (rarely) need to Clear&break, I just have to do one more clic on the "Exposure Break" button of the Animator Panel,
or to hit my [Layer: Exposure Break] shortkey.
Re: auto break instance question
Posted: 14 Apr 2014, 13:12
by furushil
Ok, I see that it has been discussed before.
Maybe both threads can be merged then.
I also think the "auto break instance" setting should "rule them all".
Re: auto break instance question
Posted: 15 Apr 2014, 10:24
by Peter Wassink
a students just asked me: he wants the free transform to also break the instance,
why is it that only the pan breaks but transform and warp don't "listen" to the autobreak setting?
sorry if its a double question i haven't much time to dive in the thread
#edit#
well... i just did dive in and its a little confronting to see the state of my memory
viewtopic.php?f=21&t=6705&start=15
but it seems the request still stands
Re: auto break instance question
Posted: 15 Apr 2014, 12:51
by Fabrice
yes, we still have something in the todo list about breaking instances with the transform tool (& other tools).
we didn't forget it.
Re: auto break instance question
Posted: 15 Apr 2014, 13:52
by ZigOtto
Fabrice wrote:yes, we still have something in the todo list about breaking instances with the transform tool (& other tools).
we didn't forget it.
... and please, don't forget "
& other tools", such as "Clear" or "Stamp-in-Place",
which should work "by default" in respect of the user "AutoBreak" setting,
(as long as the user decides differently).
nothing to do with the Auto-Beak setting, but about
Stamp-in-Place,
I've noticed something I consider as a misbehavior :
- cut a custombrush,
- go to another frame in the timeline and [Stamp-in-Place] it,
- [Undo], select a range of frames and [Re-Apply]
unfortunately, it doesn't stamp the current custombrush in place along the selected range of frames ...
imo, it should do exactly as it does when we stamp it "manually" (with 1 LMB-clic in the project preview).
Re: auto break instance question
Posted: 15 Apr 2014, 14:30
by Fabrice
... and please, don't forget "& other tools", such as "Clear" or "Stamp-in-Place",
yes, I was referring to those ones, among others.