Commit Graph

11 Commits

Author SHA1 Message Date
Campbell Barton
6e5ce953da use 'is None' rather then '== None' as suggested by python docs & mis-spelling. 2011-03-29 04:16:55 +00:00
Campbell Barton
9b9c4184c8 misc nodes & editors: floats were being implicitly promoted to doubles, adjust to use floats.
+ minor update to demo_mode
2011-03-28 17:08:33 +00:00
Campbell Barton
e9005b985e remove some redundant vars, assignments & checks. 2011-03-19 05:06:06 +00:00
Nathan Letwory
ed8719bd1f Apply a small patch from mikktspace author Morten Mikkelsen (cosmetic changes). 2011-03-08 20:39:32 +00:00
Nathan Letwory
f5419aec80 doxygen: intern/mikktspace tagged. 2011-02-25 11:47:49 +00:00
Guillermo S. Romero
456ca98564 malloc() comes from stdlib.h per K&R ANSI C, C89 & C99.
If some plataform really needs malloc.h, that is the exception to get #ifdef.
2011-02-17 21:14:54 +00:00
Campbell Barton
538d9180d3 apply fix [#26117] Recent changes to "mikktspace.c" broke building on FreeBSD. Patch attached.
also check for NetBSD.

note: we probably should use define HAVE_MALLOC_H, seems common for other projects.
2011-02-17 08:35:15 +00:00
M.G. Kishalmi
b7d349e09c The modifications in mkktspace broke compilation on gcc 4.2.x
This is a patch proposed by sparky_ on irc.
2011-02-16 08:49:27 +00:00
Campbell Barton
85edbd5f8d fix from mikes for building on apple with gcc 4.2.1 2011-02-16 05:03:33 +00:00
Nathan Letwory
b94be2aa14 Fix from sparky for compile problem with older GCC 2011-02-15 19:57:33 +00:00
Nathan Letwory
3ce233e28d Move mikktspace code to own library, so it is clear that it is also
intended as a standalone library for use in other applications that
want the same tangent space as Blender.

This also keeps blenkernel clean(er) from extra math functions.
2011-02-15 09:24:35 +00:00