Commit Graph

49420 Commits

Author SHA1 Message Date
Antony Riakiotakis
3c3c2cd53c Fix issue with texture painting: Tex slot scale was being applied twice. 2014-03-02 19:40:39 +02:00
Lukas Tönne
a89ef76136 Fix for own mistake: arc diff swallowed a commit somehow, breaking
compilation.
2014-03-02 17:04:24 +01:00
Antony Riakiotakis
503a9733d1 Switch Dyntopo enable back to Ctrl-D.
Grease pencil straight line can still be enabled by first pressing D
then Ctrl and looks like there is no final consensus on key shortcut.
Better leave this as before and solve after release.
2014-03-02 17:22:14 +02:00
Lukas Tönne
fd553c5b7b Fix T37334: Better "internal links" function for muting and node disconnect.
Implements a more flexible internal connect function for standard nodes
(compositor, shader, texture). Allow feasible datatype connections by
priority.

The priorities for common datatypes in compositor, shader and texture
nodes are encoded in a simple function. Certain impossible connections
(e.g. color -> cycles shader) are excluded by giving them -1 priority.

Priority overrides link status: If a higher priority input can be found,
this will be used regardless of link status. Link status only comes into
play for inputs with same priority.

Reviewers: brecht

CC: sebastian_k

Differential Revision: https://developer.blender.org/D356
2014-03-02 16:04:25 +01:00
Campbell Barton
6137ae29c1 Fix for problem with fly speed, caused by other speed tweaks. 2014-03-03 01:09:40 +11:00
Campbell Barton
e60fb0fd29 Fix for collapse ignoring pinned panels 2014-03-02 12:49:30 +11:00
Bastien Montagne
f01d19431d Fix T38873: Crashing on undo of ocean modifier.
Issue of this bug is that most part of fftw is not thread safe, only compute-intensive fftw_execute & co are.

Since smoke was affected by this issue as well, a global fftw mutex was added to BLI_threads.
Audaspace also uses fftw in one of its readers (AUD_BandPassReader.cpp),
but this is not an issue currently since this code is disabled in CMake/scons files.

There was another threading issue with smoke, we need to copy dm used by emit_from_derivedmesh(),
as it is modified by this func.

Reviewers: sergey, brecht

Reviewed By: brecht

CC: brecht

Differential Revision: https://developer.blender.org/D374
2014-03-01 21:05:50 +01:00
Campbell Barton
6b693ab7bf NDOF: add navigation modes to user preferences
also comment debug prints for raytracing
2014-03-01 21:47:46 +11:00
Campbell Barton
176f1aad3d Fix for using non camera objects as a camera having zero area view-frame 2014-03-01 21:41:07 +11:00
Campbell Barton
9737717234 Fix for some unlikely memory leaks, remove redundant checks 2014-03-01 20:14:20 +11:00
Campbell Barton
9742a6f6cb Resolve T38899: changes to Ctrl+Selectmouse conflict with LMB select 2014-03-01 19:26:55 +11:00
Campbell Barton
519ee151a3 Fix for memory leak in particle brush 2014-03-01 16:25:37 +11:00
Campbell Barton
d3ec3fd968 Fix Snap to Symmetry failing to select the vertex from the right side 2014-03-01 15:40:20 +11:00
Campbell Barton
3b5ea6b972 Fix for own error with updating view2d for NDOF 2014-03-01 15:28:51 +11:00
Campbell Barton
13ea967cce Code cleanup: correct abs use and quiet warnings 2014-03-01 14:26:18 +11:00
Campbell Barton
315d85faa1 Fix for baked FCurve subframe interpolation (bad abs use) 2014-03-01 14:12:56 +11:00
Campbell Barton
ca4dde48f3 Fix for sequencer invalid rounding, double wipe at 0 angle 2014-03-01 13:39:36 +11:00
Campbell Barton
6cc5bdc99e FCurve Transform: scaling no longer changes hansle types
This matches 3d view and means you can change the amplitude of a curve
while keeping auto-clamped handles.
2014-03-01 13:06:07 +11:00
Campbell Barton
f29dadc5ea Code cleanup: comment unused code in calchandleNurb_intern
Also remove outdated comments.
2014-03-01 12:58:52 +11:00
Howard Trickey
1582dd5e4d Partial fix for T38871, Bevel could create a far-out spike.
There needed to be a check that when a newly created point is
supposed to be on an edge, that it stays within the bounds
of either end of the edge.
This fixes the hole-in-cube example in the bug, but not
the boolean modifier one, which still needs more work.
2014-02-28 13:56:17 -05:00
Brecht Van Lommel
da5e6b98c9 Fix T38887: error in (still unused) freestyle math function implementation. 2014-02-28 18:15:24 +01:00
Brecht Van Lommel
7f24b34dcc Fix T38885: missing image editor paint brush updates after recent UI changes. 2014-02-28 18:12:05 +01:00
Campbell Barton
a32588b174 Fix for transform setting T_CAMERA
This was only set when the camera was active, however non active cameras
can be transformed too.
2014-03-01 01:28:15 +11:00
Sergey Sharybin
e4996b49f5 Proper solution for crash of GP when marker is not exist on current frame 2014-02-28 19:05:38 +06:00
Campbell Barton
45fc0514fb Fix for crash copying from non RNA color buttons 2014-02-28 23:45:31 +11:00
Campbell Barton
a04c132a7e NDOF: minor tweaks based on feedback.
- invert Y axis when swap YZ is enabled.
- allow rotating when not in ortho mode.
2014-02-28 22:07:53 +11:00
Campbell Barton
f4bf97729a Crazyspace: calculate normal around a (0,0,0)
instead of creating a new triangle in the models space and using that.
2014-02-28 21:26:19 +11:00
Campbell Barton
771b0e354c Fix Crazyspace with proportional editing 2014-02-28 21:26:19 +11:00
Campbell Barton
433b20b7ea PyAPI: correct warning with dynamic enums 2014-02-28 21:26:19 +11:00
Bastien Montagne
f23f07ced0 Fix T38407: Bone roll calculation flips local axes at wrong rotation angle
Just remove that rotation special case for now, at least fixes the glitch along Z axis when rotating around Y axis in report.

Anyway, there is no reason for such special handling, we do not have real rotation in editbone...
2014-02-28 10:47:28 +01:00
Bastien Montagne
2e0a33745d Revert editbone roll correction changes.
This reverts commit f72acc38d 65c5be967 eff6b385e 3fe487217
2014-02-28 10:35:11 +01:00
Campbell Barton
1e05956a0b Fix T38872: Crazyspace could use stale derivedMesh data. 2014-02-28 20:12:45 +11:00
Campbell Barton
ea269c21ea Code cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh 2014-02-28 20:12:45 +11:00
Bastien Montagne
d2a5ea04ed Fix T38467: Animation playback is not synchronized when Screen Layout changes
When both old and new screens share the same scene, "transfer" playback to new screen, else stop playback.
2014-02-28 10:04:57 +01:00
Bastien Montagne
96a51e99fb Fix T38877: F-Curve modal input is incorrect when set to Imperial units.
Using length units outside of 3dview does not make sense...
2014-02-28 09:52:21 +01:00
Sergey Sharybin
8fa15d1050 Correction to previous commit: it was unable to change format for some containers 2014-02-28 14:08:10 +06:00
Sergey Sharybin
32d5cc247f Fix T38768: New "audio" button in 2.70 release does not 'mixdown' audio
Issue was caused by the way how audio output works from audaspace.
Now made it much closer to what's happening in ffmpeg.c and writeffmpeg.c.

Also fixed issues with incompatible combinations of codecs and formats
in mixdown settings.
2014-02-28 12:26:16 +06:00
Campbell Barton
ba08031783 Fix T38817: FCurve autoclamp error
Animating large values with auto handles didn't work well,
(large variations on the Y axis would shrink handles).
2014-02-28 12:11:09 +11:00
Campbell Barton
3a99fa5d7f Revert own changes to CLAMP and CLAMPIS, caused T38875 2014-02-28 11:47:02 +11:00
Campbell Barton
d3b9457991 Code cleanup: style/warnings 2014-02-28 11:04:15 +11:00
Brecht Van Lommel
d7a2d2b693 Fix T38876: hide area split widget in lower left of widget on OS X.
This is already used by the operating system for window resizing, you must use
the widget in the top right of the area to split.
2014-02-27 23:41:01 +01:00
IRIE Shinsuke
d81f492d08 Blender Internal: Bring back previous behavior that rendered viewport uses render visibility rather than viewport visibility.
Commit 162d6c73e3 changed the behavior of rendered viewport to use
viewport visibility, but that can cause some problems. For example,
mesh deform cage is drawn as a solid/textured mesh (not a wireframe
mesh) and its unnecessary surfaces and shadows mess up the preview.
2014-02-28 05:47:55 +09:00
Brecht Van Lommel
18fde352bf Fix compile error when compiling without python. 2014-02-27 21:16:01 +01:00
gaiaclary
3111f08ad9 Fix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways. 2014-02-27 15:23:32 +01:00
Sergey Sharybin
d971c5785e Fix root of the issue of bad_cast bug in localization
No need to call l10n stuff when it's disabled in the preferences.

Reviewed by @mont29, thanks!
2014-02-27 15:07:25 +06:00
Bastien Montagne
17d2e6422c Hopefully definitively fix the "enter the advanced numinput mode" issue.
Hack around event code and check against ascii code, this way keyboards with "complex" access to '=' and '*' are still able to toggle numinput modes.
2014-02-27 09:49:09 +01:00
Campbell Barton
d09f2ed322 Fix T38864: Crash with curves and follow path 2014-02-27 19:33:23 +11:00
Campbell Barton
64eea27533 Fix T38602: Aligned layout breaks if panel too wide 2014-02-27 19:01:14 +11:00
Antony Riakiotakis
b9f14ea56b Fix T36654.
There is a key conflict between grease pencil shortcuts and sculpt
shortcuts (D and ctrl D were taken by draw brush and dyntopo toggle,
respectively). Based on feedback, change dyntopo toggle to ctrl-T and
draw brush to X.

Also add missing property update for dyntopo detail size.
2014-02-27 09:39:39 +02:00
Campbell Barton
118d86aa73 UI: avoid for divide by zero for icon buttons (no need to clip text) 2014-02-27 18:30:06 +11:00