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
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
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
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
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
4924abaad6
replace fabs with fabsf where both input and output are floats.
2011-11-19 01:10:05 +00:00
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
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
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
a7ed8f5e4a
fix for shiftx/y for recently added VIEW3D_OT_camera_to_view_selected operator.
2011-11-14 08:43:09 +00:00
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
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
647447db58
Code refactoring: split lamp functions from object.c into new lamp.c.
2011-11-05 13:11:49 +00:00
9884129117
Code refactoring: split camera functions from object.c into new camera.c.
2011-11-05 13:00:39 +00:00