[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58330] branches/soc-2013-depsgraph_mt: Merging r58280 through r58329 from trunk into soc-2013-depsgaph_mt

Sergey Sharybin sergey.vfx at gmail.com
Wed Jul 17 11:31:58 CEST 2013


Revision: 58330
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58330
Author:   nazgul
Date:     2013-07-17 09:31:57 +0000 (Wed, 17 Jul 2013)
Log Message:
-----------
Merging r58280 through r58329 from trunk into soc-2013-depsgaph_mt

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

Modified Paths:
--------------
    branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetWin32.h
    branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.cpp
    branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.h
    branches/soc-2013-depsgraph_mt/intern/smoke/CMakeLists.txt
    branches/soc-2013-depsgraph_mt/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
    branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mesh.c
    branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/smoke.c
    branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/fileops.c
    branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/math_matrix.c
    branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/string_utf8.c
    branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_bridge.c
    branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_subdivide_edgering.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/armature/armature_select.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/armature/armature_utils.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/curve/editfont.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/include/ED_armature.h
    branches/soc-2013-depsgraph_mt/source/blender/editors/object/object_add.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/object/object_vgroup.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/render/render_internal.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/sculpt_paint/sculpt.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/sculpt_paint/sculpt_intern.h
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_clip/tracking_ops.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_outliner/outliner_select.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_outliner/outliner_tree.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_sequencer/sequencer_edit.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_view3d/view3d_buttons.c
    branches/soc-2013-depsgraph_mt/source/blender/editors/space_view3d/view3d_draw.c
    branches/soc-2013-depsgraph_mt/source/blender/makesrna/intern/makesrna.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_cast.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_cloth.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_displace.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_hook.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_laplaciansmooth.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_meshdeform.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_particlesystem.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_shrinkwrap.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_simpledeform.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_smooth.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_surface.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_util.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_util.h
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_warp.c
    branches/soc-2013-depsgraph_mt/source/blender/modifiers/intern/MOD_wave.c

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


Property changes on: branches/soc-2013-depsgraph_mt
___________________________________________________________________
Modified: svn:mergeinfo
   - /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
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57395-58279
   + /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
/tags/blender-2.67b-release/blender:57122
/trunk/blender:57395-58329

Modified: branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetWin32.h
===================================================================
--- branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetWin32.h	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetWin32.h	2013-07-17 09:31:57 UTC (rev 58330)
@@ -152,6 +152,10 @@
 	GHOST_SystemWin32 *m_system;
 	/* Data type of the dragged object */
 	GHOST_TDragnDropTypes m_draggedObjectType;
+
+#ifdef WITH_CXX_GUARDEDALLOC
+	MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_DropTargetWin32")
+#endif
 };
 
 #endif  // __GHOST_DROPTARGETWIN32_H__

Modified: branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.cpp
===================================================================
--- branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.cpp	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.cpp	2013-07-17 09:31:57 UTC (rev 58330)
@@ -84,6 +84,9 @@
 void GHOST_DropTargetX11::Uninitialize(void)
 {
 	xdnd_shut(&m_dndClass);
+
+	delete[] m_dndActions;
+	delete[] m_dndTypes;
 }
 
 GHOST_DropTargetX11::GHOST_DropTargetX11(GHOST_WindowX11 *window, GHOST_SystemX11 *system)

Modified: branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.h
===================================================================
--- branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.h	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/intern/ghost/intern/GHOST_DropTargetX11.h	2013-07-17 09:31:57 UTC (rev 58330)
@@ -130,6 +130,10 @@
 
 	/* counter of references to global XDND structures */
 	static int m_refCounter;
+
+#ifdef WITH_CXX_GUARDEDALLOC
+	MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_DropTargetX11")
+#endif
 };
 
 #endif  // __GHOST_DROPTARGETX11_H__

Modified: branches/soc-2013-depsgraph_mt/intern/smoke/CMakeLists.txt
===================================================================
--- branches/soc-2013-depsgraph_mt/intern/smoke/CMakeLists.txt	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/intern/smoke/CMakeLists.txt	2013-07-17 09:31:57 UTC (rev 58330)
@@ -95,7 +95,7 @@
 
 if(WITH_FFTW3)
 	add_definitions(-DWITH_FFTW3)
-	list(APPEND INC
+	list(APPEND INC_SYS
 		${FFTW3_INCLUDE_DIRS}
 	)
 endif()

Modified: branches/soc-2013-depsgraph_mt/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
===================================================================
--- branches/soc-2013-depsgraph_mt/release/scripts/modules/bl_i18n_utils/utils_spell_check.py	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/release/scripts/modules/bl_i18n_utils/utils_spell_check.py	2013-07-17 09:31:57 UTC (rev 58330)
@@ -40,6 +40,7 @@
         "derivate",
         "doesn",  # doesn't
         "fader",
+        "globbing",
         "hasn",  # hasn't
         "hoc",  # ad-hoc
         "indices",
@@ -59,6 +60,7 @@
         "autoclip",
         "autocomplete",
         "autoexec",
+        "autoexecution",
         "autoname",
         "autosave",
         "autoscale",

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mesh.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mesh.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mesh.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -2477,10 +2477,11 @@
                                    int totvert, int totpoly, int totloop)
 {
 	MeshElemMap *map = MEM_callocN(sizeof(MeshElemMap) * totvert, "vert poly map");
-	int *indices = MEM_mallocN(sizeof(int) * totloop, "vert poly map mem");
-
+	int *indices, *index_iter;
 	int i, j;
 
+	indices = index_iter = MEM_mallocN(sizeof(int) * totloop, "vert poly map mem");
+
 	/* Count number of polys for each vertex */
 	for (i = 0; i < totpoly; i++) {
 		const MPoly *p = &mpoly[i];
@@ -2491,8 +2492,8 @@
 
 	/* Assign indices mem */
 	for (i = 0; i < totvert; i++) {
-		map[i].indices = indices;
-		indices += map[i].count;
+		map[i].indices = index_iter;
+		index_iter += map[i].count;
 
 		/* Reset 'count' for use as index in last loop */
 		map[i].count = 0;

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/smoke.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/smoke.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/smoke.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -2102,7 +2102,7 @@
 			/* sample subframes */
 			else {
 				int scene_frame = scene->r.cfra;
-				float scene_subframe = scene->r.subframe;
+				// float scene_subframe = scene->r.subframe;  // UNUSED
 				int subframe;
 				for (subframe = 0; subframe <= subframes; subframe++) {
 					EmissionMap em_temp = {0};

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/fileops.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/fileops.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/fileops.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -199,7 +199,7 @@
 {
 	FILE *f = BLI_fopen(file, "r+b");
 	if (f != NULL) {
-		char c = getc(f);
+		int c = getc(f);
 		rewind(f);
 		putc(c, f);
 	}

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/math_matrix.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/math_matrix.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/math_matrix.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -836,6 +836,7 @@
 				normalize_v3(mat[0]);
 				cross_v3_v3v3(mat[1], mat[2], mat[0]);
 			}
+			break;
 		default:
 			BLI_assert(0);
 	}

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/string_utf8.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/string_utf8.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenlib/intern/string_utf8.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -239,7 +239,7 @@
 	memset(dst, 0xff, sizeof(*dst) * maxncpy);
 #endif
 
-	while (*src && len != maxlen) { /* XXX can still run over the buffer because utf8 size isn't known :| */
+	while (*src && len < maxlen) { /* XXX can still run over the buffer because utf8 size isn't known :| */
 		len += BLI_str_utf8_from_unicode((unsigned int)*src++, dst + len);
 	}
 

Modified: branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_bridge.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_bridge.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_bridge.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -162,7 +162,7 @@
 	}
 
 	if (use_merge) {
-		BLI_assert((el_store_a_len == el_store_a_len));
+		BLI_assert((el_store_a_len == el_store_b_len));
 	}
 
 	if (el_store_a_len != el_store_b_len) {

Modified: branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_subdivide_edgering.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_subdivide_edgering.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/bmesh/operators/bmo_subdivide_edgering.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -893,7 +893,7 @@
 	/* before going much further, get ourselves in order
 	 * - align loops (not strictly necessary but handy)
 	 * - ensure winding is set for both loops */
-	if (BM_edgeloop_is_closed(el_store_a) && BM_edgeloop_is_closed(el_store_a)) {
+	if (BM_edgeloop_is_closed(el_store_a) && BM_edgeloop_is_closed(el_store_b)) {
 		BMIter eiter;
 		BMEdge *e;
 		BMVert *v_other;

Modified: branches/soc-2013-depsgraph_mt/source/blender/editors/armature/armature_select.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/editors/armature/armature_select.c	2013-07-17 08:49:13 UTC (rev 58329)
+++ branches/soc-2013-depsgraph_mt/source/blender/editors/armature/armature_select.c	2013-07-17 09:31:57 UTC (rev 58330)
@@ -682,17 +682,7 @@
 	{0, NULL, 0, NULL, NULL}
 };
 
-/* could be used in more places */
-static void ED_armature_edit_bone_select(EditBone *ebone)
-{
-	BLI_assert((ebone->flag & BONE_UNSELECTABLE) == 0);

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list