[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50526] trunk/blender/source/blender/ blenkernel/intern/anim.c: missed makign some vars shorts in previous commit

Campbell Barton ideasman42 at gmail.com
Tue Sep 11 12:30:11 CEST 2012


Revision: 50526
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50526
Author:   campbellbarton
Date:     2012-09-11 10:30:10 +0000 (Tue, 11 Sep 2012)
Log Message:
-----------
missed makign some vars shorts in previous commit

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/anim.c

Modified: trunk/blender/source/blender/blenkernel/intern/anim.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/anim.c	2012-09-11 10:18:45 UTC (rev 50525)
+++ trunk/blender/source/blender/blenkernel/intern/anim.c	2012-09-11 10:30:10 UTC (rev 50526)
@@ -700,7 +700,7 @@
 /* ******************************************************************** */
 /* Dupli-Geometry */
 
-static DupliObject *new_dupli_object(ListBase *lb, Object *ob, float mat[][4], int lay, int index, int par_index, int type, int animated)
+static DupliObject *new_dupli_object(ListBase *lb, Object *ob, float mat[][4], int lay, int index, int par_index, int type, short animated)
 {
 	DupliObject *dob = MEM_callocN(sizeof(DupliObject), "dupliobject");
 	
@@ -779,7 +779,7 @@
 	}
 }
 
-static void frames_duplilist(ListBase *lb, Scene *scene, Object *ob, int par_index, int level, int animated)
+static void frames_duplilist(ListBase *lb, Scene *scene, Object *ob, int par_index, int level, short animated)
 {
 	extern int enable_cu_speed; /* object.c */
 	Object copyob;
@@ -851,8 +851,8 @@
 typedef struct VertexDupliData {
 	ID *id; /* scene or group, for recursive loops */
 	int level;
-	int animated;
-	int update;
+	short animated;
+	short update;
 	ListBase *lb;
 	float pmat[4][4];
 	float obmat[4][4]; /* Only used for dupliverts inside dupligroups, where the ob->obmat is modified */
@@ -1570,7 +1570,7 @@
 }
 
 
-static void font_duplilist(ListBase *lb, Scene *scene, Object *par, int par_index, int level, int animated)
+static void font_duplilist(ListBase *lb, Scene *scene, Object *par, int par_index, int level, short animated)
 {
 	Object *ob, *obar[256] = {NULL};
 	Curve *cu;




More information about the Bf-blender-cvs mailing list