Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 49844 | Differences between
and this patch

Collapse All | Expand All

(-)blender-2.33.orig/intern/iksolver/intern/TNT/vec.h (+2 lines)
Lines 39-44 Link Here
39
#include <iostream>
39
#include <iostream>
40
#include <strstream>
40
#include <strstream>
41
41
42
using std::endl;
43
42
namespace TNT
44
namespace TNT
43
{
45
{
44
46
(-)blender-2.33.orig/source/blender/blenkernel/intern/exotic.c (-3 / +6 lines)
Lines 1148-1154 Link Here
1148
	/* search for "field", count data size and make datablock. return skipdata */
1148
	/* search for "field", count data size and make datablock. return skipdata */
1149
	float *fp;
1149
	float *fp;
1150
	int len, stackcount, skipdata=0;
1150
	int len, stackcount, skipdata=0;
1151
	char *cpa, terminator, str[64];
1151
	char *cpa, terminator, str[64], *tmp;
1152
	long i;
1152
	long i;
1153
	
1153
	
1154
	len= strlen(field);
1154
	len= strlen(field);
Lines 1193-1200 Link Here
1193
							 * in a long string at Windows... so we copy 
1193
							 * in a long string at Windows... so we copy 
1194
							 * the float to a new string then atof... */
1194
							 * the float to a new string then atof... */
1195
							 
1195
							 
1196
							i= (long)(strpbrk(cpa, ", \n")-cpa);
1196
							while (strpbrk(cpa, ", \n") != tmp) {
1197
							
1197
								tmp++;
1198
								i++;
1199
							}
1200
1198
							if (i>63) *fp= 0.0;
1201
							if (i>63) *fp= 0.0;
1199
							else {
1202
							else {
1200
								memcpy(str, cpa, i);
1203
								memcpy(str, cpa, i);

Return to bug 49844