Gaia Clary
2040666fd1
fix T42046 Improved the option label for clarity
2014-10-02 08:55:13 +02:00
Antony Riakiotakis
805bb22f46
Code cleanup, use bit shifting for lamp flags.
2014-10-01 19:16:19 +02:00
Campbell Barton
497d06d64d
Fix T41971: BMesh mapping slot arg error
2014-10-01 22:36:09 +10:00
Campbell Barton
5f948fb77f
Anim Playback: Optionally draw flipped
...
useful to view animations from different POV.
FKey: X, Shift+FKey: Y
2014-10-01 22:01:01 +10:00
Campbell Barton
b8f6941776
Cleanup: de-duplicate playanim matrix
2014-10-01 22:01:00 +10:00
Daniel Genrich
1a72c83355
Fix Smoke UI property: Low resolution values are needed for pyroclastic smoke effects.
...
Example values for such an effects are resolution = 10 and high resolution = 5.
Patch by nudelZ
2014-10-01 13:32:52 +02:00
Bastien Montagne
fb7f06288d
Smooth vertex: User request: tweak hard min/max smoothness.
...
Keep soft min/max to usual values, but allow artists to play with strange values
if they really want it.
2014-10-01 10:46:50 +02:00
Tamito Kajiyama
2cb134be2b
Freestyle: New line style options for sorting and chain selection.
...
The following two sort keys are added for sorting chains.
* Projected X - Sort by the projected X value in the image coordinate system.
* Projected Y - Sort by the projected Y value in the image coordinate system.
A new line style option for the selection of first N chains is also added.
Moreover, the chain sorting and chain selection operations are now executed
in this order instead of the reverse order used previously. The UI has also
changed accordingly. This functional change is backward compatible and
won't result in visual differences.
2014-10-01 16:01:40 +09:00
Tamito Kajiyama
55aa42ad6f
Freestyle: Fix for a typo in the definition of NotBP1D.
...
This is a safe fix for a regression from 2.71, so should be back ported to 2.72.
2014-10-01 16:01:38 +09:00
Thomas Dinges
832f54a1aa
Cycles: Filter Shader and Output nodes to their respective object/world node tree.
...
Some nodes only work in certain node trees, so don't show them in the Add Node menu when this is the case.
This can probably be expanded to Input Nodes too, but need to double check some cases here still.
2014-10-01 07:23:16 +02:00
Lukas Tönne
c68c32a409
Fix for duplicate member in UserDef from own commit (merge mistake).
2014-09-30 18:37:42 +02:00
Lukas Tönne
6fa46ad315
Support for "virtual pixelsize" on 4k screens.
...
On 4k devices the default pixel size leads to tiny OpenGL drawing
that is hardly usable without doubling the DPI. The retina system
on OSX aims to alleviate this problem by introducing a general 2x
pixel size.
No equivalent feature exists on other platforms so far. However,
to emulate the effect this patch introduces a "virtual" pixel size
factor for OpenGL drawing.
Note that the user currently has to enable this manually by selecting
the "Virtual Pixel Mode" in the user preferences (defaults to native).
All windows of a Blender instance share the same virtual pixel size as well.
It may be possible to handle this on a per-window basis and automate
the selection somewhat (if enabled by the user), so working with
multiple screens becomes more convenient, but technical limitations
make this a bit difficult (on X11 with nvidia drivers the actual screen size
is not reported correctly).
Reviewers: ton, campbellbarton
Differential Revision: https://developer.blender.org/D669
2014-09-30 18:29:32 +02:00
Bastien Montagne
c7684b456a
Fix T42026: Unit scale affects camera focal length.
...
Not a regression, yet maybe simple/safe enough for 2.72?
2014-09-30 15:07:44 +02:00
Bastien Montagne
aaa2f7f3ec
Fix compilation on GCC (good old mixed declaration and code).
2014-09-30 14:22:20 +02:00
Sergey Sharybin
202831fc4f
Style cleanup
2014-09-30 17:28:29 +06:00
gaiaclary
c0276251d2
fix T42022 Attempt to export empty set of objects resulted in an exception
2014-09-30 13:22:55 +02:00
Sergey Sharybin
4268f1c8f2
Fix T42018: Crash when displaying beveled poly-curves with spline bevfac mapping
...
This fix is for 2.72.
2014-09-30 15:58:19 +06:00
Sv. Lockal
5ecbd5c871
Use native float math functions for MSVC12
...
`double` surrogates are slow (e.g. pow is 2x slower than powf), and MSVC12
supports fp-math functions from C99.
2014-09-30 13:39:03 +04:00
Sergey Sharybin
ff53b046f2
Libmv: update ceres to latest upstream version
...
This brings faster BlockRandomAccessSparseMatrix::SymmetricRightMultiply.
2014-09-30 14:50:05 +06:00
Kévin Dietrich
570313d519
Blend modes: fix array length being too short
...
Reviewers: psy-fi
Differential Revision: https://developer.blender.org/D799
2014-09-30 10:48:57 +02:00
Sergey Sharybin
56a5f17846
Libmv: Enable explicit Schur complement matrix by default
...
Gives up to 2x speed up of camera solving process in average scene.
In the really huge one it might be slower, but that we need to investigate.
2014-09-30 00:43:04 +06:00
Sergey Sharybin
b16e924251
Libmv: Update Ceres to the latest upstream version
...
Mainly to let ITERATIVE_SCHUR use an explicit Schur Complement matrix.
2014-09-30 00:39:45 +06:00
Sergey Sharybin
40fb21aafe
Fix BI viewport render crash happening with zero render border area
...
This is better to be backported to the 2.72.
2014-09-29 22:33:37 +06:00
Campbell Barton
927099ceb8
Cleanup: style
2014-09-30 02:04:34 +10:00
Brendon Murphy
ec8fb6dbef
Update for release themes.
...
This is to be backported to 2.72.
2014-09-29 16:04:43 +02:00
Sergey Sharybin
4a26d70e1e
Fix T41988: Shadow pass inaccurate calculation
2014-09-29 18:28:24 +06:00
Bastien Montagne
2842b0e9c9
Revert previous commit (sorry about that), and use standard func to get active layer
...
in this case too.
Thanks to Campbell for the head up.
2014-09-29 14:25:50 +02:00
Bastien Montagne
b4efe25119
Fix T41905: Linked objects/groups assigned to 'wrong' active layers when called from 3DView
...
Typo using v3d->layact instead of v3d->lay when linking and v3d is available in context.
This can be backported to 2.72.
2014-09-29 14:00:49 +02:00
Sergey Sharybin
52330e5349
Fix T41993: Constant jittered bug
...
Rotated coordinate of the ray start was used when calculating
the ray direction, ending up with wrong direction.
2014-09-29 17:41:07 +06:00
Bastien Montagne
a0b7d24a6f
Fix T41977: 'Shading' panel of Render buttons not updating Rendered 3DView.
...
Reuse `rna_Scene_glsl_update` here too.
2014-09-29 12:49:51 +02:00
Bastien Montagne
160236acaf
Fix crashing regression in Armature EditBone Select shortest path/Select Linked actions.
...
Dummy typo in some recent refactor I guess.
This is to be backported to 2.72 for sure!
2014-09-29 12:13:11 +02:00
Sergey Sharybin
9a19fd5811
Fix T41955: lamp error: double update for all lamps
...
This is actually also safe for 2.72 :)
2014-09-29 15:05:02 +06:00
Sergey Sharybin
ab8e709d67
Fix for wrong color space when image loader set both rect and rect_float
...
Quite safe for 2.72.
2014-09-29 14:34:37 +06:00
Tamito Kajiyama
516dbaeb73
Fix for a build error with VS 2013.
2014-09-29 14:53:28 +09:00
Campbell Barton
cbe68f70a8
Cleanup: spelling
2014-09-29 15:51:47 +10:00
Campbell Barton
5b027bd6dd
Cleanup: remove smooth_ from 'smooth_factor'
...
redundant, just call factor as smooth modifier does.
2014-09-29 15:48:51 +10:00
Campbell Barton
0334be9f7f
Don't error of sign-conversion for < gcc v4.8
...
Behavior is different and hard to keep building on older versions.
2014-09-29 11:01:33 +10:00
Bastien Montagne
101a1dddae
Fix T41995: Box selection - Edit mode - Header not updated.
2014-09-28 23:47:05 +02:00
Bastien Montagne
da78dd78be
Fix T25582: Add a 'smooth factor' to smooth_vertex BMesh op.
...
Based on code by wahooney (Keith Boshoff), patch itself was merely rewritten due to BMesh changes...
2014-09-28 20:00:54 +02:00
Bastien Montagne
653b67055b
Fix T41984: Can't use Render Image as Background Image.
...
Changes were actually pretty simple to make it work - set 'scene' member of image user,
and handle lock when acquiring/releasing ibuf...
2014-09-28 18:29:10 +02:00
Joshua Leung
2b69665c14
Transform: Provide descriptive error messages when wrong transform modes are used in DopeSheet
2014-09-29 04:23:44 +13:00
Joshua Leung
c63afbbe6f
Typo and spelling fixes
2014-09-29 04:23:43 +13:00
Bastien Montagne
bf8cd9011d
Fix T41978: Shadow was not excluded from combined path unless shadow pass was rendered too.
...
Pretty straightforward, issue probably goes back to (pre)history!
2014-09-28 16:08:33 +02:00
Bastien Montagne
221ef3c29f
Install_deps: Fix stupid mistake in BUILD_NOTE.txt generation since last commit.
...
Reported by Thomas (DingTo) over IRC, thanks.
2014-09-28 15:47:03 +02:00
Campbell Barton
503484c978
GTest: polyfill2d
...
Collection of test cases from libGDX and our own tracker
Tests:
- combine triangle area matches polygon area.
- tris have same winding.
- tris don't have duplicates.
- correct number of internal & boundary edges.
- degenerate polys still give topologically correct output.
also checks all possible start-vert offsets, forwards and backwards.
optional OBJ output, for debugging.
2014-09-28 21:43:15 +10:00
Campbell Barton
fa1e6c5442
Fix T41986: polyfill fails with axis aligned verts
2014-09-28 21:11:16 +10:00
Campbell Barton
c729ce7e05
BMesh: remove point-in-face test for bisect
...
instead track inside/outside state while stepping over intersections.
2014-09-28 19:19:58 +10:00
Campbell Barton
07d161bb38
Comments: update for changed args
2014-09-28 19:19:58 +10:00
Sergey Sharybin
2cca83caf1
Fix T41981: Crash by Copy mask splines without splines
2014-09-28 14:37:33 +06:00
Sergey Sharybin
d41f99ac57
Cycles: Correct object flags bitfield, was missing negative scale there
...
It's quite a few of circumstances to be met to hit the case when render
wouldn't be correct.
Better to be ported to the final release.
2014-09-28 14:13:36 +06:00