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

Enhancement, fix #281, #274 and #119 #304

Merged
merged 5 commits into from
Oct 2, 2018
Merged

Conversation

davidlatwe
Copy link
Collaborator

@davidlatwe davidlatwe commented Oct 1, 2018

This PR provide 2 fix and 1 extra feature:

Before

qml_enhance_before

After

qml_enhance_after

@davidlatwe davidlatwe requested a review from mottosso October 1, 2018 15:35
@mottosso
Copy link
Member

mottosso commented Oct 1, 2018

Scattered instances. Sometimes instances that belong to same family get scattered to multiple sections.

This is intentional.

The instances are displayed in the order they are processed, and it's a feature of Pyblish to be able to arrange (and re-arrange) the instance order inside the context.

class MyCollector(...):
  ...
  def process(self, context):
    context[:] = sorted(context, key=lambda i: i.data["someKey"])

@davidlatwe
Copy link
Collaborator Author

davidlatwe commented Oct 1, 2018

:O sorry, didn't know that !
Reverted.

Will update those gif later :)

@davidlatwe
Copy link
Collaborator Author

Comment updated. GIF replaced and the PR description also renewed.

@mottosso
Copy link
Member

mottosso commented Oct 1, 2018

Loving it! Welcome to merge and release once you're happy :)

@BigRoy
Copy link
Member

BigRoy commented Oct 2, 2018

This is great stuff David!

@mottosso mottosso merged commit 485aad9 into pyblish:master Oct 2, 2018
@davidlatwe davidlatwe deleted the enhance branch October 2, 2018 07:53
davidlatwe added a commit to davidlatwe/pyblish-qml that referenced this pull request Oct 2, 2018
davidlatwe added a commit that referenced this pull request Oct 6, 2018
Fix #304, increase QML initialization waiting time
davidlatwe added a commit to davidlatwe/pyblish-qml that referenced this pull request Oct 7, 2018
davidlatwe added a commit to davidlatwe/pyblish-qml that referenced this pull request Oct 7, 2018
User operation will not be able to continue if the validation failed during
the publish, since the logic to interrupt publish when validation failed is
taking place in the beginning of extraction.

In the state machine, `extracting` state will need to transition to `finished`
when the validation failed, and since it's not able to do so, operation
can't continue, due to the stop button didn't change to reset button.

This commit fixed that.
davidlatwe added a commit that referenced this pull request Oct 9, 2018
Fix state machine transision bug from PR #304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toggling family groups More accurate statuses.
3 participants