-
Notifications
You must be signed in to change notification settings - Fork 0
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
Do not upload a range 1-200 if the representation is only one frame #28
Comments
Currently I fixed an issue with uppercase or mixed case extension, like But now I will look for the configuration in settings to properly upload image not png review if an image has been set as review. |
I also re-enable the Thumbnail integration, that was mistakenly disabled by the Ayon code merge operation. |
I added a special case when publishing with the tray Publisher to use the file count instead of the default project anatomy frame range. The main changes: bec104e |
@hfarre Test it when you have time, and if you have specific test cases that can be problematic don 't hesitate |
@hfarre following our talk: Maybe the best should be that in the tracker, asset have values for: AND the variant reference has it This should be the best of all worlds. |
This sounds good, but to be applied, it implies that this will only concider "reference" variant But it's only maybe and hypothésis... For the moment we don't have enough vision on those specific case :s |
It's not an issue every time you want to ignore frame range for a specific task / variant, simply update the correct column / template in the tacker (kitsu) and the value will be properly propagate and then use in the Tray publisher. |
Of course if won't be an on/off bool available everywhere but at list you can properly configure the behavior directly on the tracker (for you and the coordos) |
Test done to publish a single frame throught the traypublisher But for the moment, it works perfectly fine for a single image ! |
Like I said, I think the best way would be to remove this addition I currently added: if asset_entity["type"] == "asset":
# For asset frameEnd need to be computed based on the file count of each representation
# Setting 0 to specify this need to be computed
collected_data["frameEnd"] = 0
instance.data["frameEnd"] = 0 And add the proper default data directly in the tracker, if you specified We could also add the ability to disable the retrieval of the data from the tracker but IMO this isn't a good idea. |
Yes, we'll take care of that later. I'll validate my review on the PR and we'll be able to merge it |
Since on kitsu it's not currently possible to override asset custom properties for tasks, the frame range cannot be override for specific tasks... We will change the special collector for the frame range data and put it optional with ability to disable it (no a big fan to put more power in hand of artists but not other good choice) |
I change the method to disable the retrieval of the frame range, now a newly added collector can be disable from the tray publisher settings. Last thing to add is a condition configurable in the settings to skip task(s), will do it tomorrow |
Currently in the Standalone Publisher if you add a representation of only one frame, 200 frames are published (range from 1-200), it's a bug.
Goal
Fix this incorrect behavior
The text was updated successfully, but these errors were encountered: