Commit Graph

52618 Commits

Author SHA1 Message Date
Mitchell Stokes
411650f2fa Partial fix for T3817: BGE crashing when using LibNew.
The BGE needs to use BKE_main_new() isntead of calloc for
allocating a Main struct since the threaded depsgraph changes.
2014-02-23 12:44:33 -08:00
Jens Verwiebe
8be628cf7f Fix an uncaught exception on OSX, perhaps general with popups 2014-02-23 20:38:29 +01:00
gaiaclary
d92f6b9903 T38763 Fix: avoid NPE When no custom properties are defined 2014-02-23 15:33:10 +01:00
Campbell Barton
cb1b6b549e Fix T38769: Python missing access to text materials 2014-02-23 18:38:08 +11:00
Campbell Barton
002b2c1541 MSVC: resolve utf8 encoding issue with some codepages 2014-02-23 14:38:27 +11:00
Campbell Barton
eff6b385e4 Code cleanup: use lowercase names for vars 2014-02-23 14:38:26 +11:00
brita
9753641c5d Fix T38645 - Mouse reversed in standalone player with kde
Reviewers: moguri

Differential Revision: https://developer.blender.org/D344
2014-02-22 17:23:18 -08:00
Bastien Montagne
f469cbea9d Followup for numinput: activate numinput when hitting pad* or =, this is the expected behavior from users! 2014-02-22 15:02:49 +01:00
Lawrence D'Oliveiro
554eca1c28 Avoid UUOC in install_deps.sh
The file ##build_files/build_environment/install_deps.sh## contains the following line:

  THREADS=`cat /proc/cpuinfo | grep processor | wc -l`

The command within the backticks is a [[ http://catb.org/jargon/html/U/UUOC.html | Useless Use Of Cat ]].

A more compact way of writing the same thing (saving two subprocesses) is

  THREADS=`grep -c processor /proc/cpuinfo`

or (using POSIX-preferred command-substitution parentheses instead of backticks)

  THREADS=$(grep -c processor /proc/cpuinfo)

But the most compact, and least Linux-specific, way is to use the ##nproc##(1) command from the [[ http://www.gnu.org/software/coreutils/manual/html_node/nproc-invocation.html | GNU coreutils package ]]:

  THREADS=$(nproc)

Reviewers: sergey, mont29

Reviewed by: mont29

Differential Revision: https://developer.blender.org/D255
2014-02-22 14:31:43 +01:00
Bastien Montagne
ea5090f8c0 Minor UI messages fixes. 2014-02-22 13:49:40 +01:00
Bastien Montagne
c1cdce364b Fix T38743: Modal input feature appears to be missing from 2.70 test builds
Add 'pad *' in addition to '=' to toggle basic/advanced numinput modes.
2014-02-22 12:08:39 +01:00
Bastien Montagne
3fe487217d Fix T38407: Bone roll calculation flips local axes at wrong rotation angle.
Basic idea is now to have the transformes bones keep "facing" the armature's Z axis, see comments in code for details.

That might not be ideal, but at least we now have humanly predictable and consistent results.
2014-02-22 11:12:44 +01:00
Lukas Tönne
907be3632c Replace the int argument for user count mode when restoring pointers on
undo with a nicer enum.

This is more transparent about what happens with the user count.
Also added comments to make certain the meaning of these values is
easily understandable.
2014-02-22 10:41:30 +01:00
Campbell Barton
6b2d1d1493 Docs: doxygen sections for bmesh walkers 2014-02-22 18:52:14 +11:00
Campbell Barton
99edd29835 Fix T38753: Python script paths weren't escaped (Win only) 2014-02-22 17:54:50 +11:00
Campbell Barton
739ae1d809 NDOF: fix for view3d ignoring lens values when panning
image, mce, view2d and view3d now have matching pan speed.
2014-02-22 16:30:48 +11:00
Campbell Barton
3a44e975a9 Fix T38539: Can't set near sensor distance above 100 via python 2014-02-22 13:57:12 +11:00
Campbell Barton
543b57fbeb Fix T38348: Panel remains scrolled when switching tabs 2014-02-22 13:07:02 +11:00
Campbell Barton
b7fa08f88a Code cleanup: style 2014-02-22 11:14:15 +11:00
1a79abdad2 Fix more of T38726: there still was a crash when deleting render layers. 2014-02-21 16:38:19 +01:00
c0e0b61222 Fix cycles standalone crash on Mac OS X. 2014-02-21 15:39:46 +01:00
277126881d Fix T38726: blender internal viewport render crash when deleting render layer. 2014-02-21 15:10:47 +01:00
415adf7263 Fix T38740: multi-user metaballs not rendering in Cycles. 2014-02-21 15:03:24 +01:00
Joshua Leung
5f18d863a9 Bugfix: Toggling "auto-blends" option on NLA Strips doesn't update them immediately 2014-02-22 00:53:04 +13:00
Joshua Leung
4ff3ec835e Fix T38737: Box select channels in dope sheet doesn't select corresponding bones in rig 2014-02-22 00:53:03 +13:00
Thomas Dinges
3436c41dee Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI.
Also shorten info messages a bit.
2014-02-21 12:46:17 +01:00
Lukas Tönne
f1a0278e90 Fix T37719: NodeTrees lose users on undo.
The node editor needs to "ensure real user" (id_us_ensure_real) on all
the node trees. This was done correctly for all open groups, but missing
for the base node tree. Function is a bit hidden behind anonymous
arguments in readfile.c ...
2014-02-21 10:08:49 +01:00
Sergey Sharybin
b3bc9e4f77 Fix T38598: RGBA images don't blend well in VSE with Cross Effect Strip
The issue was caused by the fact that sequencer used to cross-over effect
result with strips used for this effect, which is really stupid.

Now made it so strips which are used for effect inputs are not in the
render stack to be sure they would only be used by effect itself and
wouldn't be blended in any other way.
2014-02-21 14:03:33 +06:00
Campbell Barton
6c32192850 Reduce crease & bevel weight precision to hide float/ubyte rounding 2014-02-21 18:27:28 +11:00
Campbell Barton
e87c462890 Fix T38736: ShrinkWrap modifier doesn't work after Subsurf 2014-02-21 18:10:44 +11:00
Campbell Barton
21565484f7 NDOF: Fit key working for logic, clip and sequencer
Patch D334 from Inês Almeida
2014-02-21 16:59:01 +11:00
Campbell Barton
c50b23fa67 Fix own error - tab scrolling mixed up region/window coords 2014-02-21 16:12:53 +11:00
Campbell Barton
a00ebaecce UI: Increase cursor distance to leave keyboard navigation
This mitigates T38505, where moving the mouse while using the wheel/keys
can exit the submenu.
So at least smaller unintentional movements won't be misinterpreted.
2014-02-21 15:57:09 +11:00
Campbell Barton
08f5e3897c Modifier: rename triangulate scanfill to ear-clip 2014-02-21 15:03:34 +11:00
Campbell Barton
77290fccd5 Fix random select in edge/face mode
patch D336 from Henrik Aarnio
2014-02-21 08:51:30 +11:00
Campbell Barton
8565b2042e Fix for BM_mesh_deselect_flush(), allowed faces with deselected edges 2014-02-21 08:16:49 +11:00
Sergey Sharybin
4056db22cd Motion tracking panel compactification in 3D viewport properties
Patch by Sebastian Koenig, thanks!
2014-02-20 22:01:53 +06:00
Sergey Sharybin
28f3cc3eb7 Fixes for buildinfo hash/branch detection
Branch name and hash didn't work properly when having disconnected
HEAD or when having current HEAD below upstream.
2014-02-20 21:43:30 +06:00
Lukas Tönne
4789793f09 Fix for bad imbuf creation by compositor viewers if resolution is (0,0).
This can happen if no image buffers are used to define a sensible
resolution. Then the viewer will stiff create a float buffer in the
output imbuf, which defies the usual ibuf->rect_float check and leads
to invalid memory access. Float buffer should not be created in this
case.
2014-02-20 12:09:47 +01:00
Campbell Barton
47c55c5d43 Fix for reading past allocated bounds when calculating paths 2014-02-20 20:28:30 +11:00
Campbell Barton
572a199a24 Fix for off-by-one error switching nurbs direction 2014-02-20 20:11:03 +11:00
Campbell Barton
767ac65e75 Docs: update man page script based on D251 2014-02-20 20:11:03 +11:00
Sergey Sharybin
4823bd1454 Fix crash when deleting strip used as mask in another strip modifier 2014-02-20 13:52:49 +06:00
Sergey Sharybin
361fc09792 Allow using strips from the top of the stack as modifier arguments
Poll function tried to be smart and disallow having dependency cycles,
but it didn't work properly. Further, it still possible to re-shuffle
strips stack in the way which introduces dependency cycles.

So disabled this smartness in the poll function for now.
2014-02-20 13:36:07 +06:00
Campbell Barton
10f4c62783 Editmesh: add convex hull to vertex menu 2014-02-20 16:32:23 +11:00
Bastien Montagne
32d6f853f3 Transform: revert to 2.69 numeric input behavior by default
This allows to get the same "quickies" as in previous (2.69) code, (XYZ, -/, etc.), yet keeping nice non-conflicting new stuff like cursor navigation or copy/paste.

You can switch to full mode hitting '=', and back to simple mode hitting 'ctrl ='.
2014-02-20 16:11:36 +11:00
Campbell Barton
9a5b61cf58 Transform: skip setting colors when picking with the manipulator 2014-02-20 14:34:50 +11:00
Campbell Barton
338f40cce3 NDOF: yaw/pitch were swapped and add timeline fit. 2014-02-20 13:31:47 +11:00
Campbell Barton
1df068c39a UI: Fix for rna-enum submenus not showing a right arrow 2014-02-20 13:30:52 +11:00
Campbell Barton
e7f3424dca Fix T38723: Crash on loading with NULL sequence stripdata 2014-02-20 12:40:28 +11:00