[Bf-blender-cvs] [1f4cfb3] master: Fix T39952: Printing tiles gives negative numbers

Campbell Barton noreply at git.blender.org
Wed Apr 30 01:35:43 CEST 2014


Commit: 1f4cfb39741ba2a9389bc36b5e3aa669e9e203f1
Author: Campbell Barton
Date:   Wed Apr 30 09:34:37 2014 +1000
https://developer.blender.org/rB1f4cfb39741ba2a9389bc36b5e3aa669e9e203f1

Fix T39952: Printing tiles gives negative numbers

===================================================================

M	source/blender/render/intern/include/render_types.h

===================================================================

diff --git a/source/blender/render/intern/include/render_types.h b/source/blender/render/intern/include/render_types.h
index b9e06d3..cfebdde 100644
--- a/source/blender/render/intern/include/render_types.h
+++ b/source/blender/render/intern/include/render_types.h
@@ -108,8 +108,9 @@ typedef struct RenderPart {
 
 	rcti disprect;					/* part coordinates within total picture */
 	int rectx, recty;				/* the size */
+	int nr;							/* nr is partnr */
 	short crop, status;				/* crop is amount of pixels we crop, for filter */
-	short sample, nr;				/* sample can be used by zbuffers, nr is partnr */
+	short sample;					/* sample can be used by zbuffers */
 	short thread;					/* thread id */
 	
 	char *clipflag;					/* clipflags for part zbuffering */




More information about the Bf-blender-cvs mailing list