Skip to content

Conversation

@johnhaddon
Copy link
Member

These were made redundant by #6726, so it makes sense to remove them for Gaffer 1.7.

This is completely superceded by PlugCreationWidget.
LayoutPlugValueWidget and PlugCreationWidget provide everything we need.
Copy link
Contributor

@murraystevenson murraystevenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks John! One suggestion inline, but otherwise this looks good to merge.

GafferUI.PlugWidget( self.getPlug()["type"] )
GafferUI.PlugWidget( self.getPlug()["data"] )
GafferUI.CompoundDataPlugValueWidget( self.getPlug()["parameters"] )
GafferUI.PlugValueWidget.create( self.getPlug()["parameters"] )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth also registering the below to prevent ObjectPlugs from appearing in the menu?

"outputs.*.parameters" : {

	"plugCreationWidget:excludedTypes" : "Gaffer.ObjectPlug",

},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Review

Development

Successfully merging this pull request may close these issues.

2 participants