panthera icon indicating copy to clipboard operation
panthera copied to clipboard

Binding a gui file that includes templates stops several editor features form working

Open freya-schneeya opened this issue 1 year ago • 4 comments

Strange Editor behaviours I noticed in gui files that include a template:

  • Nodes that are listed below the first template in the hierarchy are not included in the hierarchy tree
  • Ctrl+z removes every node from the tree
  • Setting the timeline cursor to a specific time does not update the animation to that point

freya-schneeya avatar Nov 11 '24 10:11 freya-schneeya

Same issue here. GUI files with a template cause problems for me too. It breaks texture rendering in Panthera (textures don’t appear until I reselect them) and displays incorrect node sizes.

How it looks in Defold: Image

How it looks in Panthera: Image And: Image

Defold: 1.10.0 Panthera: Panthera 2.0 Editor v894

ReanimatorXP avatar Apr 29 '25 14:04 ReanimatorXP

Thanks! Do you use windows or mac?

Insality avatar Apr 30 '25 09:04 Insality

I'm on Windows 10

ReanimatorXP avatar May 01 '25 09:05 ReanimatorXP

I found some issues with a paths on windows, will report here after a fix

Insality avatar May 24 '25 11:05 Insality

Please, can you check the latest version to see is it correctly loading the your files?

Insality avatar Jul 06 '25 19:07 Insality

I wanted to try with the current release, but couldn't get to that point. Seems like something went wrong during startup and I couldn't use panthera (see image). Tried the previous release, that one still works fine. I'm on Linux btw.

Image

freya-schneeya avatar Jul 07 '25 12:07 freya-schneeya

Thanks for the reply, will check this

Insality avatar Jul 08 '25 15:07 Insality

@freya-schneeya hello, can you check this build?

Panthera2.0_2.0.1101_release_linux.zip

Insality avatar Jul 08 '25 20:07 Insality

I checked, and unfortunately nothing had changed. If there are templates in the .gui file, the textures may still be broken.

Image

If I delete the template from the .gui file and then open it in Panthera again, it works fine (at least, the textures are correct).

Image

The template itself works fine. I can open it and see the textures.

Image

I tried the latest version available on the releases page: v2.0.1100 (931e4e3) Windows

ReanimatorXP avatar Jul 11 '25 09:07 ReanimatorXP

Thanks for the report!

Insality avatar Jul 11 '25 13:07 Insality

@ReanimatorXP @freya-schneeya Hello again! Can we check this builds is it works for you?

Panthera2.0_2.0.1108_release_linux_arm.zip Panthera2.0_2.0.1108_release_linux.zip Panthera2.0_2.0.1108_release_windows.zip

Insality avatar Jul 11 '25 21:07 Insality

It works great for me! Looks like it's fixed :)

freya-schneeya avatar Jul 12 '25 04:07 freya-schneeya

I don't know what happened, but it works now :)

I launched the Panthera version you gave me, opened the project, and saw broken textures again. I created a new project, bound defold gui, but it didn't help.

Then I double-clicked on “continue_button” (template node) - it opened as a separate project. Everything was fine with the button. When I returned to the main project, the textures were suddenly restored, but they were displayed incorrectly.

I recreated the project again, and now everything works as it should! I tried several times - closing and opening Panthera again and again, creating new Panthera projects, opening old ones - now everything works as it should!

Great job!

Image

ReanimatorXP avatar Jul 12 '25 11:07 ReanimatorXP

Great news! Thanks for the response

Will hope it will works for others too :)

Insality avatar Jul 12 '25 12:07 Insality

Updated the latest release with the fixes, so hope it will be better now, thanks!

Insality avatar Jul 13 '25 21:07 Insality