Campbell Barton
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
Campbell Barton
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
Campbell Barton
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Brecht Van Lommel
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
Campbell Barton
9b2df014d2
fix [ #29459 ] Crash making a linked object group local
...
was an error with make-local refactor & path updating.
2011-11-30 00:32:13 +00:00
Campbell Barton
e5f40a1aac
- pyapi mathutils.geometry.intersect_plane_plane
...
- isect_plane_plane_v3 uses better method
- minor refactor - arg name changes & some args as const.
2011-11-20 05:56:21 +00:00
Brecht Van Lommel
5d2a155f2b
Camera: some more refactoring, mostly in the function that computes the camera
...
border, now we just get the border coordinates from comparing the viewport and
camera viewplanes.
2011-11-19 18:35:42 +00:00
Campbell Barton
f3613be1fb
add poll function for VIEW3D_OT_camera_to_view_selected & remove some unused code.
...
also made it so copying camera sets the dof object to extern.
2011-11-19 01:24:40 +00:00
Campbell Barton
4924abaad6
replace fabs with fabsf where both input and output are floats.
2011-11-19 01:10:05 +00:00
Brecht Van Lommel
26e08e1b9d
Camera Sensor:
...
* Tweak description of sensor fit property.
* Fix sensor display for auto and vertical fit.
* Fix incorrect aspect ratio for camera frame drawing.
2011-11-18 23:15:11 +00:00
Brecht Van Lommel
5429a701c4
Camera: more code refactoring, adding a function to create CameraParams from
...
3d view, deduplicating the complex code for setting up the viewplane.
2011-11-18 21:19:03 +00:00
Brecht Van Lommel
539c94a051
Camera: some code refactoring, use an intermediate CameraParams struct instead
...
of long list of variables everywhere. Intention is to also let 3d view use this
eventually, instead of duplicating code.
2011-11-18 15:52:00 +00:00
Campbell Barton
a7ed8f5e4a
fix for shiftx/y for recently added VIEW3D_OT_camera_to_view_selected operator.
2011-11-14 08:43:09 +00:00
Campbell Barton
a34fed3f2c
VIEW3D_OT_camera_to_view_selected operator to move the camera to frame
...
all selected, renderable objects.
2011-11-14 03:54:23 +00:00
Campbell Barton
bb8fe0bf4a
minor edits
...
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
2011-11-07 04:36:37 +00:00
Brecht Van Lommel
647447db58
Code refactoring: split lamp functions from object.c into new lamp.c.
2011-11-05 13:11:49 +00:00
Brecht Van Lommel
9884129117
Code refactoring: split camera functions from object.c into new camera.c.
2011-11-05 13:00:39 +00:00