[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41054] branches/soc-2011-onion-uv-tools: merge with trunk 41052
Antony Riakiotakis
kalast at gmail.com
Sun Oct 16 16:45:01 CEST 2011
Revision: 41054
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41054
Author: psy-fi
Date: 2011-10-16 14:45:00 +0000 (Sun, 16 Oct 2011)
Log Message:
-----------
merge with trunk 41052
Modified Paths:
--------------
branches/soc-2011-onion-uv-tools/GNUmakefile
branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindGLEW.cmake
branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindOpenCOLLADA.cmake
branches/soc-2011-onion-uv-tools/build_files/cmake/RpmBuild.cmake
branches/soc-2011-onion-uv-tools/build_files/scons/tools/Blender.py
branches/soc-2011-onion-uv-tools/doc/manpage/blender.1.py
branches/soc-2011-onion-uv-tools/doc/python_api/rst/gpu.rst
branches/soc-2011-onion-uv-tools/doc/python_api/sphinx_doc_gen.py
branches/soc-2011-onion-uv-tools/intern/audaspace/FX/AUD_DynamicIIRFilterReader.cpp
branches/soc-2011-onion-uv-tools/intern/audaspace/FX/AUD_IIRFilterReader.cpp
branches/soc-2011-onion-uv-tools/intern/audaspace/intern/AUD_C-API.cpp
branches/soc-2011-onion-uv-tools/intern/audaspace/intern/AUD_NULLDevice.cpp
branches/soc-2011-onion-uv-tools/po/update_msg.py
branches/soc-2011-onion-uv-tools/release/scripts/startup/bl_ui/properties_data_curve.py
branches/soc-2011-onion-uv-tools/release/scripts/startup/bl_ui/space_view3d.py
branches/soc-2011-onion-uv-tools/scons/scons.py
branches/soc-2011-onion-uv-tools/source/blender/blenfont/intern/blf_font.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/constraint.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/gpencil.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/ipo.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/particle_system.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/pointcache.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/sequencer.c
branches/soc-2011-onion-uv-tools/source/blender/blenkernel/intern/sound.c
branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_path_util.h
branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_string.h
branches/soc-2011-onion-uv-tools/source/blender/blenlib/intern/bpath.c
branches/soc-2011-onion-uv-tools/source/blender/blenlib/intern/path_util.c
branches/soc-2011-onion-uv-tools/source/blender/blenlib/intern/string_utf8.c
branches/soc-2011-onion-uv-tools/source/blender/blenlib/intern/winstuff.c
branches/soc-2011-onion-uv-tools/source/blender/blenloader/BLO_readfile.h
branches/soc-2011-onion-uv-tools/source/blender/blenloader/intern/readfile.c
branches/soc-2011-onion-uv-tools/source/blender/blenloader/intern/writefile.c
branches/soc-2011-onion-uv-tools/source/blender/collada/AnimationImporter.cpp
branches/soc-2011-onion-uv-tools/source/blender/collada/DocumentImporter.cpp
branches/soc-2011-onion-uv-tools/source/blender/collada/ImageExporter.cpp
branches/soc-2011-onion-uv-tools/source/blender/editors/animation/anim_filter.c
branches/soc-2011-onion-uv-tools/source/blender/editors/gpencil/drawgpencil.c
branches/soc-2011-onion-uv-tools/source/blender/editors/gpencil/editaction_gpencil.c
branches/soc-2011-onion-uv-tools/source/blender/editors/include/ED_fileselect.h
branches/soc-2011-onion-uv-tools/source/blender/editors/interface/interface.c
branches/soc-2011-onion-uv-tools/source/blender/editors/interface/interface_anim.c
branches/soc-2011-onion-uv-tools/source/blender/editors/interface/interface_handlers.c
branches/soc-2011-onion-uv-tools/source/blender/editors/interface/interface_intern.h
branches/soc-2011-onion-uv-tools/source/blender/editors/interface/interface_regions.c
branches/soc-2011-onion-uv-tools/source/blender/editors/sculpt_paint/paint_image.c
branches/soc-2011-onion-uv-tools/source/blender/editors/sculpt_paint/paint_vertex.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_action/action_edit.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_file/file_draw.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_file/file_ops.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_file/filelist.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_file/filesel.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_graph/graph_draw.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_sequencer/sequencer_add.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_sequencer/sequencer_draw.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_sequencer/sequencer_edit.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_sequencer/space_sequencer.c
branches/soc-2011-onion-uv-tools/source/blender/editors/space_view3d/drawobject.c
branches/soc-2011-onion-uv-tools/source/blender/editors/transform/transform.c
branches/soc-2011-onion-uv-tools/source/blender/editors/transform/transform_input.c
branches/soc-2011-onion-uv-tools/source/blender/imbuf/intern/anim_movie.c
branches/soc-2011-onion-uv-tools/source/blender/imbuf/intern/indexer.c
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_action_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_constraint_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_gpencil_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_ipo_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_object_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesdna/DNA_userdef_types.h
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_gpencil.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_nodetree.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_object.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_object_force.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_particle.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_pose.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_scene.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_sequencer.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_userdef.c
branches/soc-2011-onion-uv-tools/source/blender/makesrna/rna_cleanup/rna_cleaner.py
branches/soc-2011-onion-uv-tools/source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py
branches/soc-2011-onion-uv-tools/source/blender/nodes/intern/node_exec.c
branches/soc-2011-onion-uv-tools/source/blender/nodes/intern/node_socket.c
branches/soc-2011-onion-uv-tools/source/blender/python/generic/IDProp.c
branches/soc-2011-onion-uv-tools/source/blender/python/generic/bgl.c
branches/soc-2011-onion-uv-tools/source/blender/python/generic/bpy_internal_import.c
branches/soc-2011-onion-uv-tools/source/blender/python/generic/noise_py_api.c
branches/soc-2011-onion-uv-tools/source/blender/python/generic/py_capi_utils.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_app.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_app_handlers.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_driver.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_interface.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_interface_atexit.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_library.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_operator.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_operator_wrap.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_props.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_rna.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_rna_anim.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_rna_array.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_traceback.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/bpy_util.c
branches/soc-2011-onion-uv-tools/source/blender/python/intern/gpu.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_Color.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_Euler.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_Matrix.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_Quaternion.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_Vector.c
branches/soc-2011-onion-uv-tools/source/blender/python/mathutils/mathutils_geometry.c
branches/soc-2011-onion-uv-tools/source/blender/windowmanager/intern/wm_event_system.c
branches/soc-2011-onion-uv-tools/source/creator/CMakeLists.txt
branches/soc-2011-onion-uv-tools/source/darwin/blender.app/Contents/Info.plist
branches/soc-2011-onion-uv-tools/source/gameengine/Converter/BL_BlenderDataConversion.cpp
branches/soc-2011-onion-uv-tools/source/gameengine/Ketsji/KX_PythonInit.cpp
Added Paths:
-----------
branches/soc-2011-onion-uv-tools/release/scripts/templates/driver_functions.py
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Info.plist
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/MacOS/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/MacOS/applet
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/PkgInfo
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads_applescript.scpt
Removed Paths:
-------------
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Info.plist
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/MacOS/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/MacOS/applet
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/PkgInfo
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/
branches/soc-2011-onion-uv-tools/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf
Property Changed:
----------------
branches/soc-2011-onion-uv-tools/
branches/soc-2011-onion-uv-tools/source/blender/editors/space_outliner/
Property changes on: branches/soc-2011-onion-uv-tools
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/blender:39665-40965
+ /trunk/blender:39665-41052
Modified: branches/soc-2011-onion-uv-tools/GNUmakefile
===================================================================
--- branches/soc-2011-onion-uv-tools/GNUmakefile 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/GNUmakefile 2011-10-16 14:45:00 UTC (rev 41054)
@@ -34,11 +34,14 @@
# Source and Build DIR's
BLENDER_DIR:=$(shell pwd -P)
-BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build/$(OS_NCASE)
BUILD_TYPE:=Release
BUILD_CMAKE_ARGS:=
+ifndef BUILD_DIR
+ BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build/$(OS_NCASE)
+endif
+
# -----------------------------------------------------------------------------
# additional targets for the build configuration
@@ -120,6 +123,9 @@
@echo " * headless - build without an interface (renderfarm or server automation)"
@echo " * bpy - build as a python module which can be loaded from python directly"
@echo ""
+ @echo " Note, passing the argument 'BUILD_DIR=path' when calling make will override the default build dir."
+ @echo ""
+ @echo ""
@echo "Project Files for IDE's"
@echo " * project_qtcreator - QtCreator Project Files"
@echo " * project_netbeans - NetBeans Project Files"
@@ -130,9 +136,8 @@
@echo " * package_pacman - build an arch linux pacmanpackage"
@echo " * package_archive - build an archive package"
@echo ""
- @echo "Other Targets"
+ @echo "Other Targets (not assosiated with building blender)"
@echo " * translations - update blenders translation files in po/"
- # TODO, doxygen and sphinx docs
@echo ""
@echo "Testing Targets (not assosiated with building blender)"
@echo " * test - run ctest, currently tests import/export, operator execution and that python modules load"
@@ -145,6 +150,11 @@
@echo " * check_splint - run blenders source through splint (C only)"
@echo " * check_sparse - run blenders source through sparse (C only)"
@echo ""
+ @echo "Documentation Targets (not assosiated with building blender)"
+ @echo " * doc_py - generate sphinx python api docs"
+ @echo " * doc_dna - generate blender file format reference"
+ @echo " * doc_man - generate manpage"
+ @echo ""
# -----------------------------------------------------------------------------
# Packages
@@ -222,6 +232,24 @@
cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_sparse.py
+# -----------------------------------------------------------------------------
+# Documentation
+#
+
+# Simple version of ./doc/python_api/sphinx_doc_gen.sh with no PDF generation.
+doc_py:
+ $(BUILD_DIR)/bin/blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py
+ cd doc/python_api ; sphinx-build -n -b html sphinx-in sphinx-out
+ @echo "docs written into: '$(BLENDER_DIR)/doc/python_api/sphinx-out/contents.html'"
+
+doc_dna:
+ $(BUILD_DIR)/bin/blender --background --factory-startup --python doc/blender_file_format/BlendFileDnaExporter_25.py
+ @echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'"
+
+doc_man:
+ python3 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender
+
+
clean:
$(MAKE) -C $(BUILD_DIR) clean
Modified: branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindGLEW.cmake
===================================================================
--- branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindGLEW.cmake 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindGLEW.cmake 2011-10-16 14:45:00 UTC (rev 41054)
@@ -51,9 +51,9 @@
ENDIF (WIN32)
IF (GLEW_INCLUDE_PATH)
- SET( GLEW_FOUND 1 CACHE STRING "Set to 1 if GLEW is found, 0 otherwise")
+ SET(GLEW_FOUND TRUE)
ELSE (GLEW_INCLUDE_PATH)
- SET( GLEW_FOUND 0 CACHE STRING "Set to 1 if GLEW is found, 0 otherwise")
+ SET(GLEW_FOUND FALSE)
ENDIF (GLEW_INCLUDE_PATH)
MARK_AS_ADVANCED( GLEW_FOUND )
Modified: branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindOpenCOLLADA.cmake
===================================================================
--- branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindOpenCOLLADA.cmake 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/build_files/cmake/Modules/FindOpenCOLLADA.cmake 2011-10-16 14:45:00 UTC (rev 41054)
@@ -53,10 +53,11 @@
)
# Fedora openCOLLADA package links these statically
+# note that order is important here ot it wont link
SET(_opencollada_FIND_STATIC_COMPONENTS
+ buffer
+ ftoa
UTF
- ftoa
- buffer
)
SET(_opencollada_SEARCH_DIRS
Modified: branches/soc-2011-onion-uv-tools/build_files/cmake/RpmBuild.cmake
===================================================================
--- branches/soc-2011-onion-uv-tools/build_files/cmake/RpmBuild.cmake 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/build_files/cmake/RpmBuild.cmake 2011-10-16 14:45:00 UTC (rev 41054)
@@ -3,17 +3,24 @@
# Authors: Rohit Yadav <rohityadav89 at gmail.com>
#
-find_program(RPMBUILD
- NAMES rpmbuild
- PATHS "/usr/bin")
+if(NOT DEFINED RPMBUILD)
-mark_as_advanced(RPMBUILD)
+ find_program(RPMBUILD
+ NAMES rpmbuild
+ PATHS "/usr/bin")
+ mark_as_advanced(RPMBUILD)
+
+ if(RPMBUILD)
+ message(STATUS "RPM Build Found: ${RPMBUILD}")
+ else(RPMBUILD)
+ message(STATUS "RPM Build Not Found (rpmbuild). RPM generation will not be available")
+ endif()
+
+endif()
+
if(RPMBUILD)
- get_filename_component(RPMBUILD_PATH ${RPMBUILD} ABSOLUTE)
- message(STATUS "Found rpmbuild : ${RPMBUILD_PATH}")
- set(RPMBUILD_FOUND "YES")
+ set(RPMBUILD_FOUND TRUE)
else(RPMBUILD)
- message(STATUS "rpmbuild NOT found. RPM generation will not be available")
- set(RPMBUILD_FOUND "NO")
-endif()
+ set(RPMBUILD_FOUND FALSE)
+endif()
\ No newline at end of file
Modified: branches/soc-2011-onion-uv-tools/build_files/scons/tools/Blender.py
===================================================================
--- branches/soc-2011-onion-uv-tools/build_files/scons/tools/Blender.py 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/build_files/scons/tools/Blender.py 2011-10-16 14:45:00 UTC (rev 41054)
@@ -582,6 +582,20 @@
commands.getoutput(cmd)
cmd = 'find %s/%s.app -name __MACOSX -exec rm -rf {} \;'%(installdir, binary)
commands.getoutput(cmd)
+ if env['CC'].endswith('4.6.1'): # for correct errorhandling with gcc 4.6.1 we need the gcc.dylib to link, thus distribute in app-bundle
+ cmd = 'mkdir %s/%s.app/Contents/MacOS/lib'%(installdir, binary)
+ commands.getoutput(cmd)
+ instname = env['BF_CXX']
+ cmd = 'cp %s/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/lib/'%(instname, installdir, binary)
+ commands.getoutput(cmd)
+ cmd = 'install_name_tool -id @executable_path/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/lib/libgcc_s.1.dylib'%(installdir, binary)
+ commands.getoutput(cmd)
+ cmd = 'install_name_tool -change %s/lib/libgcc_s.1.dylib @executable_path/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/%s'%(instname, installdir, binary, binary)
+ commands.getoutput(cmd)
+ cmd = 'rm -rf %s/set_simulation_threads.app'%(installdir) # first clear omp_num_threads applescript
+ commands.getoutput(cmd)
+ cmd = 'cp -R %s/source/darwin/set_simulation_threads.app %s/'%(bldroot, installdir) # copy the omp_num_threads applescript
+ commands.getoutput(cmd)
# extract copy system python, be sure to update other build systems
# when making changes to the files that are copied.
Modified: branches/soc-2011-onion-uv-tools/doc/manpage/blender.1.py
===================================================================
--- branches/soc-2011-onion-uv-tools/doc/manpage/blender.1.py 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/doc/manpage/blender.1.py 2011-10-16 14:45:00 UTC (rev 41054)
@@ -22,6 +22,7 @@
import subprocess
import os
+import sys
import time
import datetime
@@ -43,11 +44,16 @@
return data
+# allow passing blender as argument
+if sys.argv[-1].endswith(os.sep + "blender"):
+ blender_bin = sys.argv[-1]
+else:
+ blender_bin = os.path.join(os.path.dirname(__file__), "../../blender.bin")
-blender_bin = os.path.join(os.path.dirname(__file__), "../../blender.bin")
+cmd = [blender_bin, "--help"]
+print(" executing:", " ".join(cmd))
+blender_help = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0].decode()
-blender_help = subprocess.Popen([blender_bin, "--help"], stdout=subprocess.PIPE).communicate()[0].decode()
-
blender_version = subprocess.Popen([blender_bin, "--version"], stdout=subprocess.PIPE).communicate()[0].decode().strip()
blender_version = blender_version.split("Build")[0]
Modified: branches/soc-2011-onion-uv-tools/doc/python_api/rst/gpu.rst
===================================================================
--- branches/soc-2011-onion-uv-tools/doc/python_api/rst/gpu.rst 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/doc/python_api/rst/gpu.rst 2011-10-16 14:45:00 UTC (rev 41054)
@@ -1,7 +1,10 @@
-
GPU functions (gpu)
===================
+.. module:: gpu
+
+This module provides access to materials GLSL shaders.
+
*****
Intro
*****
@@ -16,7 +19,6 @@
are are closely related to Blender's internal GLSL code and may change if the GLSL code
is modified (e.g. new uniform type).
-.. module:: gpu
*********
Constants
Modified: branches/soc-2011-onion-uv-tools/doc/python_api/sphinx_doc_gen.py
===================================================================
--- branches/soc-2011-onion-uv-tools/doc/python_api/sphinx_doc_gen.py 2011-10-16 14:11:53 UTC (rev 41053)
+++ branches/soc-2011-onion-uv-tools/doc/python_api/sphinx_doc_gen.py 2011-10-16 14:45:00 UTC (rev 41054)
@@ -83,6 +83,7 @@
"aud",
"bgl",
"blf",
+ "gpu",
"mathutils",
"mathutils.geometry",
)
@@ -1122,6 +1123,8 @@
fw(" bgl.rst\n\n")
if "blf" not in EXCLUDE_MODULES:
fw(" blf.rst\n\n")
+ if "gpu" not in EXCLUDE_MODULES:
+ fw(" gpu.rst\n\n")
if "aud" not in EXCLUDE_MODULES:
fw(" aud.rst\n\n")
if "bpy_extras" not in EXCLUDE_MODULES:
@@ -1262,6 +1265,13 @@
import shutil
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list