Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: densming on Tue 10/02/2009 01:14:06

Title: Bug in View Editor
Post by: densming on Tue 10/02/2009 01:14:06
Just noticed a tiny bug in the View Editor.  If you create a loop from the view editor using the "Create New Loop" button, a "Delete last loop" button appears.  But, if you create a loop using "Assign to view" from the sprite editor, the delete loop button doesn't show up in the view.  If you want to delete the loop you just created, you have to click "Create New Loop" to create an empty loop so the delete button shows up, then you have to click the Delete Last Loop button twice (once for the new loop you just created and again for the loop you wanted to delete in the first place).  Is this intended functionality?
Title: Re: Bug in View Editor
Post by: Pumaman on Tue 10/02/2009 22:15:52
I tried doing this, but the Delete Last Loop button was always there as expected. Does it happen for you every time you try it?
Title: Re: Bug in View Editor
Post by: densming on Wed 11/02/2009 03:27:10
Yes, it's reproduce-able for me.  Here are the steps I did:

1.  Create a new view with no loops in it.  Keep this view open.
2.  Go to the Sprites editor, and select some sprites, right-click, and Assign to View.
3.  In the "Assign Sprites to View" dialog, select the view you just created and click OK.
4.  Now go back to the View.  The "Create new loop" button is there, but there's no "Delete last loop" button.
5.  If you click "Create new loop," the "Delete last loop" button will appear, and you can click it then click it again (to delete the first loop).

(I'm using v3.1.1.67)
Title: Re: Bug in View Editor
Post by: Pumaman on Wed 11/02/2009 18:32:08
Ah yes I do get this problem too if you assign to a view with no existing loops. I'll get it fixed for 3.1.3.