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

advance editor #41

Closed
Sidchou opened this issue May 19, 2022 · 6 comments
Closed

advance editor #41

Sidchou opened this issue May 19, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@Sidchou
Copy link

Sidchou commented May 19, 2022

some how the advance editor position of the image doesnt quite match the one in the window.
in advance editor position, ctrl + z undo multiple movement.
when i move the image frame, i have to re-center the image by toggleing the fill

@luckylyk
Copy link
Member

I'm not sure that I perfectly understand your issue.

To describe how it works: for some technical reasons, the picker view navigation is reset when you do a change in the editor. If your picker contains only one image, change his coordinates using advanced editor, view is fit to content, then nothing seems different. Actually, the coordinates are well changed.

I can investigate to break this automated camera change. But is it necessary, when you are editing the picker, I guess you are not really using the picker ?

Or you have another issue that I didn't get ?

@luckylyk luckylyk added help wanted Extra attention is needed question Further information is requested labels May 20, 2022
@Sidchou
Copy link
Author

Sidchou commented May 20, 2022

so when i move the picture element, the element move, but the actual image in the element doesnt move until i toggle fill, then the image will recenter, and i know the editor and picker doesnt match because the image line up differently relative to the buttons position, it just a couple of pixel off vertically

@luckylyk
Copy link
Member

Ok, ok, then I need more information as far as I struggle to reproduce that behavior.
I would like to know:

  • What is the Maya version
  • Maya using Py2 or Py3
  • Picker version is well the latest one
  • What do you mean by: 'toggle fill'
  • Is there any feedback (errors) in the script moving the element ?

@Sidchou
Copy link
Author

Sidchou commented May 20, 2022

Maya Ver:2020
python ver: 2.7.11
pick version is the latest one
so the image will follow the element frame if i just drag it around, but if i type in the number, the frame in the editor will move, but the picture in editor and both picture and element in the picker doesnt move. turning on and off the "fit to shape" (toggle) fix the editor part, but does not fix the picker
if i type in the position it doesnt apply to the picker, it will show up on the editor, and when i undo they just all snap back to where they were

@luckylyk
Copy link
Member

Ok, sorry for the misunderstanding, i got what you said:
if the property: 'fit to shape' is false and you edit the item size by editing the value in the attribute editor, then the picture coordinate are not refreshed. It is just a display issue as the dat are good.
I can reproduce it now and i will fix that asap.

@luckylyk luckylyk added bug Something isn't working and removed help wanted Extra attention is needed question Further information is requested labels May 22, 2022
@luckylyk
Copy link
Member

Ok bug fixed in the latest commit.
Some update trigger were missing at resize time.

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants