forked from wdas/partio
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue wdas#10 partio shelf has been created with updated icon for par…
…tioImport as well.
- Loading branch information
Showing
2 changed files
with
133 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
global proc shelf_Partio4Maya () { | ||
global string $gBuffStr; | ||
global string $gBuffStr0; | ||
global string $gBuffStr1; | ||
|
||
|
||
shelfButton | ||
-enableCommandRepeat 1 | ||
-enable 1 | ||
-width 35 | ||
-height 35 | ||
-manage 1 | ||
-visible 1 | ||
-preventOverride 0 | ||
-annotation "partioVisualizer;" | ||
-enableBackground 0 | ||
-align "center" | ||
-label "partioVisualizer" | ||
-labelOffset 0 | ||
-font "plainLabelFont" | ||
-overlayLabelColor 0.8 0.8 0.8 | ||
-overlayLabelBackColor 0 0 0 0.2 | ||
-image "partioVisualizer_shelf.png" | ||
-image1 "partioVisualizer_shelf.png" | ||
-style "iconOnly" | ||
-marginWidth 1 | ||
-marginHeight 1 | ||
-command "catch(`loadPlugin \"partio4Maya\"`); \nstring $node = `createNode -n \"partioVizShape1\" partioVisualizer`;\nconnectAttr \"time1.outTime\" ($node+\".time\");\n\n\n" | ||
-sourceType "mel" | ||
-commandRepeatable 1 | ||
; | ||
shelfButton | ||
-enableCommandRepeat 1 | ||
-enable 1 | ||
-width 35 | ||
-height 35 | ||
-manage 1 | ||
-visible 1 | ||
-preventOverride 0 | ||
-annotation "partioEmitter" | ||
-enableBackground 0 | ||
-align "center" | ||
-label "partioEmitter" | ||
-labelOffset 0 | ||
-font "plainLabelFont" | ||
-overlayLabelColor 0.8 0.8 0.8 | ||
-overlayLabelBackColor 0 0 0 0.2 | ||
-image "partioEmitter_shelf.png" | ||
-image1 "partioEmitter_shelf.png" | ||
-style "iconOnly" | ||
-marginWidth 1 | ||
-marginHeight 1 | ||
-command "catch(`loadPlugin \"partio4Maya\"`);\nstring $node = `createNode -n \"partioEmitter1\" partioEmitter`;" | ||
-sourceType "mel" | ||
-commandRepeatable 1 | ||
; | ||
shelfButton | ||
-enableCommandRepeat 1 | ||
-enable 1 | ||
-width 35 | ||
-height 35 | ||
-manage 1 | ||
-visible 1 | ||
-preventOverride 0 | ||
-annotation "partioInstancer;" | ||
-enableBackground 0 | ||
-align "center" | ||
-label "partioInstancer;" | ||
-labelOffset 0 | ||
-font "plainLabelFont" | ||
-overlayLabelColor 0.8 0.8 0.8 | ||
-overlayLabelBackColor 0 0 0 0.2 | ||
-image "partioInstancer_shelf.png" | ||
-image1 "partioInstancer_shelf.png" | ||
-style "iconOnly" | ||
-marginWidth 1 | ||
-marginHeight 1 | ||
-command "catch(`loadPlugin \"partio4Maya\"`); \nstring $node = `createNode -n \"partioInstShape1\" partioInstancer`;\nconnectAttr \"time1.outTime\" ($node+\".time\");" | ||
-sourceType "mel" | ||
-commandRepeatable 1 | ||
; | ||
shelfButton | ||
-enableCommandRepeat 1 | ||
-enable 1 | ||
-width 35 | ||
-height 35 | ||
-manage 1 | ||
-visible 1 | ||
-preventOverride 0 | ||
-annotation "partioExportGui" | ||
-enableBackground 0 | ||
-align "center" | ||
-label "partioExportGui" | ||
-labelOffset 0 | ||
-font "plainLabelFont" | ||
-overlayLabelColor 0.8 0.8 0.8 | ||
-overlayLabelBackColor 0 0 0 0.2 | ||
-image "partioExport_shelf.png" | ||
-image1 "partioExport_shelf.png" | ||
-style "iconOnly" | ||
-marginWidth 1 | ||
-marginHeight 1 | ||
-command "catch(`loadPlugin \"partio4Maya\"`);\nsource partioExportGui.mel;\npartioExportGui;" | ||
-sourceType "mel" | ||
-commandRepeatable 1 | ||
; | ||
shelfButton | ||
-enableCommandRepeat 1 | ||
-enable 1 | ||
-width 35 | ||
-height 35 | ||
-manage 1 | ||
-visible 1 | ||
-preventOverride 0 | ||
-annotation "partioImport" | ||
-enableBackground 0 | ||
-align "center" | ||
-label "partioImport" | ||
-labelOffset 0 | ||
-font "plainLabelFont" | ||
-overlayLabelColor 0.8 0.8 0.8 | ||
-overlayLabelBackColor 0 0 0 0 | ||
-image "partioImport_shelf.png" | ||
-image1 "partioImport_shelf.png" | ||
-style "iconOnly" | ||
-marginWidth 1 | ||
-marginHeight 1 | ||
-command "catch(`loadPlugin \"partio4Maya\"`);\npartioImport -p \"partioImportShape\" -atr \"pointColor\" \"rgbPP\" \"/your/cache/path/goes/here.pts\";" | ||
-sourceType "mel" | ||
-commandRepeatable 1 | ||
; | ||
|
||
} |