b07bdf367c
file had non utf8 characters.
2011-05-22 05:36:11 +00:00
6e39d908a9
quiet compiler warnings for -Wundef
2011-05-22 04:25:31 +00:00
b1ddf90239
fix [ #27458 ] Links for Logic Bricks no longer work
...
event->mval wasn't being set in some cases by the event system.
2011-05-22 04:05:09 +00:00
6727ed1ca4
correct a tooltip misspell
2011-05-21 23:44:36 +00:00
e038b25579
view3d function naming, no functional changes.
2011-05-21 08:56:37 +00:00
b1025f2a30
fix [ #27437 ] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit
...
previous fix unintentionally made linking groups also add objects to the scene,
tested this more throughly, its ensured only to run on append and not to conflict with group linking/appending.
2011-05-21 07:15:36 +00:00
6c4cd8d9f3
no functional changes, make give_base_to_objects() arguments less confusing.
2011-05-21 06:48:19 +00:00
1890b7f431
Bugfix [ #27452 ] Wrong linking of character groups
...
Linking in groups also ended up adding those objects to the current
scene that we're linking the group in to. This is a regression. It
leads to more work (and/or confusion) from animators when just trying
to get a character into a shot file to start animating it (see my
notes on my blog for the proper workflow regarding this).
Reverting r36762, which caused this mess.
2011-05-21 06:04:44 +00:00
4c37fe91f3
patch [ #27449 ] bpy_script_paths() return path reversed [patch]
...
from Dan Eicher (dna)
2011-05-21 05:34:20 +00:00
d16da799fb
change transform to round at 0.5 for fcurves.
...
this gave noticeable issue when transforming int/fcurve's below zero.
2011-05-20 18:19:29 +00:00
9563743f4e
was using the wrong rna type for GRAPH_OT_select_leftright
2011-05-20 18:00:19 +00:00
259582235c
error in recent commit.
2011-05-20 16:43:23 +00:00
b100f9d79d
edit gp_stroke_convertcoords not to modify the mval passed to it & make some mval args const elsewhere too.
2011-05-20 14:11:05 +00:00
363bfdc46a
use consistant arguments to ED_view3d_win_* funcs, a single float vector rather then 2 floats.
2011-05-20 13:50:41 +00:00
53d5761c94
function rename to give clearer meaning that they change from window to 3d coordinates.
...
some functions had vague names, I even ended up re-writing some of these functions by accident!
also added doxy comments.
* ED_view3d_win_to_3d (was window_to_3d)
* ED_view3d_win_to_delta (was window_to_3d_delta)
* ED_view3d_win_to_vector (was window_to_3d_vector / viewvector)
* ED_view3d_win_to_segment_clip (was viewline)
* ED_view3d_win_to_ray (was viewray)
2011-05-20 13:09:34 +00:00
c833fff638
replace checks with rv3d->persp with rv3d->is_persp since in these cases it only matters if its a perspective view matrix, this wouldn't work right for camera views.
2011-05-20 11:15:44 +00:00
4916c44af8
simplify window_to_3d_vector() and call it from viewline()
...
also update python view function to match.
2011-05-20 10:28:40 +00:00
2999d0fad9
rename mul_project_m4_v4 to mul_project_m4_v3.
2011-05-20 10:09:03 +00:00
Nathan Letwory
3ddaaa3784
Remedy compile error on windows/msvc introduced in r36787.
2011-05-20 08:52:52 +00:00
9f766c71b0
use event->mval rather then subtracting ar->winrct.x / y from event->x / y
2011-05-20 07:40:05 +00:00
2338765726
renaming bones didnt update update the view3d lock bone name.
2011-05-20 05:39:56 +00:00
170716ca53
use BKE_area_find_region_type in place of inline loops (no functional changes).
2011-05-20 05:27:31 +00:00
984d2e42e4
make api functions for converting rv3d->camzoom, so the odd logic for this isn't inlined all over.
2011-05-20 04:14:29 +00:00
c07012b41e
int values were not drawing curve handles, yet the handles could still be selected and transformed, and different handle types set. disable this check and draw curve handles for int fcurves.
2011-05-20 01:02:00 +00:00
2f4813500c
- mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
...
- remove secret apricot feature now dolly is its own operator.
2011-05-19 17:19:05 +00:00
0942e62bc4
move rna property area.active_space --> area.spaces.active
2011-05-19 15:18:40 +00:00
79e7a89c38
formatting changes only.
2011-05-19 13:50:53 +00:00
fbe541d1a8
modify fcurve evaluation for bool/enum/int values. was converting from a float to an int which means 0.9x evaluates to 0.0, negative numbers are also rounded up.
...
Round at 0.5 instead & treat negative numbers the same.
2011-05-19 12:39:57 +00:00
e088f592bd
Fix some compile warnings.
2011-05-19 11:54:03 +00:00
417b7836ec
UI tweak: properties editor header now has same size as other headers again.
2011-05-19 11:45:06 +00:00
525f4e226e
Fix for preview render, lamp and world now also get localized like material and texture.
2011-05-19 11:37:08 +00:00
54b97c1d9d
Code refactor: split code for render updates and opening render view into
...
separate files, no functional changes.
2011-05-19 11:34:11 +00:00
ae0c552bd1
Fix crash when accessing mesh from python while a mesh with a subsurf modifier
...
is in editmode.
2011-05-19 11:24:56 +00:00
3aaa03e1f8
Add localize_lamp and localize_world functions as already existed for materials
...
and textures, unused still.
2011-05-19 11:21:37 +00:00
4c28693ae3
UI: fix direction properties not showing the right direction editing widget,
...
code was there but in the wrong location. This makes the opengl lights in
the user preferences show that widget again as in 2.4.
2011-05-19 11:18:09 +00:00
7603c8a2fb
screenshot operator can now be executed directly.
...
so python can screenshot with: bpy.ops.screen.screenshot(filepath="some_image.png"):
2011-05-19 11:13:35 +00:00
d77b9af609
UI: fix menus getting closed too quick when moving mouse not exactly towards
...
them, noticeable for the vertex groups or material slot utility menus.
2011-05-19 11:05:34 +00:00
1dad9bf0bc
change window_to_3d to take screen coords as floats.
2011-05-19 07:55:48 +00:00
31d3e8d214
converting grease pencil now works in the camera view.
2011-05-19 07:43:10 +00:00
1ce0958369
fix [ #27437 ] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit
2011-05-19 06:17:44 +00:00
32793a1395
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.
2011-05-19 04:28:09 +00:00
391dbde03d
added math function isect_line_plane_v3(), use for window_to_3d rather then having it inline.
2011-05-19 03:49:57 +00:00
c04f9b779c
fix [ #27158 ] Appending crash with preview.
...
* fixed incorrect reading of PreviewImage struct from .blend
* fixed memory leak, PreviewImage data wasn't correctly free'd
2011-05-18 19:42:30 +00:00
91bd739a09
use window_to_3d for armature_click_extrude operator.
2011-05-18 18:14:59 +00:00
7282f8cf98
window_to_3d() wasn't working at all (only used by grease pencil/path conversion), now works in ortho and perspective view, initgrabz() is no longer needs to be called first.
2011-05-18 18:01:01 +00:00
f4d8be977f
there wasn't a good way to know if a RegionView3D was perspective or not (without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.
2011-05-18 17:52:26 +00:00
6266e62170
python mathutils.Matrix.is_orthogonal readonly attribute.
2011-05-18 15:31:00 +00:00
d2b0954b2a
UI: fix access of freed memory in buttons handling code.
2011-05-18 15:23:40 +00:00
a6fe2f1e18
RNA: some compile fixes for C/C++ api.
2011-05-18 12:56:58 +00:00
66f51ba5d1
RNA: make mechanism used by operators to keep python instance alive more generic, to be used by render engine later.
2011-05-18 11:21:10 +00:00