Commit Graph

52375 Commits

Author SHA1 Message Date
Campbell Barton
7bc577e9f7 View3d Walk: enable rotation for ndof by default 2014-02-12 21:05:24 +11:00
Campbell Barton
bd89528a5e Code cleanup: replace WM_OT_ndof_sensitivity_change -> WM_OT_context_scale_float
also increase maximum sensitivity
2014-02-12 21:05:24 +11:00
Tamito Kajiyama
054094f582 Freestyle: Fix for chaining operators not concatenating edges with Freestyle edge marks and at material boundaries.
Problem report by Postoman on the BlenderArtists.org Freestyle thread, thanks a lot!
2014-02-12 18:17:21 +09:00
Sergey Sharybin
2dd2bcf2de Fix/workarond for scenes rendered for sequencer preview
This is really a workaround which brings back direct display
list creation from drawing code. This is rather nasty to do
but proper solution would require some major sequencer redesign.
2014-02-12 14:06:13 +06:00
Campbell Barton
5b0f03323b View3d: enabling quadview box would copy view offset, sync to avoid jump 2014-02-12 14:16:03 +11:00
Campbell Barton
38ead88dee View3d: fix for quadview box only syncing some view axis 2014-02-12 14:16:03 +11:00
Campbell Barton
7731a940d1 View3d: add utility function to get the quat from a view axis 2014-02-12 14:16:02 +11:00
Thomas Dinges
9c8bf7302d Cycles: Avoid unnecessary dot products in Mesh/Hair export code. 2014-02-12 03:27:41 +01:00
Campbell Barton
5c8d5c70cf View3d: ensure locked views are on an axis - behavior wasn't well defined. 2014-02-12 11:26:02 +11:00
Campbell Barton
bfd0b582ca fix/workaround for v3d object mode selector flipping direction
Allow menu functions to define their own direction, this way
menu_item_enum_opname_menu can keep menu flipping from 2.69.
2014-02-12 10:29:15 +11:00
Campbell Barton
18a8d88923 Transform: better logic to calculate manipulator normal orientation.
Use Z axis for the edge direction for edges and vertex pairs.

Issue raised in T38592, now edge select and vert-pairs share logic
for calculating orientation and the active vertex determines direction.
2014-02-12 08:48:33 +11:00
IRIE Shinsuke
38e58612ef Revert own previous commit rBe2f9afbaabbd.
The "Cast Shadows" worked as expected, but it can cause problem in some cases.
For example, when using strand render, we need disabling only buffer shadows,
but the previous changes made that impossible. "Cast Shadows" should be added
as a newly created option.
2014-02-12 05:46:26 +09:00
78f23ce9fc Cycles: mix hair minimum width code with SSE intersection code
Gives 6.5% speedup for hair.blend from testsuite.

This commit was previously reverted, but should work ok now. Patch by Sv. Lockal.
2014-02-11 18:49:38 +01:00
afadaaf8e0 Code cleanup: fix a few visual studio compiler warnings. 2014-02-11 18:49:32 +01:00
Thomas Dinges
842a66b07c Cycles: Code refactor for Clamping/Inf Rejection, combined into 1 function. Also avoid some conditionals.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D310
2014-02-11 17:44:41 +01:00
Campbell Barton
0e97550fb3 Mesh Data: disable two-sided for new meshes (see: T37518) 2014-02-12 02:46:43 +11:00
Campbell Barton
7e300ed3a1 UI: change to give sliders more text space, messes with alignment 2014-02-12 02:46:43 +11:00
Campbell Barton
f90a913695 Fix for fix with render layer menu 2014-02-12 02:46:42 +11:00
c287624f50 Fix T38597: cycles status bar missing some updates. 2014-02-11 16:26:08 +01:00
e91ddf02a8 Fix T38547: crash in skeleton sketching. 2014-02-11 16:14:20 +01:00
5af3b02f72 Fix T38578: blender internal texture nodes + volume render error. 2014-02-11 16:10:29 +01:00
d2b15b0a8c Fix T38590: some material operators incorrectly appeared in the spacebar search menu. 2014-02-11 15:21:17 +01:00
Sv. Lockal
bd44dcb632 Better fix for T38501: blender crashes right after adding image texture to
material in cycles

Buggy MSVC 2008 in 32-bit mode ignores stack align attribute for float3.
Now it uses reference to __m128, which is always aligned.
2014-02-11 17:48:23 +04:00
Sergey Sharybin
0a50757a59 Fix null-pointer dereference in previous sequencer commit 2014-02-11 19:29:17 +06:00
Thomas Dinges
5a35034fb3 Fix Cycles Light Passes being always enabled, own regression in Clamp commit yesterday.
KernelIntegrator just doesn't have valid data at this point, so we need to go one level deeper.
2014-02-11 14:14:43 +01:00
Campbell Barton
4bf4c4111e Own recent removal of string encoded menus missed render layers/passes 2014-02-12 00:08:54 +11:00
Sergey Sharybin
c0a13322cd Fix T38553: Crash load new level; array modifier using curve length
Since threaded object update we've disabled in-place
curve evaluation (in cases when applying curve modifier
with target curve non-evaluated yet).

This requires game engine to take care of DAG and object
evaluation (currently it's designed to export only objects
it able to render).

This workaround will make sure that curve_cache for curves
is up-to-date.
2014-02-11 18:25:53 +06:00
Thomas Dinges
0203c5f2a2 Cycles: Clamp Direct now affects the Background too.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D306
2014-02-11 12:18:47 +01:00
Antony Riakiotakis
1dfd82d2bc Fix T38574 uv sculpting cursor could be visible during render preview in
image editor.
2014-02-11 12:40:50 +02:00
Sebastian Koenig
10a0b1b8c3 Bring back stabilization and GP panels to MCE 2014-02-11 16:16:11 +06:00
Sergey Sharybin
23fe23f951 Fix T38557: VSE clips with Alpha Over against a transparent background fail to reflect opacity changes 2014-02-11 16:03:56 +06:00
IRIE Shinsuke
e2f9afbaab Blender Internal: Modify material property "Cast Buffer Shadows" to affect ray shadows also, and rename it to "Cast Shadows".
This allows us to make materials that don't cast ray shadows.
Turning off this property can reduce the rendering time slightly.

Note: RNA path is changed to "use_cast_shadows" as well. The older
path "use_cast_buffer_shadows" still can be used as its alias, but
it will be removed after updating some addons.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D272
2014-02-11 17:06:21 +09:00
2038eb10d0 Fix T38537: issue with OS X full screen startup.blend after recent changes.
Also fixed the redrawing while entering and exiting fullscreen, it would show
a distracting white window contents during the animation.
2014-02-10 23:09:23 +01:00
Thomas Dinges
e29a45b396 Cycles: Separation of Indirect and Direct clamping.
Indirect and Direct samples can now be clamped individually. This way we can clamp the indirect samples (fireflies), while keeping the direct highlights.
Example render: http://www.pasteall.org/pic/show.php?id=66586

WARNING: This breaks backwards compatibility. If you had Clamping enabled in an old file, you must re-enable either Direct/Indirect clamping or both again.

Reviewed by: brecht
Differential Revision: https://developer.blender.org/D303
2014-02-10 21:46:02 +01:00
Jonathan Williamson
e920206a90 Add Tabs to Paint Modes
This adds tabs for Tools, Options, and Grease Pencil to Sculpt, Texture Paint, Vertex Paint, and Weight Paint. These tabs and their panel allocations were discussed in T38346.

Close T38346
2014-02-10 11:48:24 -06:00
a0c54d71d8 Fix part of T38304: cycles render problem with zero length curve segments.
Now these are removed from the curve.
2014-02-10 18:33:27 +01:00
Campbell Barton
c046cb80ed UI: allow clicking to close menus and popups (but not submenus). 2014-02-11 04:23:44 +11:00
Campbell Barton
d2b5f0f6c2 UI: fix own error, dont add slider pad when neither sides align 2014-02-11 03:38:48 +11:00
Jens Verwiebe
c9f7ebce80 OSX/scons: adapt forgotten CCVERSION conditional, sorry 2014-02-10 15:56:37 +01:00
Jens Verwiebe
151d93d2bf OSX/scons; Adapt ftemplate-depth=1024 condition to new compiler versioning 2014-02-10 15:05:19 +01:00
Jens Verwiebe
6b7f03678e OSX/scons: fix breakage after clang-openmp commit:
use the svn clang version instead of Apple compiler naming,
this also makes Brecht’s cycles sse/avx conditionals behave right
2014-02-10 14:55:44 +01:00
644ca76356 Fix T38576: cycles hair not rendering in edit/paint modes. 2014-02-10 14:29:21 +01:00
Sv. Lockal
7096529704 Fix T38501: blender crashes right after adding image texture to material
in cycles

Also fix very similar problem in half-float SSE conversion.
2014-02-10 17:19:26 +04:00
Campbell Barton
2f01be2b2f UI: panel tabs, use simple color interpolation that ignores alpha 2014-02-10 17:06:56 +11:00
Joshua Leung
311883fc3b UI: First pass at creating some tooltip descriptions for the various editor types
While some of these are rather rough and crude, they should be sufficient to provide
some helpful hints to (new) users when mousing over the editor type selectors
(i.e. now we can see the names of the editors; without the descriptions, the enum
item names wouldn't get shown) and also when browsing the list.

This is useful now that we have the ability to display tooltips in menus, thanks
to Campbell's earlier commit (35f62bd)
2014-02-10 16:24:04 +13:00
Bassam Kurdali
5cf987cff8 Patch T38282/D295: Add a time offset to the FCurve Noise Modifier
FCurve Noise Modifer now has an extra float property which offsets the noise in time.
This is useful for creating follow through in procedurally animated noise.

For example, if you've used a noise modifier on a parent bone to add additional movement,
a quick and easy way to add overlapping motion is to create copies of that modifier on
its children, and then offset the time those curves play at. See this in action at:
http://youtu.be/Ph6fk_z_k3k

Reviewed By: Joshua Leung
2014-02-10 16:21:12 +13:00
Campbell Barton
3432f34d05 UI: report if WM_OT_call_menu uses an unknown menu 2014-02-10 14:17:33 +11:00
Campbell Barton
05dfd852ec UI: fix for issue in last commit, popups show above the buttons again 2014-02-10 13:44:59 +11:00
Campbell Barton
35f62bdced UI: refactor menus to remove menus encoded in strings
On every redraw a single unopened dropdown boxe would translate
and convert every EnumPropertyItem into a string,
then decode every item, and search those items to find the name of the button to draw.

Replace this with a custom menu callback for RNA enums,
tooltips for enums now show too.
2014-02-10 13:04:43 +11:00
Campbell Barton
21b60ea7e1 UI: use RNA for colorband interpolation menu 2014-02-10 13:04:43 +11:00