diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-07 02:24:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-07 02:24:14 +0400 |
commit | a791cfc5d3103eab975220144356048b8e1a0149 (patch) | |
tree | 56011a45bf7360012486b129a59bc38d15916f58 /source | |
parent | 85d75077a6f21e175689ae0317d5847e321a43c4 (diff) |
[#19206] Fix MD2 Vertex Normal Export
from Calvin Loncaric (marvinx03)
[#18965] Blender Load and Run need fully qualified specs
[#18966] getMaterials not used
from Roger Wickes (roger)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/doc/Blender.py | 3 | ||||
-rw-r--r-- | source/blender/python/api2_2x/doc/Object.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Blender.py b/source/blender/python/api2_2x/doc/Blender.py index 8767df43ee1..97461cec361 100644 --- a/source/blender/python/api2_2x/doc/Blender.py +++ b/source/blender/python/api2_2x/doc/Blender.py @@ -150,6 +150,7 @@ def Load (filename = None): @param filename: the pathname to the desired file. If 'filename' isn't given or if it contains the substring '.B.blend', the default .B.blend file is loaded. + Cannot use relative qualifier (//). use cleanpath(expandpath(filespec)). @warn: loading a new .blend file removes the current data in Blender. For safety, this function saves the current data as an auto-save file in @@ -196,6 +197,8 @@ def Run (script): @param script: the name of an available Blender Text (use L{Text.Get}() to get a complete list) or the full pathname to a Python script file in the system. + Cannot use relative qualifier (//). use cleanpath(expandpath(filespec)). + @note: the script is executed in its own context -- with its own global dictionary -- as if it had been executed from the Text Editor or chosen from a menu. diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py index c5ce7a4d2bf..212ff95ef74 100644 --- a/source/blender/python/api2_2x/doc/Object.py +++ b/source/blender/python/api2_2x/doc/Object.py @@ -851,6 +851,8 @@ class Object: of being ignored (default way). See L{NMesh.NMesh.getMaterials}. @rtype: list of Material Objects @return: list of Material Objects assigned to the object. + @warn. Not used much. To get a list of the materials assigned to the object, + use mat=ob.getData(mesh=1).materials instead """ def getMatrix(space = 'worldspace'): |