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

Improved scene path dialogues #1288

Merged
merged 10 commits into from
Apr 28, 2015
Merged

Conversation

johnhaddon
Copy link
Member

This implements Mathias' request to filter the path chooser to only show cameras when picking the render camera. It turned out to be a bit more involved than I thought it might, but along the way I've fixed a couple of important bugs that cropped up in the paths framework, and improved the path choosers for all scene paths. The "filtering paths based on a Filter node" functionality also gives us the basis for #48.

@andrewkaufman
Copy link
Contributor

Needs a rebase

This tongue twister uses any of the GafferScene::Filter nodes to implement a Gaffer::PathFilter to filter the children of a GafferScene::ScenePath.
This is analogous to the method of the same name on FileSystemPath, and makes it easy to construct a filter based on sets.
This appears to have been broken since the last minute attribute->property rename in GafferHQ#1190, and was preventing the search box in file open dialogues from working.
This allows customisations to the dialogue contents to be made.
This may be overridden by derived classes to provide more control over the appearance of the dialogue.
This is a subclass of PathPlugValueWidget specialised for choosing paths within a scene. It supports metadata for controlling filtering based on set membership.
@johnhaddon
Copy link
Member Author

Rebased.

andrewkaufman added a commit that referenced this pull request Apr 28, 2015
@andrewkaufman andrewkaufman merged commit b80c09d into GafferHQ:master Apr 28, 2015
@johnhaddon johnhaddon deleted the cameraChooser branch April 29, 2015 14:53
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.

2 participants