Removed non-existing Tools from the Blender module.
This allowed me to get Python working in Blender. Maarten
This commit is contained in:
parent
0bc5f2fa3f
commit
d48f993c55
|
@ -2,7 +2,7 @@
|
|||
# The Blender main module wrapper
|
||||
# (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",
|
||||
"BGL"]
|
||||
|
||||
|
@ -13,7 +13,7 @@ Redraw = _Blender.Redraw
|
|||
link = _Blender.link
|
||||
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
|
||||
|
||||
deg = lambda x: 0.0174532925199 * x # conversion from degrees to radians
|
||||
|
|
Loading…
Reference in New Issue