Commit Graph

10 Commits

Author SHA1 Message Date
Stephen Swaney
59fe967476 more gcc 4.1.x warning cleanup:
applied MT_QueryAssert_patch.diff part of
patch [#6994] Fixing warnings: conversion from string constant to char *

Submitted by Renato Perini (mjordan).
Thanks, Renato!
2007-09-12 01:56:50 +00:00
Ton Roosendaal
e5304a967c Disabled assert foolery in Decimator. :)
Code provided by Matthew Plough. Verified to run OK in OSX, Windows.

Solves bug #2598, which crashed blender on using non-manifold meshes with
decimator.
2005-05-24 10:44:14 +00:00
Kester Maddock
b908cfcb07 Use the default windows assert for VisualC
Update Scons
2005-01-17 11:02:44 +00:00
Kester Maddock
cb289b215f Advanced MT_assert macro.
It will attempt to break into the debugger instead of aborting the program.  On Windows you have a nice MessageBox function, so you can choose to break, ignore, or permanently ignore the assert.
2005-01-16 04:28:55 +00:00
Jean-Luc Peurière
f24be4c6ad rewind of previous commit as some experiment bad problems.
This means that bug #1292 is alive again unless you define MT_NDEBUG
which I doubt many do.
2004-06-14 18:52:56 +00:00
Jean-Luc Peurière
e06fba8a1d changed MT_NDEBUG macro to a MT_DEBUG one and reversed defines
So now by default, assert is not used in moto code.

If you want to use assert (and stop blender if one fail),
define MT_DEBUG.

solve bug #1292 and better fix for #1260
2004-06-13 21:11:10 +00:00
Kent Mein
f78de74b20 WooHoo me again ;)
I took out the following from the includes in the intern dir that still had
it:
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif

Kent
--
mein@cs.umn.edu
2002-12-26 18:25:17 +00:00
Kent Mein
0fbadc8eb7 Yes I did it again ;)
added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu
2002-11-25 09:53:07 +00:00
Kent Mein
01bff70383 fixed spacing in the headers to get rid of some warnings and some other
little minor spacing issues.
2002-10-30 02:07:20 +00:00
Hans Lambermont
12315f4d0e Initial revision 2002-10-12 11:37:38 +00:00