python api

removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.
This commit is contained in:
2007-03-12 06:21:58 +00:00
parent 268fdb7425
commit 021cd4aac3
12 changed files with 88 additions and 200 deletions

View File

@@ -125,12 +125,5 @@ class Text:
@return: A list of strings, one for each line in the buffer
"""
def makeCurrent():
"""
Display this text in the current 3d view if any
@rtype: None
@return: None
"""
import id_generics
Text.__doc__ += id_generics.attributes