[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60133] branches/soc-2013-cycles_mblur: Merged trunk into branch.

Gavin Howard gavin.d.howard at gmail.com
Sat Sep 14 05:41:13 CEST 2013


Revision: 60133
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60133
Author:   gdh
Date:     2013-09-14 03:41:11 +0000 (Sat, 14 Sep 2013)
Log Message:
-----------
Merged trunk into branch. Includes r60062 to r60132.

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60062
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60132

Modified Paths:
--------------
    branches/soc-2013-cycles_mblur/CMakeLists.txt
    branches/soc-2013-cycles_mblur/build_files/scons/config/darwin-config.py
    branches/soc-2013-cycles_mblur/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst
    branches/soc-2013-cycles_mblur/extern/libmv/libmv-capi_stub.cc
    branches/soc-2013-cycles_mblur/intern/cycles/blender/addon/ui.py
    branches/soc-2013-cycles_mblur/intern/cycles/render/film.cpp
    branches/soc-2013-cycles_mblur/intern/ghost/CMakeLists.txt
    branches/soc-2013-cycles_mblur/intern/ghost/SConscript
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_NDOFManager.h
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_NDOFManagerCocoa.h
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_SystemCocoa.mm
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_WindowWin32.cpp
    branches/soc-2013-cycles_mblur/release/scripts/modules/bpy_extras/object_utils.py
    branches/soc-2013-cycles_mblur/release/scripts/startup/bl_operators/add_mesh_torus.py
    branches/soc-2013-cycles_mblur/release/scripts/startup/bl_ui/space_view3d.py
    branches/soc-2013-cycles_mblur/release/scripts/startup/bl_ui/space_view3d_toolbar.py
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/BKE_action.h
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/BKE_brush.h
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/BKE_node.h
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/BKE_paint.h
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/DerivedMesh.c
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/action.c
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/brush.c
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/node.c
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/object.c
    branches/soc-2013-cycles_mblur/source/blender/blenkernel/intern/subsurf_ccg.c
    branches/soc-2013-cycles_mblur/source/blender/blenlib/intern/math_geom.c
    branches/soc-2013-cycles_mblur/source/blender/blenloader/intern/readfile.c
    branches/soc-2013-cycles_mblur/source/blender/bmesh/operators/bmo_wireframe.c
    branches/soc-2013-cycles_mblur/source/blender/compositor/CMakeLists.txt
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_ExecutionGroup.cpp
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_ExecutionGroup.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_ExecutionSystem.cpp
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_ExecutionSystemHelper.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_NodeBase.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_NodeOperation.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/operations/COM_SetColorOperation.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/operations/COM_SetValueOperation.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/operations/COM_SetVectorOperation.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/operations/COM_TrackPositionOperation.h
    branches/soc-2013-cycles_mblur/source/blender/editors/armature/pose_edit.c
    branches/soc-2013-cycles_mblur/source/blender/editors/include/ED_armature.h
    branches/soc-2013-cycles_mblur/source/blender/editors/interface/interface_handlers.c
    branches/soc-2013-cycles_mblur/source/blender/editors/render/render_internal.c
    branches/soc-2013-cycles_mblur/source/blender/editors/screen/screen_ops.c
    branches/soc-2013-cycles_mblur/source/blender/editors/sculpt_paint/sculpt.c
    branches/soc-2013-cycles_mblur/source/blender/editors/space_node/space_node.c
    branches/soc-2013-cycles_mblur/source/blender/editors/space_outliner/outliner_draw.c
    branches/soc-2013-cycles_mblur/source/blender/editors/space_outliner/outliner_edit.c
    branches/soc-2013-cycles_mblur/source/blender/editors/space_view3d/drawarmature.c
    branches/soc-2013-cycles_mblur/source/blender/editors/space_view3d/view3d_edit.c
    branches/soc-2013-cycles_mblur/source/blender/makesdna/DNA_customdata_types.h
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_access.c
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_brush.c
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_mesh_api.c
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_nodetree.c
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_pose.c
    branches/soc-2013-cycles_mblur/source/blender/makesrna/intern/rna_space.c
    branches/soc-2013-cycles_mblur/source/blender/modifiers/intern/MOD_subsurf.c
    branches/soc-2013-cycles_mblur/source/blender/nodes/NOD_static_types.h
    branches/soc-2013-cycles_mblur/source/blender/nodes/composite/nodes/node_composite_outputFile.c
    branches/soc-2013-cycles_mblur/source/blender/python/intern/bpy_rna.c
    branches/soc-2013-cycles_mblur/source/blender/python/mathutils/mathutils.c
    branches/soc-2013-cycles_mblur/source/blender/python/mathutils/mathutils_Vector.c
    branches/soc-2013-cycles_mblur/source/blender/python/mathutils/mathutils_geometry.c
    branches/soc-2013-cycles_mblur/source/blender/render/extern/include/RE_pipeline.h
    branches/soc-2013-cycles_mblur/source/blender/render/intern/source/pipeline.c
    branches/soc-2013-cycles_mblur/source/blender/windowmanager/intern/wm_event_system.c
    branches/soc-2013-cycles_mblur/source/creator/CMakeLists.txt
    branches/soc-2013-cycles_mblur/source/gameengine/Ketsji/KX_GameObject.cpp
    branches/soc-2013-cycles_mblur/source/gameengine/Ketsji/KX_GameObject.h
    branches/soc-2013-cycles_mblur/source/gameengine/Ketsji/KX_TouchEventManager.cpp
    branches/soc-2013-cycles_mblur/source/tools/CTS/FBlender.py
    branches/soc-2013-cycles_mblur/source/tools/CTS/README.txt

Added Paths:
-----------
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_NDOFManager3Dconnexion.c
    branches/soc-2013-cycles_mblur/intern/ghost/intern/GHOST_NDOFManager3Dconnexion.h
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_Debug.cpp
    branches/soc-2013-cycles_mblur/source/blender/compositor/intern/COM_Debug.h

Property Changed:
----------------
    branches/soc-2013-cycles_mblur/
    branches/soc-2013-cycles_mblur/source/blender/editors/space_outliner/


Property changes on: branches/soc-2013-cycles_mblur
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/ge_dev:58091-58422
/branches/ge_harmony:42255,42279-42282,42286,42302,42338,42349,42616,42620,42698-42699,42739,42753,42773-42774,42832,44568,44597-44598,44793-44794
/branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872,44130,44141,44147-44149,44151-44152,44229-44230,45623-45625,46037,48089,48092,48551-48552,48679,48790,48792-48793,49076,49087,49292,49294,49466,49894,50052,50126,52854-52856,54573,58822,58989
/branches/soc-2013-depsgraph_mt:57516,57900,57939-57940,57945,57958-57961,58151,58155-58156,58169,58277-58279,58282-58283,58711,58787,58789,58796,59086-59087,59163,59166,59170,59181,59259-59260
/branches/soc-2013-dingto:57424,57487,57507,57525,57599,57670,57918-57919,57981,58091,58245,58253,58587,58772,58774-58775,58828,58835,59032,59214,59220,59251,59601
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57388-60061
   + /branches/ge_dev:58091-58422
/branches/ge_harmony:42255,42279-42282,42286,42302,42338,42349,42616,42620,42698-42699,42739,42753,42773-42774,42832,44568,44597-44598,44793-44794
/branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872,44130,44141,44147-44149,44151-44152,44229-44230,45623-45625,46037,48089,48092,48551-48552,48679,48790,48792-48793,49076,49087,49292,49294,49466,49894,50052,50126,52854-52856,54573,58822,58989
/branches/soc-2013-depsgraph_mt:57516,57900,57939-57940,57945,57958-57961,58151,58155-58156,58169,58277-58279,58282-58283,58711,58787,58789,58796,59086-59087,59163,59166,59170,59181,59259-59260
/branches/soc-2013-dingto:57424,57487,57507,57525,57599,57670,57918-57919,57981,58091,58245,58253,58587,58772,58774-58775,58828,58835,59032,59214,59220,59251,59601
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57388-60132

Modified: branches/soc-2013-cycles_mblur/CMakeLists.txt
===================================================================
--- branches/soc-2013-cycles_mblur/CMakeLists.txt	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/CMakeLists.txt	2013-09-14 03:41:11 UTC (rev 60133)
@@ -320,9 +320,19 @@
 		set(OSX_SYSTEM unsupported)
 	endif()
 	message(STATUS "Detected system-version: " ${OSX_SYSTEM})
+	
+	# workaround for incorrect cmake xcode lookup for developer previews - XCODE_VERSION does not take xcode-select path into accout
+	# but would always look into /Applications/Xcode.app while dev versions are named Xcode<version>-DP<preview_number>
+	execute_process(COMMAND xcode-select --print-path  OUTPUT_VARIABLE XCODE_CHECK OUTPUT_STRIP_TRAILING_WHITESPACE)
+	string(REPLACE "/Contents/Developer" "" XCODE_BUNDLE ${XCODE_CHECK}) # truncate to bundlepath in any case
+	message(STATUS "Xcode-bundle : " ${XCODE_BUNDLE})
+	string(SUBSTRING "${XCODE_CHECK}" 14 6 DP_NAME) # reduce to XCode name without dp extension
+	if(${DP_NAME} MATCHES Xcode5)
+		set(XCODE_VERSION 5)
+	endif()
+	
+	if(${CMAKE_GENERATOR} MATCHES "Xcode")
 
-	if(${CMAKE_GENERATOR} MATCHES "Xcode")
-	
 		##### cmake incompatibility with xcode  4.3 and higher #####
 		if(${XCODE_VERSION} MATCHES '') # cmake fails due looking for xcode in the wrong path, thus will be empty var
 			message(FATAL_ERROR "Xcode 4.3 and higher must be used with cmake 2.8-8 or higher")
@@ -346,9 +356,10 @@
 	if(${XCODE_VERSION} VERSION_LESS 4.3)
 		set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX${OSX_SYSTEM}.sdk CACHE PATH "" FORCE)  # use guaranteed existing sdk
 	else()
-		# note: i don't use xcode-select path on purpose, cause also /Applications/Xcode.app would be allowed
-		# absolute pathes are more foolproof here !
-		set(OSX_SYSROOT_PREFIX /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform)
+		# note: xcode-select path could be ambigous, cause /Applications/Xcode.app/Contents/Developer or /Applications/Xcode.app would be allowed
+		# so i use a selfcomposed bundlepath here  
+		set(OSX_SYSROOT_PREFIX ${XCODE_BUNDLE}/Contents/Developer/Platforms/MacOSX.platform)
+		message(STATUS "OSX_SYSROOT_PREFIX: " ${OSX_SYSROOT_PREFIX})
 		set(OSX_DEVELOPER_PREFIX /Developer/SDKs/MacOSX${OSX_SYSTEM}.sdk) # use guaranteed existing sdk
 		set(CMAKE_OSX_SYSROOT ${OSX_SYSROOT_PREFIX}/${OSX_DEVELOPER_PREFIX} CACHE PATH "" FORCE)
 	endif()

Modified: branches/soc-2013-cycles_mblur/build_files/scons/config/darwin-config.py
===================================================================
--- branches/soc-2013-cycles_mblur/build_files/scons/config/darwin-config.py	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/build_files/scons/config/darwin-config.py	2013-09-14 03:41:11 UTC (rev 60133)
@@ -42,6 +42,12 @@
 cmd = 'xcodebuild -showsdks'
 cmd_sdk=commands.getoutput(cmd)
 MACOSX_SDK_CHECK=cmd_sdk
+cmd = 'xcode-select --print-path'
+XCODE_SELECT_PATH=commands.getoutput(cmd)
+if XCODE_SELECT_PATH.endswith("/Contents/Developer"):
+	XCODE_BUNDLE=XCODE_SELECT_PATH[:-19]
+else:
+	XCODE_BUNDLE=XCODE_SELECT_PATH
 
 if MACOSX_ARCHITECTURE == 'x86_64' or MACOSX_ARCHITECTURE == 'ppc64':
     USE_QTKIT=True # Carbon quicktime is not available for 64bit
@@ -99,7 +105,7 @@
 LIBDIR = '${LCGDIR}'
 
 if XCODE_CUR_VER >= '4.3':  ## since version 4.3, XCode and developer dir are bundled ##
-	MACOSX_SDK = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform' + MACOSX_SDK
+	MACOSX_SDK = XCODE_BUNDLE + '/Contents/Developer/Platforms/MacOSX.platform' + MACOSX_SDK
 
 #############################################################################
 ###################          Dependency settings           ##################

Modified: branches/soc-2013-cycles_mblur/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst
===================================================================
--- branches/soc-2013-cycles_mblur/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst	2013-09-14 03:41:11 UTC (rev 60133)
@@ -134,6 +134,12 @@
 
       :type: :class:`KX_GameObject` or None
 
+   .. attribute:: collisionCallbacks
+
+      A list of callables to be run when a collision occurs.
+
+      :type: list
+
    .. attribute:: scene
 
       The object's scene. (read-only).

Modified: branches/soc-2013-cycles_mblur/extern/libmv/libmv-capi_stub.cc
===================================================================
--- branches/soc-2013-cycles_mblur/extern/libmv/libmv-capi_stub.cc	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/extern/libmv/libmv-capi_stub.cc	2013-09-14 03:41:11 UTC (rev 60133)
@@ -280,7 +280,7 @@
 void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double (* /* x2 */)[2], int /* num_points */,
                                                  double H[3][3], double /* expected_precision */)
 {
-	memset(H, 0, sizeof(H));
+	memset(H, 0, sizeof(double[3][3]));
 	H[0][0] = 1.0f;
 	H[1][1] = 1.0f;
 	H[2][2] = 1.0f;

Modified: branches/soc-2013-cycles_mblur/intern/cycles/blender/addon/ui.py
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/blender/addon/ui.py	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/intern/cycles/blender/addon/ui.py	2013-09-14 03:41:11 UTC (rev 60133)
@@ -878,12 +878,13 @@
 
     def draw(self, context):
         layout = self.layout
+
         light = context.world.light_settings
 
-        layout.active = light.use_ambient_occlusion
-
         row = layout.row()
-        row.prop(light, "ao_factor", text="Factor")
+        sub = row.row()
+        sub.active = light.use_ambient_occlusion
+        sub.prop(light, "ao_factor", text="Factor")
         row.prop(light, "distance", text="Distance")
 
 

Modified: branches/soc-2013-cycles_mblur/intern/cycles/render/film.cpp
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/render/film.cpp	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/intern/cycles/render/film.cpp	2013-09-14 03:41:11 UTC (rev 60133)
@@ -431,8 +431,12 @@
 
 void Film::tag_passes_update(Scene *scene, const vector<Pass>& passes_)
 {
-	if(Pass::contains(passes, PASS_UV) != Pass::contains(passes_, PASS_UV))
+	if(Pass::contains(passes, PASS_UV) != Pass::contains(passes_, PASS_UV)) {
 		scene->mesh_manager->tag_update(scene);
+
+		foreach(Shader *shader, scene->shaders)
+			shader->need_update_attributes = true;
+	}
 	else if(Pass::contains(passes, PASS_MOTION) != Pass::contains(passes_, PASS_MOTION))
 		scene->mesh_manager->tag_update(scene);
 

Modified: branches/soc-2013-cycles_mblur/intern/ghost/CMakeLists.txt
===================================================================
--- branches/soc-2013-cycles_mblur/intern/ghost/CMakeLists.txt	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/intern/ghost/CMakeLists.txt	2013-09-14 03:41:11 UTC (rev 60133)
@@ -191,6 +191,10 @@
 				intern/GHOST_NDOFManagerCocoa.mm
 				intern/GHOST_NDOFManagerCocoa.h
 			)
+			list(APPEND SRC2
+				intern/GHOST_NDOFManager3Dconnexion.c
+				intern/GHOST_NDOFManager3Dconnexion.h
+			)
 		endif()
 
 	else()
@@ -319,3 +323,6 @@
 
 blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
 
+if(WITH_INPUT_NDOF AND WITH_COCOA) # workaround for apple clang mangling extern "C" symbols
+	blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC2}" "${INC}" "${INC_SYS}")
+endif()

Modified: branches/soc-2013-cycles_mblur/intern/ghost/SConscript
===================================================================
--- branches/soc-2013-cycles_mblur/intern/ghost/SConscript	2013-09-14 02:02:58 UTC (rev 60132)
+++ branches/soc-2013-cycles_mblur/intern/ghost/SConscript	2013-09-14 03:41:11 UTC (rev 60133)

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list