MCPcopy Create free account
hub / github.com/ActiveState/code / getValues

Method getValues

recipes/Python/111969_Blender/recipe-111969.py:30–41  ·  view source on GitHub ↗

returns the dictionary of values. if no values are supplied this instance is returned as a dictionary.

(self, values)

Source from the content-addressed store, hash-verified

28 return pattern
29
30 def getValues(self, values):
31 """ returns the dictionary of values.
32 if no values are supplied this
33 instance is returned as a dictionary."""
34 if values == None:
35 if self.BlendValues == None:
36 values = self.__dict__
37 else:
38 values = self.BlendValues
39 if type(values) != types.DictionaryType:
40 values = values.__dict__
41 return values
42
43 def getBasePattern(self, values):
44 """returns a pattern in the format

Callers 1

blendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected