[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58618] branches/soc-2013-ui_replay/source /blender/blenkernel/intern/blender.c: Small bug fix.

Vincent Akkermans vincent at ack-err.net
Fri Jul 26 12:20:02 CEST 2013


Revision: 58618
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58618
Author:   ack-err
Date:     2013-07-26 10:20:02 +0000 (Fri, 26 Jul 2013)
Log Message:
-----------
Small bug fix. Was declaring UndoElem *uel not at the start of the function.

Modified Paths:
--------------
    branches/soc-2013-ui_replay/source/blender/blenkernel/intern/blender.c

Modified: branches/soc-2013-ui_replay/source/blender/blenkernel/intern/blender.c
===================================================================
--- branches/soc-2013-ui_replay/source/blender/blenkernel/intern/blender.c	2013-07-26 10:11:18 UTC (rev 58617)
+++ branches/soc-2013-ui_replay/source/blender/blenkernel/intern/blender.c	2013-07-26 10:20:02 UTC (rev 58618)
@@ -789,9 +789,9 @@
 static void undo_op_name(bContext *C, const wmOperator *op, const char *name)
 {
 	ListBase included_ops;
+	UndoElem *uel;
 	included_ops.first = undobase.first;
 	included_ops.last = curundo ? curundo : undobase.last;
-	UndoElem *uel;
 	
 	if(op)
 		uel = BLI_findptr(&included_ops, op, offsetof(UndoElem, op));




More information about the Bf-blender-cvs mailing list