Campbell Barton
9a85435e96
rna api:
...
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)
2010-07-03 17:39:29 +00:00
Campbell Barton
4cf697de89
- for BGE mouse and keyboard events use tuples rather then lists
...
- pep8 corrections
2010-04-17 19:05:53 +00:00
Campbell Barton
67cfc427ee
PyAPI
...
- added new mathutils.Color() type, use with rna so we can do for eg:
material.diffuse_color.r = 1.0
# also has hsv access
material.diffuse_color.s = 0.6
- made Mathutils and Geometry module names lowercase.
2010-04-11 14:22:27 +00:00
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
Daniel Salazar
f5cf555e6c
Context for Object Align op = Object mode
2010-02-22 13:25:32 +00:00
Daniel Salazar
961207e631
Align Object op: ignore objects other than Mesh type
2010-02-17 08:57:40 +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
Daniel Salazar
bd7bfff682
bug #21160 , misspell in align objects operator
2010-02-15 10:06:27 +00:00
Daniel Salazar
d300c28e74
Align Object op: Introducing Align Modes Negative Sides / Centers /
...
Positive Sides. Not the most beautiful code ever but will beautify after everything is
implemented
2010-02-15 06:01:13 +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
Daniel Salazar
8f0b1acae2
Align Objects operator: Added align relative to Active object
2010-02-13 23:29:26 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Daniel Salazar
bb4f77ffe3
Align Objects operator: added selection center as align center
2010-02-12 05:02:29 +00:00
Daniel Salazar
6b01ab5e23
Align Objects operator: adds option to align relative to 3D cursor as
...
well as Scene Origin
2010-02-12 01:03:22 +00:00
Daniel Salazar
f0e873cabe
New Align Objects operator. Currently it has very little functionality but
...
already does alignment operations that are very hard to do manually
2010-02-11 23:27:34 +00:00