Removed non-existing Tools from the Blender module.
This allowed me to get Python working in Blender. Maarten
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# The Blender main module wrapper
|
# The Blender main module wrapper
|
||||||
# (c) 06/2001, NaN // strubi@blender.nl
|
# (c) 06/2001, NaN // strubi@blender.nl
|
||||||
|
|
||||||
__all__ = ["Object", "Image", "NMesh", "Window", "Mesh", "Tools", "sys",
|
__all__ = ["Object", "Image", "NMesh", "Window", "Mesh", "sys",
|
||||||
"Lamp", "Scene", "Draw", "Camera", "Material", "Types", "Ipo",
|
"Lamp", "Scene", "Draw", "Camera", "Material", "Types", "Ipo",
|
||||||
"BGL"]
|
"BGL"]
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ Redraw = _Blender.Redraw
|
|||||||
link = _Blender.link
|
link = _Blender.link
|
||||||
bylink = _Blender.bylink
|
bylink = _Blender.bylink
|
||||||
|
|
||||||
import Object, Image, Mesh, Window, Tools, sys, Lamp, Scene, Draw, Camera
|
import Object, Image, Mesh, Window, sys, Lamp, Scene, Draw, Camera
|
||||||
import Material, NMesh, BGL, Types, Ipo, Text
|
import Material, NMesh, BGL, Types, Ipo, Text
|
||||||
|
|
||||||
deg = lambda x: 0.0174532925199 * x # conversion from degrees to radians
|
deg = lambda x: 0.0174532925199 * x # conversion from degrees to radians
|
||||||
|
Reference in New Issue
Block a user