Skip to content

Commit

Permalink
maintenance, improvements
Browse files Browse the repository at this point in the history
cmds. transferAttributes instead of cmds.polyTransfer , without construction history
single -cfi instance of Rizom
uvSet's are intact upon each transfer
improvements
  • Loading branch information
adevra committed Sep 25, 2024
1 parent 889fb3a commit 9e80d22
Show file tree
Hide file tree
Showing 6 changed files with 174 additions and 165 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ Initially started as an update for the Official Origami Digital Maya 2018 Bridge
- **Material Assignment Preservation**: Maintains original material assignments after UV data is transferred back to Maya.
- **Modern UI**: Script UI now matches the RizomUV 2024 colors

## Repository Structure

This repository includes support for both Python 2 and Python 3 versions of Maya:

- `/RizomUV Bridge 2024/`: Scripts for Maya versions using Python 3.
- `/RizomUV Bridge 2024 py2/`: Scripts for Maya versions using Python 2.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions RizomUV Bridge 2024/drag_and_drop_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def onMayaDroppedPythonFile(*args):
try:
installer_directory = os.path.dirname(__file__)
script_file_path = os.path.join(installer_directory, "maya_rizomuv_bridge_2024.py")
script_file_path = os.path.join(installer_directory, "maya_rizomuv_bridge.py")
shelf_icon_path = os.path.join(installer_directory, "rzmuv.png")

if not os.path.exists(script_file_path):
Expand Down Expand Up @@ -80,7 +80,7 @@ def onMayaDroppedPythonFile(*args):
style="iconOnly",
marginWidth=1,
marginHeight=1,
command="import maya_rizomuv_bridge; maya_rizomuv_bridge.show_rizom_uv_bridge_ui()"
command="import maya_rizomuv_bridge; maya_rizomuv_bridge.createUI()"
)

cmds.confirmDialog(message="Script successfully installed to: {0}".format(scripts_dir),
Expand Down
Loading

0 comments on commit 9e80d22

Please sign in to comment.