Trying to fix bug reported by Peter den Bak and Meino Christian Cramer (thanks!):
-- splash screen disappeared (duh, I did that!) and Blender quits upon exiting from some 225 games: It was troublesome to find how to run demos in general with the screen correctly redrawn before they started, etc. Ended up making the above error in screenmain(). About the games, I don't have them and will need some time to get the files for testing, but I'll do it, though only on linux. BPython: -- Window: added GetScreens, SetScreen and improved GetScreenInfo. -- Object, NMesh: updated (added in NMesh) method getMaterials to return either only valid materials as before or also empty slots (as None). This previous omission can be considered a bug, since it made info about materials incomplete / incompatible with face mat indices. Thanks Yann Vernier for bringing this up and sending/proposing a patch that also fixed a bug related to assigning lists of materials with different lengths to obj and its mesh. setMaterials also accepts Py_None entries now, which become empty slots in Blender. -- doc updates.
This commit is contained in:
@@ -53,11 +53,11 @@ The Blender Python API Reference
|
||||
Introduction:
|
||||
-------------
|
||||
|
||||
This Reference documents the Blender Python API, a growing collection of
|
||||
Python modules (libs) that give access to part of the program's internal data
|
||||
and functions.
|
||||
This reference documents the Blender Python API, a growing collection of
|
||||
Python modules (libraries) that give access to part of the program's internal
|
||||
data and functions.
|
||||
|
||||
Through scripting, Blender can be extended in realtime. Possibilities range
|
||||
Through scripting Blender can be extended in realtime. Possibilities range
|
||||
from simple functionality to importers / exporters and even more complex
|
||||
"applications". Blender scripts are written in
|
||||
U{Python <www.python.org>}, an impressive high level, multi-paradigm,
|
||||
@@ -66,7 +66,8 @@ The Blender Python API Reference
|
||||
@author: The Blender Python Team
|
||||
@requires: Blender 2.34 or newer.
|
||||
@version: 2.34
|
||||
@see: U{www.blender.org<http://www.blender.org>}
|
||||
@see: U{www.blender.org<http://www.blender.org>}: documentation and forum
|
||||
@see: U{www.elysiun.com<http://www.elysiun.com>}: user forum
|
||||
@see: U{projects.blender.org<http://projects.blender.org>}
|
||||
@see: U{www.python.org<http://www.python.org>}
|
||||
@see: U{www.python.org/doc<http://www.python.org/doc>}
|
||||
|
||||
Reference in New Issue
Block a user