Blender's debug mode only worked on startup:
- G.f's G_DEBUG flag was being erased in blenkernel/intern/blender.c's setup_app_data: G.f= bfd->globalf // added a line above it to fix this: if (G.f & G_DEBUG) bfd->globalf |=G_DEBUG; G.f= bfd->globalf; BPython: - debug info now only shown if Blender is started with '-d' option - added ~/.blender/scripts to modules sys.path - added two new functions to Blender.sys: basename and splitext - added doc for Blender.sys, updated other docs
This commit is contained in:
@@ -289,6 +289,12 @@ class Object:
|
||||
returned.
|
||||
"""
|
||||
|
||||
def getSize():
|
||||
"""
|
||||
Returns the object's size.
|
||||
@return: (SizeX, SizeY, SizeZ)
|
||||
"""
|
||||
|
||||
def getTracked():
|
||||
"""
|
||||
Returns the object's tracked object.
|
||||
@@ -421,7 +427,18 @@ class Object:
|
||||
@type name: String
|
||||
@param name: The new name for the object.
|
||||
"""
|
||||
|
||||
|
||||
def setSize(x, y, z):
|
||||
"""
|
||||
Sets the object's size.
|
||||
@type x: float
|
||||
@param x: The X size multiplier.
|
||||
@type y: float
|
||||
@param y: The Y size multiplier.
|
||||
@type z: float
|
||||
@param z: The Z size multiplier.
|
||||
"""
|
||||
|
||||
def shareFrom(object):
|
||||
"""
|
||||
Link data of self with object specified in the argument. This works only
|
||||
|
||||
Reference in New Issue
Block a user