Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-07-25 20:55:45 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2004-07-25 20:55:45 +0400
commitc50e3f374fe08713b573559904c5f53d852c5e13 (patch)
treec5bc2eb290f96c6ad4916de6f5b15c57ffcb79a7 /source/blender/python/api2_2x/doc/Scene.py
parentfe9336eb880a1a97121e5f2a6a94c93870d4549b (diff)
BPython:
- new submodule Scene.Radio, for radiosity: still incomplete, but in shape for demos, updated SConscript to include it; - new functions in Window module; - doc updates: adding a todo file and a new start page for our docs: API_intro.py + other updates; - small fix in Ipo.c provided by Damien McGuinnes (thanks!): Nathan has a patch with IPO additions and fixes for this and more, but until it is committed, there's this fix for Ipo.getCurve('LocX'), LocY, Z and QuatW,X,Y,Z too, according to Damien. Other files: - radpreprocess.c: added check for "during_script()" so eventual msgs don't popup during scripts; - drawmesh.c: made a pointer (display list) be checked before accessed, fixes crash in scripts that forget to update display lists for subsurf meshes when a 3d view is in textured view mode. Script: updated bevel_center by Loic Berthe.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Scene.py')
-rw-r--r--source/blender/python/api2_2x/doc/Scene.py46
1 files changed, 11 insertions, 35 deletions
diff --git a/source/blender/python/api2_2x/doc/Scene.py b/source/blender/python/api2_2x/doc/Scene.py
index 1d84b95a229..35d709c02d8 100644
--- a/source/blender/python/api2_2x/doc/Scene.py
+++ b/source/blender/python/api2_2x/doc/Scene.py
@@ -3,7 +3,8 @@
"""
The Blender.Scene submodule.
-B{New}: L{Scene.play}, scriptLink methods: L{Scene.getScriptLinks}, ...
+B{New}: L{Scene.play}; scriptLink methods: L{Scene.getScriptLinks}, etc;
+L{Scene.getRadiosityContext}
Scene
=====
@@ -91,16 +92,6 @@ class Scene:
@param name: The new name.
"""
- def getWinSize():
- """
- @warn: B{Deprecated}: use RenderData.imageSizeX() and RenderData.imageSizeY()
- """
-
- def setWinSize(dimensions):
- """
- @warn: B{Deprecated}: use RenderData.imageSizeX() and RenderData.imageSizeY
- """
-
def copy(duplicate_objects = 1):
"""
Make a copy of this Scene.
@@ -113,26 +104,6 @@ class Scene:
@return: The copied Blender Scene.
"""
- def startFrame(frame = None):
- """
- @warn: B{Deprecated}: use RenderData.startFrame()
- """
-
- def endFrame(frame = None):
- """
- @warn: B{Deprecated}: use RenderData.endFrame()
- """
-
- def currentFrame(frame = None):
- """
- @warn: B{Deprecated}: use RenderData.currentFrame
- """
-
- def frameSettings(start = None, end = None, current = None):
- """
- @warn: B{Deprecated}: use RenderData.startFrame(), RenderData.endFrame, RenderData.currentFrame
- """
-
def makeCurrent():
"""
Make this Scene the currently active one in Blender.
@@ -149,14 +120,19 @@ class Scene:
The "full" update is a recent addition to this method.
"""
- def getRenderdir():
+ def getRenderingContext():
"""
- @warn: B{Deprecated}: use RenderData.getRenderPath()
+ Get the rendering context for this scene, see L{Render}.
+ @rtype: RenderData
+ @return: the render data object for this scene.
"""
- def getBackbufdir():
+ def getRadiosityContext():
"""
- @warn: B{Deprecated}: use RenderData.getBackbufPath()
+ Get the radiosity context for this scene, see L{Radio}.
+ @rtype: Blender Radiosity
+ @return: the radiosity object for this scene.
+ @note: only the current scene can return a radiosity context.
"""
def getChildren():