Campbell Barton
fbb8672da4
replace operator options bl_undo and bl_register with bl_options
...
eg.
bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'}
This didnt exist when operators were originally wrapped.
2010-03-01 00:03:51 +00:00
Campbell Barton
97bdfe6f1b
pep8 cleanup + correction for external player operator return value.
2010-02-22 23:32:58 +00:00
Campbell Barton
23efeff6a9
[ #21177 ] Text editor
...
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-16 09:55:07 +00:00
Campbell Barton
39c04315e2
change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-14 11:21:21 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Daniel Salazar
bc5f81ee3c
Clean up of tooltips in py operators and better operator name for
...
randomize transform
2010-02-11 23:13:47 +00:00
Joshua Leung
3fb8939870
Patch/Bugfix #20997 : Recent commit to object_randomize_transform.py by Cam added some garbage to a variable name making the script fail
...
Patch by Daniel Salazar (ZanQdo)
2010-02-07 11:53:00 +00:00
Campbell Barton
039d087171
subtype support for properties in bpy.props.
2010-02-01 22:04:33 +00:00
Campbell Barton
9396bb2da9
- 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.
2010-01-19 15:57:02 +00:00
Campbell Barton
c02b26e463
convert rotations into radians (not scale)
2010-01-19 09:51:09 +00:00
Campbell Barton
8ae76d7249
pep8 compliance for Randomize objects loc/rot/scale.
...
- scale min -1 to 1 rather then -100 to 100
- default precision for float props to 2.
2010-01-19 09:36:40 +00:00
Campbell Barton
98312235b0
own error from changes to this script.
...
need to call random.uniform() even if its not used to give pradictable randomization.
2010-01-19 09:24:39 +00:00
Campbell Barton
849024df83
patch [ #20724 ] Randomize Loc Rot Size py operator for B2.5
...
written from scratch by Daniel Salazar (zanqdo). added own modifications.
New property type
bpy.props.FloatVectorProperty(), only difference with float is it takes a 'size' argument and optional 'default' sequence of floats.
moved bpy.props.* functions out of bpy_rna.c into their own C file.
2010-01-19 00:59:36 +00:00