GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

8M Downloads

[BUG] Creating LOOP Block inside a LOOP Creates a NEW Outside LOOP

LarryThiessen opened this issue ยท 4 comments

commented

๐Ÿ”ต Describe the bug:

  • Creating LOOP Block inside a LOOP Creates a NEW Outside LOOP

See ScreenShot Example

Loop Block 2

  • MacroBlock 2.4 > Clicked NEW LOOP
  • Should have Created 2.4.1 but Created 2.5 with 2.5.1 which is a new Loop Block

๐Ÿ”ต To reproduce: (Steps to reproduce the behavior)

  1. Create or use exsisting Sequence
  2. Create a LOOP Block
  3. Click NEW LOOP on a Block inside that LOOP
  4. See Outside LOOP Created

๐Ÿ”ต Screenshots:
Image

๐Ÿ”ต Expected behavior:

  • For the Addon to Create a Loop INSIDE the LOOP current Block Not create a NEW Outside LOOP

๐Ÿ”ต Desktop (please complete the following information):

  • Windows 10 64bit]

๐Ÿ”ต GSE Version:

  • GSE v3.2.24-13-g068b174-PatronBuild
  • Downloaded From: [GSE-Discord]

๐Ÿ”ต Additional Centext

  • Also cant Manually Change Block Number to 2.4.1 - the Block disappears
commented

This is working as designed.

Which of the three are you clicking to create the loop. (Below I am using ABCD to be the 4 buttons.)

Block type: XXXX ABCD. <โ€”โ€” these create at the same level so the action will appear outside the loop.

To create inside the loop you need to click the block inside.

Block Type: repeat ABCD. <โ€”โ€” Same Level as the repeat so level 2 will create as 3
Block Type: Action ABCD. <โ€”โ€”โ€” Same level as the action (inside the repeat) so level 2.1 will create as 2.2

commented

On the Repeat Block 2.4 > Clicked the Icon to Create Inside Loop and it created an Outside Loop 2.5 > 2.5.1

commented

Yes with your loop at 2.4 and you create a loop on the repeat block at 2.4 it will create the loop at 2.5 (the same level as the repeat) and create the first action in the new loop at 2.5.1

If you want the loop at 2.4.2 you want to create the loop by clicking on the action at 2.4.1 (inside the loop) not the repeat at 2.4. Creating at 2.4.1 will create the loop at 2.4.2 (same level as the action) with the first action in the new loop at 2.4.2.1

commented

Fair enough - loosing my mind I guess