bungnoid / zootoolbox

Automatically exported from code.google.com/p/zootoolbox
12 stars 10 forks source link

Skeleton Builder presets do not work #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Selecting create preset or manage presets fails. The zoo user directory must be 
deleted before the skeleton builder can be started again.

What version of the product are you using? On what operating system?
Maya 2012, Win7 64

CREATE PRESET

#   File 
"C:/Users/jpronk/Documents/maya/scripts\zooPyMaya\skeletonBuilderUI.py", line 
275, in __init__
#     MelButton( self, l=names.camelCaseToNice( preset.name() ), 
c=self.on_load, w=160 )
# AttributeError: 'NoneType' object has no attribute 'name' # 

MANAGE PRESETS 

#   File "C:/Users/jpronk/Documents/maya/scripts\zooPyMaya\presetsUI.py", line 
70, in populate
#     other = self.otherLocale()
# AttributeError: 'PresetLayout' object has no attribute 'otherLocale' # 

Original issue reported on code.google.com by jeremypr...@gmail.com on 27 Jan 2012 at 6:00

GoogleCodeExporter commented 8 years ago
I've found you can save/load presets by calling the functions directly. Simple 
workaround for now...

import zooToolbox
import zooPyMaya.baseSkeletonPreset
zooPyMaya.baseSkeletonPreset.writePresetToFile(zooPy.path.Path('path goes 
here'))
zooPyMaya.baseSkeletonPreset.loadPresetFile(zooPy.path.Path('path goes here'))

Original comment by jeremypr...@gmail.com on 3 Feb 2012 at 6:18