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

Reset Callback #9

Open
tokejepsen opened this issue Jan 15, 2016 · 7 comments
Open

Reset Callback #9

tokejepsen opened this issue Jan 15, 2016 · 7 comments

Comments

@tokejepsen
Copy link
Member

Goal

To enable Pyblish to get a proper reset, rather than having to close down Pyblish/terminal and reissue a publish command from the host.

Motivation

A lot of confusion can happen when users hit the reset button, but still get failures of validation repairs they have already made.

Implementation

With callbacks, we could subscribe to a "reset" signal, which could in turn find the host and trigger the publish command. This would be implemented in each host separately.

@mottosso
Copy link
Member

Sorry I'm not following, you want a publish to happen when the user resets?

Are we talking about this reset-button here?

image

@tokejepsen
Copy link
Member Author

Sorry I'm not following, you want a publish to happen when the user resets?

When a user, for example in TV Paint, wants to publish the scene, they hit a "Publish" button in TV Paint. The mechanism for this is George script, so its a hack to make it work with Pyblish. Basically writing a batch script to execute.
When the user hits the reset-button in the GUI, they are getting the same information as before because the batch script hasn't been updated. With a callback to TV Paint to rewrite the batch script and execute, the Pyblish environment would be properly updated with new data from TV Paint.

@mottosso
Copy link
Member

Ah I see. Ok, sounds like quite a specific problem in this case, but having a callback for Reset either way sounds expected so why not!

@tokejepsen
Copy link
Member Author

sounds like quite a specific problem in this case

I think this might be the same for all extension that utilize pyblish-standalone, as I would do the same with After Effects.

@mottosso
Copy link
Member

Ah that's great!

@tokejepsen
Copy link
Member Author

In theory you could write a lot of callbacks to make Pyblish interact with TV Paint/After Effects in the same way as Maya/Nuke.

@mottosso
Copy link
Member

I like the sound of that.

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

No branches or pull requests

2 participants