- AIX ifdef's so windows works, cant test but this seems the most used define. might need to add to buildsystem config.

- transform default scale was too hight, calls to random were inconsistant. (fault of own modif's)
- cmake openal include was added twice on recent commit.
This commit is contained in:
2010-01-19 15:57:02 +00:00
parent 4fe037f53f
commit 9396bb2da9
4 changed files with 5 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
#
# ***** END LGPL LICENSE BLOCK *****
SET(INC . intern FX SRC ${PTHREADS_INC} ${LIBSAMPLERATE_INC} ${OPENAL_INCLUDE_DIR})
SET(INC . intern FX SRC ${PTHREADS_INC} ${LIBSAMPLERATE_INC})
FILE(GLOB SRC intern/*.cpp intern/*.h FX/*.cpp SRC/*.cpp)

View File

@@ -35,7 +35,7 @@
#include <X11/cursorfont.h>
#include <X11/Xatom.h>
#if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__)
#if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__) || defined (_AIX)
#include <strings.h>
#endif

View File

@@ -39,11 +39,9 @@
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#ifndef WIN32
#if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__) || defined (_AIX)
#include <strings.h>
#endif
#include "STR_String.h"
/*-------------------------------------------------------------------------------------------------

View File

@@ -52,6 +52,7 @@ def randomize_selected(seed, loc, rot, scale, scale_even, scale_min):
if scale_even:
sca_x = sca_y = sca_z = uniform(scale[0], - scale[0])
uniform(0.0, 0.0), uniform(0.0, 0.0)
else:
sca_x, sca_y, sca_z = rand_vec(scale)
@@ -111,7 +112,7 @@ class RandomizeLocRotSize(bpy.types.Operator):
scale_min = FloatProperty(name="Minimun Scale Factor",
description="Lowest scale percentage possible",
default=15.0, min=-1.0, max=1.0, precision=3)
default=0.15, min=-1.0, max=1.0, precision=3)
scale = FloatVectorProperty(name="Scale",
description="Maximum scale randomization over each axis",