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:
authorCampbell Barton <ideasman42@gmail.com>2010-02-01 00:52:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-01 00:52:26 +0300
commitfd3842f3a2b9f92fabec6268271429200b2713bd (patch)
treea5c408ce5260de6636b2581abb74a0fcdcd6bf0f /release
parent02c6d160d7332feaed3efd1a6378406966a25bb1 (diff)
Mathutils doc improvements + other small things
- bpy.app moved into PyStructSequence (used by sys.float_info) - added buildinfo into bpy.app.build_* - bpy.ui removed (wasnt used) - include external example files in Mathutils docs (only Mathutils and Vector are currently written) - added support to auto document PyStructSequence's - CMake had "'s inside all its strings.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/bpy/__init__.py3
-rw-r--r--release/scripts/modules/bpy/app.py52
2 files changed, 1 insertions, 54 deletions
diff --git a/release/scripts/modules/bpy/__init__.py b/release/scripts/modules/bpy/__init__.py
index e4a2dfa5b05..e307b253780 100644
--- a/release/scripts/modules/bpy/__init__.py
+++ b/release/scripts/modules/bpy/__init__.py
@@ -20,14 +20,13 @@
# internal blender C module
import _bpy
-from _bpy import types, props
+from _bpy import types, props, app
data = _bpy.data
context = _bpy.context
# python modules
from bpy import utils
-from bpy import app
from bpy import ops as _ops_module
diff --git a/release/scripts/modules/bpy/app.py b/release/scripts/modules/bpy/app.py
deleted file mode 100644
index 26011ca5c2e..00000000000
--- a/release/scripts/modules/bpy/app.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# ##### BEGIN GPL LICENSE BLOCK #####
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-# <pep8 compliant>
-
-"""
-This module contains application values that remain unchanged during runtime.
-
-.. data:: version
-
- The Blender version as a tuple of 3 numbers. eg. (2, 50, 11)
-
-
-.. data:: version_string
-
- The Blender version formatted as a string.
-
-.. data:: home
-
- The blender home directory, normally matching $HOME
-
-.. data:: binary_path
-
- The location of blenders executable, useful for utilities that spawn new instances.
-
-.. data:: debug
-
- Boolean, set when blender is running in debug mode (started with -d)
-
-"""
-# constants
-import _bpy
-version = _bpy._VERSION
-version_string = _bpy._VERSION_STR
-home = _bpy._HOME
-binary_path = _bpy._BINPATH
-debug = _bpy._DEBUG