Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector Level - Custom palette order not saved. #2758

Open
melieconiek opened this issue Sep 7, 2019 · 4 comments
Open

Vector Level - Custom palette order not saved. #2758

melieconiek opened this issue Sep 7, 2019 · 4 comments
Labels

Comments

@melieconiek
Copy link
Contributor

Issue Summary

Palettes for vector levels do not save custom palette order (CTRL + Drag to move style.) Vector level palettes will revert to the numbered style order when the project is reloaded. This does not affect palettes for Toonz Raster levels and other, unlinked palette files.

Screenshot or Video Reference

This:
image
Reverts to this on reload:
image

Steps to Reproduce

  • Create a new vector level.
  • Add a few new styles.
  • CTRL drag them out of order.
  • Save and revert the scene.

Expected Results

The vector level's palette should retain the custom order you set.

Actual Results

The vector level's palette reverts to the numbered order.

System Information

  • OpenToonz Version: Latest nightly.
  • Operating System: Windows
@RodneyBaker
Copy link
Collaborator

RodneyBaker commented Sep 9, 2019

Looking into this now and initial tests confirm the changes to palette order for vectors is not being saved. I'll post additional findings here as I test more.

The order doesn't appear to be saved even when saving the Palette directly.
(For testing purpose I also assigned Ctrl + Shift + P to Save Palette) and that didn't work either.

I seem to recall a discussion about vector palettes that suggested some differences so will try to locate and check that information. More tests pending...

@RodneyBaker RodneyBaker added the bug label Sep 9, 2019
@RodneyBaker
Copy link
Collaborator

This does appear to be a failure of the vector palette to save.
Testing more deeply is required to determine exactly what is going on here.

@konero
Copy link
Contributor

konero commented May 23, 2020

The vector level isn't saving the chip indices. On reading an exported palette...

<indices>
    0 1 2 4 3
</indices>

But there's nothing in a blank vector PLI except the color chips for some reason.

PLIMG � OpenToonz 1.4 CM(f1)    � ���T
    �� colorsT��   �� color_1��   � � � �ÿT��   �� color_2��   
    �ª�����ÿT��   �� color_3��   �Ý� � �ÿT��   �� color_4��   
    �T�¨�J�ÿN��% 4 Q n ‹ V��  �Y� @P��  »  

@RodneyBaker
Copy link
Collaborator

This still appears to be an issue as of this date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants