Commit Graph

30069 Commits

Author SHA1 Message Date
Campbell Barton
dec09f2a3b fix for mistake in selecting vertex groups (own recent commit) 2011-05-26 05:40:00 +00:00
Campbell Barton
9a556fd69b fcurve/boolean evaluation, values below zero are no longer evaluated to true. 2011-05-26 05:35:30 +00:00
Campbell Barton
1f1481841d fix [#27478] Crash on image editor after loading exr images
patch from Ryakiotakis Antonis (psy-fi) with minor change.
2011-05-25 11:06:30 +00:00
Campbell Barton
49ad7345af fix [#27479] Missing 'Select vertex groups under the cursor' in weight paint mode
really todo :) but still needs to be done.

Split this into 2 operators, works like 2.4x
- Ctrl+LMB samples weight.
- Shift+LMB selects vertex groups.
2011-05-25 10:07:59 +00:00
Campbell Barton
3cfa9a2163 cmake's install target now works for the python module on *nix. 2011-05-24 18:34:07 +00:00
Campbell Barton
9f1a021068 remove some warnings and possible use of un-initialized vars. 2011-05-24 17:25:11 +00:00
Campbell Barton
15289c6048 use PyDoc_STRVAR macro, so its possible to build without docstrings. 2011-05-24 16:05:51 +00:00
Campbell Barton
357ce16958 loading data with bpy.data.libraries.load(), now swaps out the strings in the list to load with the actual datablocks, this is convenient because it saves the script author having to find them after.
also raise warnings rather then errors if the datablock can't be found.
2011-05-24 15:21:14 +00:00
Campbell Barton
a8cb91e64a BLO_library_append_named_part now returns the newly linked/appended datablock. 2011-05-24 15:02:46 +00:00
Campbell Barton
6a4a8854b5 lookup table for axis conversion was wrong in some places. 2011-05-24 12:55:29 +00:00
Nathan Letwory
a751c48b5f clamp delta to prevent cases where strength is a huge number. Very high values would lead to scale problems of objects. 2011-05-24 11:20:33 +00:00
Brecht Van Lommel
4ac88bd16f Fix for mingw 64bit fix. 2011-05-24 11:19:11 +00:00
Brecht Van Lommel
3e62e518ec Attempt to fix mingw 64 bit compile error. 2011-05-24 11:01:39 +00:00
Campbell Barton
4a989282d4 bpy_extras.io_utils.axis_conversion() was returning wrong matrix. 2011-05-24 08:11:51 +00:00
Campbell Barton
2ccdcca7f5 fix for option WITH_CXX_GUARDEDALLOC with msvc 2011-05-24 06:44:39 +00:00
Campbell Barton
e1a7ecb5ae fix for using uninitialized vars in own recent commit. 2011-05-24 05:22:58 +00:00
Campbell Barton
dc33976fc2 fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC 2011-05-24 05:21:51 +00:00
Brecht Van Lommel
1e00590f1c Fix #26728: crash with load/save on Mac, on files that close & open a window
when loading them. Custom cursor shown during load was not freed correctly
when closing the old window, which resulted in unpredictable crashes later on.
2011-05-23 15:56:26 +00:00
Campbell Barton
6357b12641 fix [#27462] Linked Object (camera) can be moved by Lock Camera to View 2011-05-23 15:46:09 +00:00
Campbell Barton
d0e4f7b9f2 remove unused code, comment some that may be useful (maintainers can remove). 2011-05-23 15:23:31 +00:00
Campbell Barton
b69c1e8f1a CMake changes
- don't allow building if the LIBDIR is not found on mac/windows.
- by default use -O2 rather then -O3 for GCC release flags, was crashing some GCC versions and blender releases are supposed to use -O2.
2011-05-23 14:56:14 +00:00
Brecht Van Lommel
9296060082 Fix print_rctf not printing y max correct. 2011-05-23 14:51:31 +00:00
Campbell Barton
3d5ba20f66 fix [#26618] StringProperty with sub_type of FILE_PATH not updated correctly from icon 2011-05-23 10:14:07 +00:00
Campbell Barton
f5ec4cf4e9 fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right click on header not working
also get rig of more shadowed vars (-Wshadow).
2011-05-23 08:14:29 +00:00
Campbell Barton
af49b5f6c9 own recent commit broke zoom to mouseloc 2011-05-23 02:59:29 +00:00
Campbell Barton
b222863336 fix [#27459] Flymode moves parent
for durian we had camera rigs which needed to have the parent transformed rather then the camera, for this reason I made fly mode fly the parent rather then the camera its self.

Make this a preference and use this for view camera/view locking too.
2011-05-23 02:53:30 +00:00
Campbell Barton
0d26333eb5 fix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4. added doxygen docs. 2011-05-23 02:23:03 +00:00
Campbell Barton
bf65ed9447 fix [#27443] "Make single user Material+Tex" doesn't work for textures 2011-05-22 17:10:24 +00:00
Campbell Barton
d02480cdaa remove / comment unused code, patch by nico_ga on IRC with some edits. 2011-05-22 16:29:51 +00:00
Campbell Barton
04e157304a - view dolly now quits on pressing escape (if activated from the search menu).
- adding new bones now makes them active.
2011-05-22 11:36:56 +00:00
Campbell Barton
b07bdf367c file had non utf8 characters. 2011-05-22 05:36:11 +00:00
Campbell Barton
6e39d908a9 quiet compiler warnings for -Wundef 2011-05-22 04:25:31 +00:00
Campbell Barton
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
Daniel Salazar
6727ed1ca4 correct a tooltip misspell 2011-05-21 23:44:36 +00:00
Campbell Barton
e038b25579 view3d function naming, no functional changes. 2011-05-21 08:56:37 +00:00
Campbell Barton
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
Campbell Barton
6c4cd8d9f3 no functional changes, make give_base_to_objects() arguments less confusing. 2011-05-21 06:48:19 +00:00
Joshua Leung
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
Campbell Barton
4c37fe91f3 patch [#27449] bpy_script_paths() return path reversed [patch]
from Dan Eicher (dna)
2011-05-21 05:34:20 +00:00
Thomas Dinges
2aa9c000ed Fix for [#27333] Translation constraint is broken.
Committing here a patch by Bastien Montagne (mont29), a more understandable Translation Constraint UI. 
Before: http://www.pasteall.org/pic/12578
Now http://www.pasteall.org/pic/12258

From the description: 
"When you set “X” under the Destination’s “Z”, it does not mean that the Z transform of the source should affect the X transform of the destination, but rather that the X transform of the source should affect the Z transform of the destination…"

The new UI should make it a bit more clear.
2011-05-20 18:26:44 +00:00
Campbell Barton
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
Campbell Barton
9563743f4e was using the wrong rna type for GRAPH_OT_select_leftright 2011-05-20 18:00:19 +00:00
Thomas Dinges
8d8e42a451 2.5 Particle UI:
*In Particle Mode, there was no way to see what p-sys is being edited in the 3D View Tool bar, when having multiple ones. 
Changed List type to normal (with limit to 3 rows). Request by venomgfx. :)

* Removed redundant text info about disconnected hair from Particle UI.
2011-05-20 17:08:09 +00:00
Campbell Barton
259582235c error in recent commit. 2011-05-20 16:43:23 +00:00
Campbell Barton
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
Campbell Barton
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
Sergey Sharybin
a8ef6ffd17 typo in previous commit 2011-05-20 13:10:40 +00:00
Campbell Barton
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
Sergey Sharybin
e721d31b5d buildbot:
ffmpeg was compuled with faad now (aac support which keeps
libs gpl2 compatibile).
Updating library dependencies for buildbot rules.
2011-05-20 13:06:19 +00:00
Campbell Barton
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