[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59605] branches/soc-2013-dingto: Merged revision(s) 59491-59602, 59604 from trunk/ blender into soc-2013-dingto.

Thomas Dinges blender at dingto.org
Wed Aug 28 16:48:04 CEST 2013


Revision: 59605
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59605
Author:   dingto
Date:     2013-08-28 14:48:04 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
Merged revision(s) 59491-59602, 59604 from trunk/blender into soc-2013-dingto.

Modified Paths:
--------------
    branches/soc-2013-dingto/CMakeLists.txt
    branches/soc-2013-dingto/GNUmakefile
    branches/soc-2013-dingto/build_files/cmake/Modules/FindPythonLibsUnix.cmake
    branches/soc-2013-dingto/build_files/cmake/macros.cmake
    branches/soc-2013-dingto/intern/cycles/CMakeLists.txt
    branches/soc-2013-dingto/intern/cycles/app/CMakeLists.txt
    branches/soc-2013-dingto/intern/cycles/cmake/external_libs.cmake
    branches/soc-2013-dingto/intern/cycles/kernel/kernel.cl
    branches/soc-2013-dingto/intern/cycles/kernel/svm/svm_sky.h
    branches/soc-2013-dingto/intern/cycles/util/CMakeLists.txt
    branches/soc-2013-dingto/intern/guardedalloc/intern/mallocn.c
    branches/soc-2013-dingto/intern/tools/bpy_introspect_ui.py
    branches/soc-2013-dingto/release/datafiles/blender_icons.sh
    branches/soc-2013-dingto/release/datafiles/blender_icons.svg
    branches/soc-2013-dingto/release/datafiles/blender_icons16.png
    branches/soc-2013-dingto/release/datafiles/blender_icons32.png
    branches/soc-2013-dingto/release/datafiles/prvicons.png
    branches/soc-2013-dingto/release/datafiles/prvicons.sh
    branches/soc-2013-dingto/release/scripts/modules/addon_utils.py
    branches/soc-2013-dingto/release/scripts/modules/bl_i18n_utils/utils.py
    branches/soc-2013-dingto/release/scripts/modules/rna_info.py
    branches/soc-2013-dingto/release/scripts/startup/bl_operators/__init__.py
    branches/soc-2013-dingto/release/scripts/startup/bl_operators/wm.py
    branches/soc-2013-dingto/release/scripts/startup/bl_ui/__init__.py
    branches/soc-2013-dingto/release/scripts/startup/bl_ui/properties_freestyle.py
    branches/soc-2013-dingto/release/scripts/startup/bl_ui/space_node.py
    branches/soc-2013-dingto/release/scripts/startup/bl_ui/space_userpref.py
    branches/soc-2013-dingto/source/blender/blenfont/intern/blf_font.c
    branches/soc-2013-dingto/source/blender/blenfont/intern/blf_glyph.c
    branches/soc-2013-dingto/source/blender/blenkernel/BKE_node.h
    branches/soc-2013-dingto/source/blender/blenkernel/BKE_pbvh.h
    branches/soc-2013-dingto/source/blender/blenkernel/intern/blender.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/cdderivedmesh.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/context.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/displist.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/editmesh.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/group.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/image.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/key.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/mask_rasterize.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/mesh.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/node.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/object.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/pbvh.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/pbvh_bmesh.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/pbvh_intern.h
    branches/soc-2013-dingto/source/blender/blenkernel/intern/pointcache.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/property.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/sca.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/screen.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/sequencer.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/subsurf_ccg.c
    branches/soc-2013-dingto/source/blender/blenkernel/intern/treehash.c
    branches/soc-2013-dingto/source/blender/blenlib/BLI_callbacks.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_edgehash.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_fnmatch.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_ghash.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_listbase.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_mempool.h
    branches/soc-2013-dingto/source/blender/blenlib/BLI_scanfill.h
    branches/soc-2013-dingto/source/blender/blenlib/intern/BLI_ghash.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/BLI_mempool.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/edgehash.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/fileops.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/listbase.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/path_util.c
    branches/soc-2013-dingto/source/blender/blenlib/intern/scanfill.c
    branches/soc-2013-dingto/source/blender/blenloader/intern/readblenentry.c
    branches/soc-2013-dingto/source/blender/blenloader/intern/readfile.c
    branches/soc-2013-dingto/source/blender/blenloader/intern/undofile.c
    branches/soc-2013-dingto/source/blender/blenloader/intern/versioning_legacy.c
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_edgeloop.c
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_opdefines.c
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_operator_api_inline.h
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_operators.c
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_walkers.c
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_walkers.h
    branches/soc-2013-dingto/source/blender/bmesh/intern/bmesh_walkers_impl.c
    branches/soc-2013-dingto/source/blender/bmesh/operators/bmo_beautify.c
    branches/soc-2013-dingto/source/blender/bmesh/operators/bmo_hull.c
    branches/soc-2013-dingto/source/blender/bmesh/operators/bmo_removedoubles.c
    branches/soc-2013-dingto/source/blender/bmesh/operators/bmo_subdivide_edgering.c
    branches/soc-2013-dingto/source/blender/bmesh/tools/bmesh_bisect_plane.c
    branches/soc-2013-dingto/source/blender/editors/animation/anim_filter.c
    branches/soc-2013-dingto/source/blender/editors/curve/editcurve.c
    branches/soc-2013-dingto/source/blender/editors/datafiles/CMakeLists.txt
    branches/soc-2013-dingto/source/blender/editors/include/ED_mask.h
    branches/soc-2013-dingto/source/blender/editors/include/ED_uvedit.h
    branches/soc-2013-dingto/source/blender/editors/include/UI_icons.h
    branches/soc-2013-dingto/source/blender/editors/include/UI_interface.h
    branches/soc-2013-dingto/source/blender/editors/include/UI_view2d.h
    branches/soc-2013-dingto/source/blender/editors/interface/interface.c
    branches/soc-2013-dingto/source/blender/editors/interface/interface_handlers.c
    branches/soc-2013-dingto/source/blender/editors/interface/interface_layout.c
    branches/soc-2013-dingto/source/blender/editors/interface/interface_templates.c
    branches/soc-2013-dingto/source/blender/editors/interface/interface_widgets.c
    branches/soc-2013-dingto/source/blender/editors/interface/view2d.c
    branches/soc-2013-dingto/source/blender/editors/mask/mask_add.c
    branches/soc-2013-dingto/source/blender/editors/mask/mask_edit.c
    branches/soc-2013-dingto/source/blender/editors/mask/mask_intern.h
    branches/soc-2013-dingto/source/blender/editors/mask/mask_ops.c
    branches/soc-2013-dingto/source/blender/editors/metaball/mball_edit.c
    branches/soc-2013-dingto/source/blender/editors/object/object_edit.c
    branches/soc-2013-dingto/source/blender/editors/object/object_transform.c
    branches/soc-2013-dingto/source/blender/editors/sculpt_paint/paint_hide.c
    branches/soc-2013-dingto/source/blender/editors/space_clip/clip_draw.c
    branches/soc-2013-dingto/source/blender/editors/space_clip/clip_intern.h
    branches/soc-2013-dingto/source/blender/editors/space_clip/clip_ops.c
    branches/soc-2013-dingto/source/blender/editors/space_clip/space_clip.c
    branches/soc-2013-dingto/source/blender/editors/space_file/filesel.c
    branches/soc-2013-dingto/source/blender/editors/space_file/space_file.c
    branches/soc-2013-dingto/source/blender/editors/space_graph/graph_select.c
    branches/soc-2013-dingto/source/blender/editors/space_image/space_image.c
    branches/soc-2013-dingto/source/blender/editors/space_node/drawnode.c
    branches/soc-2013-dingto/source/blender/editors/space_node/node_buttons.c
    branches/soc-2013-dingto/source/blender/editors/space_outliner/outliner_tree.c
    branches/soc-2013-dingto/source/blender/editors/space_view3d/drawobject.c
    branches/soc-2013-dingto/source/blender/editors/uvedit/uvedit_draw.c
    branches/soc-2013-dingto/source/blender/editors/uvedit/uvedit_ops.c
    branches/soc-2013-dingto/source/blender/gpu/GPU_buffers.h
    branches/soc-2013-dingto/source/blender/gpu/intern/gpu_buffers.c
    branches/soc-2013-dingto/source/blender/gpu/intern/gpu_codegen.c
    branches/soc-2013-dingto/source/blender/makesdna/DNA_object_types.h
    branches/soc-2013-dingto/source/blender/makesdna/DNA_screen_types.h
    branches/soc-2013-dingto/source/blender/makesdna/DNA_space_types.h
    branches/soc-2013-dingto/source/blender/makesrna/RNA_access.h
    branches/soc-2013-dingto/source/blender/makesrna/RNA_types.h
    branches/soc-2013-dingto/source/blender/makesrna/intern/makesrna.c
    branches/soc-2013-dingto/source/blender/makesrna/intern/rna_access.c
    branches/soc-2013-dingto/source/blender/makesrna/intern/rna_nodetree.c
    branches/soc-2013-dingto/source/blender/makesrna/intern/rna_rna.c
    branches/soc-2013-dingto/source/blender/makesrna/intern/rna_scene.c
    branches/soc-2013-dingto/source/blender/makesrna/intern/rna_ui_api.c
    branches/soc-2013-dingto/source/blender/modifiers/intern/MOD_array.c
    branches/soc-2013-dingto/source/blender/modifiers/intern/MOD_boolean_util.c
    branches/soc-2013-dingto/source/blender/modifiers/intern/MOD_boolean_util.h
    branches/soc-2013-dingto/source/blender/python/bmesh/bmesh_py_types.c
    branches/soc-2013-dingto/source/blender/python/intern/bpy_rna.c
    branches/soc-2013-dingto/source/blender/windowmanager/intern/wm.c
    branches/soc-2013-dingto/source/blender/windowmanager/intern/wm_cursors.c
    branches/soc-2013-dingto/source/blender/windowmanager/intern/wm_event_system.c
    branches/soc-2013-dingto/source/blenderplayer/bad_level_call_stubs/stubs.c
    branches/soc-2013-dingto/source/creator/creator.c
    branches/soc-2013-dingto/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
    branches/soc-2013-dingto/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
    branches/soc-2013-dingto/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
    branches/soc-2013-dingto/source/gameengine/Ketsji/KX_PythonInit.cpp
    branches/soc-2013-dingto/source/gameengine/Rasterizer/RAS_MeshObject.cpp

Added Paths:
-----------
    branches/soc-2013-dingto/intern/cycles/app/cycles_standalone.cpp
    branches/soc-2013-dingto/release/scripts/startup/bl_operators/mask.py

Removed Paths:
-------------
    branches/soc-2013-dingto/intern/cycles/app/cycles_test.cpp

Property Changed:
----------------
    branches/soc-2013-dingto/
    branches/soc-2013-dingto/source/blender/editors/interface/interface.c
    branches/soc-2013-dingto/source/blender/editors/space_outliner/


Property changes on: branches/soc-2013-dingto
___________________________________________________________________
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
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57315-57365,57369-58448,58450,58452-58770,58779,58783-58855,58857,58859-59032,59035-59490
   + /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
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57315-57365,57369-58448,58450,58452-58770,58779,58783-58855,58857,58859-59032,59035-59602,59604

Modified: branches/soc-2013-dingto/CMakeLists.txt
===================================================================
--- branches/soc-2013-dingto/CMakeLists.txt	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/CMakeLists.txt	2013-08-28 14:48:04 UTC (rev 59605)
@@ -261,7 +261,7 @@
 
 # Cycles
 option(WITH_CYCLES					"Enable cycles Render Engine" ON)
-option(WITH_CYCLES_TEST				"Build cycles test application" OFF)
+option(WITH_CYCLES_STANDALONE		"Build cycles standalone application" OFF)
 option(WITH_CYCLES_OSL				"Build Cycles with OSL support" OFF)
 option(WITH_CYCLES_CUDA_BINARIES	"Build cycles CUDA binaries" OFF)
 set(CYCLES_CUDA_BINARIES_ARCH sm_20 sm_21 sm_30 sm_35 CACHE STRING "CUDA architectures to build binaries for")
@@ -373,7 +373,7 @@
 #-----------------------------------------------------------------------------
 # Check for conflicting/unsupported configurations
 
-if(NOT WITH_BLENDER AND NOT WITH_PLAYER AND NOT WITH_CYCLES_TEST)
+if(NOT WITH_BLENDER AND NOT WITH_PLAYER AND NOT WITH_CYCLES_STANDALONE)
 	message(FATAL_ERROR "At least one of WITH_BLENDER or WITH_PLAYER must be enabled, nothing to do!")
 endif()
 
@@ -771,14 +771,14 @@
 		endif()
 
 		if(LLVM_DIRECTORY)
-			FIND_PROGRAM(LLVM_CONFIG llvm-config-${LLVM_VERSION} HINTS ${LLVM_DIRECTORY}/bin NO_CMAKE_PATH)
+			find_program(LLVM_CONFIG llvm-config-${LLVM_VERSION} HINTS ${LLVM_DIRECTORY}/bin NO_CMAKE_PATH)
 			if(NOT LLVM_CONFIG)
-				FIND_PROGRAM(LLVM_CONFIG llvm-config HINTS ${LLVM_DIRECTORY}/bin NO_CMAKE_PATH)
+				find_program(LLVM_CONFIG llvm-config HINTS ${LLVM_DIRECTORY}/bin NO_CMAKE_PATH)
 			endif()
 		else()
-			FIND_PROGRAM(LLVM_CONFIG llvm-config-${LLVM_VERSION})
+			find_program(LLVM_CONFIG llvm-config-${LLVM_VERSION})
 			if(NOT LLVM_CONFIG)
-				FIND_PROGRAM(LLVM_CONFIG llvm-config)
+				find_program(LLVM_CONFIG llvm-config)
 			endif()
 		endif()
 		execute_process(COMMAND ${LLVM_CONFIG} --version
@@ -2145,6 +2145,23 @@
 set(CMAKE_C_FLAGS "${C_WARNINGS} ${CMAKE_C_FLAGS} ${PLATFORM_CFLAGS}")
 set(CMAKE_CXX_FLAGS "${CXX_WARNINGS} ${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS}")
 
+# defined above, platform spesific but shared names
+mark_as_advanced(
+	CYCLES_OSL
+	OSL_LIB_EXEC
+	OSL_COMPILER
+	OSL_LIB_COMP
+	OSL_LIB_QUERY
+	OSL_INCLUDES
+)
+
+mark_as_advanced(
+	LLVM_CONFIG
+	LLVM_DIRECTORY
+	LLVM_LIBRARY
+	LLVM_VERSION
+)
+
 #-------------------------------------------------------------------------------
 # Global Defines
 

Modified: branches/soc-2013-dingto/GNUmakefile
===================================================================
--- branches/soc-2013-dingto/GNUmakefile	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/GNUmakefile	2013-08-28 14:48:04 UTC (rev 59605)
@@ -184,6 +184,7 @@
 	@echo "  * check_spelling_py    - check for spelling errors (Python only)"
 	@echo ""
 	@echo "Utilities (not associated with building blender)"
+	@echo "  * icons    - updates PNG icons from SVG files."
 	@echo "  * tbz      - create a compressed svn export 'blender_archive.tar.bz2'"
 	@echo ""
 	@echo "Documentation Targets (not associated with building blender)"
@@ -322,7 +323,11 @@
 	rm -rf blender_archive/
 	@echo "blender_archive.tar.bz2 written"
 
+icons:
+	$(BLENDER_DIR)/release/datafiles/blender_icons.sh
+	$(BLENDER_DIR)/release/datafiles/prvicons.sh
 
+
 # -----------------------------------------------------------------------------
 # Documentation
 #

Modified: branches/soc-2013-dingto/build_files/cmake/Modules/FindPythonLibsUnix.cmake
===================================================================
--- branches/soc-2013-dingto/build_files/cmake/Modules/FindPythonLibsUnix.cmake	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/build_files/cmake/Modules/FindPythonLibsUnix.cmake	2013-08-28 14:48:04 UTC (rev 59605)
@@ -199,4 +199,5 @@
   PYTHON_INCLUDE_DIR
   PYTHON_INCLUDE_CONFIG_DIR
   PYTHON_LIBRARY
+  PYTHON_LIBPATH
 )

Modified: branches/soc-2013-dingto/build_files/cmake/macros.cmake
===================================================================
--- branches/soc-2013-dingto/build_files/cmake/macros.cmake	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/build_files/cmake/macros.cmake	2013-08-28 14:48:04 UTC (rev 59605)
@@ -802,6 +802,7 @@
 
 endmacro()
 
+# XXX Not used for now...
 macro(svg_to_png
       file_from
       file_to
@@ -818,6 +819,15 @@
 	mark_as_advanced(INKSCAPE_EXE)
 
 	if(INKSCAPE_EXE)
+		if(APPLE)
+			# in OS X app bundle, the binary is a shim that doesn't take any
+			# command line arguments, replace it with the actual binary
+			string(REPLACE "MacOS/Inkscape" "Resources/bin/inkscape" INKSCAPE_REAL_EXE ${INKSCAPE_EXE})
+			if(EXISTS "${INKSCAPE_REAL_EXE}")
+				set(INKSCAPE_EXE ${INKSCAPE_REAL_EXE})
+			endif()
+		endif()
+
 		add_custom_command(
 			OUTPUT  ${_file_to}
 			COMMAND ${INKSCAPE_EXE} ${_file_from} --export-dpi=${dpi}  --without-gui --export-png=${_file_to}
@@ -830,4 +840,4 @@
 	unset(_file_from)
 	unset(_file_to)
 
-endmacro()
\ No newline at end of file
+endmacro()

Modified: branches/soc-2013-dingto/intern/cycles/CMakeLists.txt
===================================================================
--- branches/soc-2013-dingto/intern/cycles/CMakeLists.txt	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/intern/cycles/CMakeLists.txt	2013-08-28 14:48:04 UTC (rev 59605)
@@ -76,7 +76,7 @@
 	add_subdirectory(blender)
 endif()
 
-if(WITH_CYCLES_TEST OR WITH_CYCLES_NETWORK)
+if(WITH_CYCLES_STANDALONE OR WITH_CYCLES_NETWORK)
 	add_subdirectory(app)
 endif()
 

Modified: branches/soc-2013-dingto/intern/cycles/app/CMakeLists.txt
===================================================================
--- branches/soc-2013-dingto/intern/cycles/app/CMakeLists.txt	2013-08-28 14:36:47 UTC (rev 59604)
+++ branches/soc-2013-dingto/intern/cycles/app/CMakeLists.txt	2013-08-28 14:48:04 UTC (rev 59605)
@@ -27,7 +27,7 @@
 
 link_directories(${OPENIMAGEIO_LIBPATH} ${BOOST_LIBPATH})
 
-if(WITH_CYCLES_TEST)
+if(WITH_CYCLES_STANDALONE)
 	list(APPEND LIBRARIES ${GLUT_LIBRARIES})
 endif()
 
@@ -38,17 +38,17 @@
 include_directories(${INC})
 include_directories(SYSTEM ${INC_SYS})
 
-if(WITH_CYCLES_TEST)
+if(WITH_CYCLES_STANDALONE)
 	set(SRC
-		cycles_test.cpp
+		cycles_standalone.cpp
 		cycles_xml.cpp
 		cycles_xml.h
 	)
-	add_executable(cycles_test ${SRC})
-	target_link_libraries(cycles_test ${LIBRARIES})
+	add_executable(cycles ${SRC})
+	target_link_libraries(cycles ${LIBRARIES})
 
 	if(UNIX AND NOT APPLE)
-		set_target_properties(cycles_test PROPERTIES INSTALL_RPATH $ORIGIN/lib)
+		set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib)
 	endif()
 	unset(SRC)
 endif()

Copied: branches/soc-2013-dingto/intern/cycles/app/cycles_standalone.cpp (from rev 59602, trunk/blender/intern/cycles/app/cycles_standalone.cpp)
===================================================================
--- branches/soc-2013-dingto/intern/cycles/app/cycles_standalone.cpp	                        (rev 0)
+++ branches/soc-2013-dingto/intern/cycles/app/cycles_standalone.cpp	2013-08-28 14:48:04 UTC (rev 59605)
@@ -0,0 +1,346 @@
+/*
+ * Copyright 2011-2013 Blender Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License
+ */
+
+#include <stdio.h>
+
+#include "buffers.h"
+#include "camera.h"
+#include "device.h"
+#include "scene.h"
+#include "session.h"
+
+#include "util_args.h"
+#include "util_foreach.h"
+#include "util_function.h"
+#include "util_path.h"
+#include "util_progress.h"
+#include "util_string.h"
+#include "util_time.h"
+#include "util_view.h"
+
+#include "cycles_xml.h"
+
+CCL_NAMESPACE_BEGIN
+
+struct Options {
+	Session *session;
+	Scene *scene;
+	string filepath;
+	int width, height;

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list