Commit Graph

52618 Commits

Author SHA1 Message Date
Sergey Sharybin
6a65161966 fixed an for loop variable type and delete operator in cave-utils.cc
Patch by wutzi (Benedikt Bergenthal), thanks!

Reviewers: sergey

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D314
2014-02-13 20:09:51 +06:00
Sergey Sharybin
910f4df45d Fix race condition between tracking thread and tracks map sync
This might have been a reason of bug T38281.
2014-02-13 18:31:02 +06:00
Sergey Sharybin
83617d24d5 Rework carve integration into boolean modifier
Goal of this commit is to support NGons for boolean modifier
(currently mesh is being tessellated before performing boolean
operation) and also solve the limitation of loosing edge custom
data layers after boolean operation is performed.

Main idea is to make it so boolean modifier uses Carve library
directly via it's C-API, avoiding BSP intermediate level which
was doubling amount of memory needed for the operation and which
also used quite reasonable amount of overhead time.

Perhaps memory usage and CPU usage are the same after all the
features are implemented but we've got support now:

- ORIGINDEX for all the geometry
- Interpolation of edge custom data (seams, crease)
- NGons support

Triangulation rule is changed now as well, so now non-flat
polygons are not being merged back after Carve work. This is
so because it's not so trivial to support for NGons and
having different behavior for quads and NGons is even more
creepy.

Reviewers: lukastoenne, campbellbarton

Differential Revision: https://developer.blender.org/D274
2014-02-13 17:16:53 +06:00
Lukas Tönne
51efa8a1f5 Fix T38529, Blur node size 0 doesn't work.
The blur operations were clamping the filter size to 1, which prevents
no-op blur nodes. Further any value < 1 would also be ignored and in
many combinations the filter scale setting ("Size") would only work in
integer steps.

Now most blur settings will work with smooth Size value scaling as well,
meaning you can choose a reasonably large filter size (e.g. 10) and then
use the Size factor to scale the actual blur radius smoothly.

Note that non-integer filter sizes also depend on the filter type
selected in the Blur node, e.g. "Flat" filtering will still ignore
smooth filter sizes. Gaussian filters work best for this purpose.
2014-02-13 11:52:22 +01:00
Campbell Barton
5fdf6169a3 Fix incorrect text for curve Shrink/Fatten, patch from SebastianK 2014-02-13 19:21:35 +11:00
Campbell Barton
ae8327dbf3 Mask: add option to detect self intersections 2014-02-13 19:12:28 +11:00
Campbell Barton
c85e66e7fe Scanfill: add user-flags for edges and verts, useful elsewhere. 2014-02-13 16:46:51 +11:00
Campbell Barton
fcb06097a5 Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag. 2014-02-13 14:13:42 +11:00
Campbell Barton
3fe036ad5f ListBase: add attributes to api functions 2014-02-13 13:21:16 +11:00
Campbell Barton
f27acb5b56 ListBase: add BLI_sortlist_r api function, remove check for NULL callback 2014-02-13 13:21:16 +11:00
Tamito Kajiyama
fdcdd5e52e Freestyle: Follow-up fix for the chaining operation bug in the previous commit.
Many thanks to flokkievids for identifying the inconsistency.
2014-02-13 09:56:56 +09:00
Campbell Barton
108ad34429 Mask: option not to treat overlapping curves as holes 2014-02-13 11:48:46 +11:00
Campbell Barton
6ee9d1b69d error in recent commit 2014-02-13 10:13:33 +11:00
Campbell Barton
5e255f6b8f correct error in recent menu update for render slots, missing callback 2014-02-13 10:00:52 +11:00
Campbell Barton
b61c6e0f4f UI: remove unused freestr 2014-02-13 09:49:00 +11:00
Campbell Barton
4c21e2b382 UI: split ui_popup_menu_memory into get/set functions and store as uint 2014-02-13 09:37:28 +11:00
Campbell Barton
d4c87f2f79 Code cleanup: remove unused button aspect 2014-02-13 09:37:27 +11:00
e43c3ad88a Fix issue in recent bugfix, did not work with multiple sessions (preview render). 2014-02-12 23:14:57 +01:00
Campbell Barton
9cc380e026 Fix own error in recent commit with red-alert flag becoming stale 2014-02-13 09:12:47 +11:00
Campbell Barton
aea00c7a81 Code cleanup: style 2014-02-13 08:52:12 +11:00
8547d17739 Fix T38615: cycles rendering beckmann/GGX refraction wrong with IOR equal to 1. 2014-02-12 22:50:31 +01:00
f462e8a9c8 Fix T38332, Fix T38607: cycles render crash with motion blur.
It wasn't working together well with the python thread state changes after the
depsgraph multithreading.
2014-02-12 21:55:19 +01:00
Dan Eicher
6ad9941c74 Add the date to the CPack rpm package version
Updating rpms built from 'make package' has issues using the git hash since it isn't in a set order like svn commits, this lets it use the date to determine if the rpm is newer than the installed version.

Also updates the license text.
2014-02-12 13:45:36 -07:00
Campbell Barton
a397009181 Fix T38541: sys.exit fails when blender is built as a py-module 2014-02-13 06:58:06 +11:00
Bastien Montagne
70905a6e02 Fix Editderivedmeshes vertices normals computation.
Those derived meshes (used in Edit mode) were using simple sum of neighbor poly normals to get vertex normals,
while everywhere else in Blender we use weighted sum of such poly normals.

Patch: D311

Reviewed and enhanced by Campbell, thanks!
2014-02-12 20:48:09 +01:00
Campbell Barton
f9a60ecacd defaults: disable twoside for startup.blend 2014-02-13 04:53:26 +11:00
Bastien Montagne
13875564a9 Grr, another UI messages fix, forgot this one! 2014-02-12 17:55:47 +01:00
Dalai Felinto
9388061738 Add header info for the Fly Navigation operator 2014-02-12 14:07:43 -02:00
f49e89fa37 Fix T38525: missing update when running bpy.ops.transform.* from the console. 2014-02-12 17:01:53 +01:00
Antony Riakiotakis
09e5373c06 Paint: Descrollification commit for brush texture angle property.
Original patch by Sebastian Koenig with edits.
2014-02-12 18:00:54 +02:00
Bastien Montagne
2be654b2ff Usual UI messages fixes... 2014-02-12 16:23:19 +01:00
Antony Riakiotakis
1c862f33a0 Sculpting: Move lock options in symmetry panel.
Lock is an often used option according to artist feedback, so better
have it on the same tab as brush tools.
2014-02-12 17:04:57 +02:00
Dalai Felinto
786ff5e9c4 Add header info for the Walk Navigation operator 2014-02-12 12:49:32 -02:00
Thomas Dinges
78e137efda Motion Tracking: Grammar fixes. 2014-02-12 15:32:26 +01:00
Thomas Dinges
412e06a2fa UI / 3D View Tool Shelf: Avoid redundant "Grease Pencil" label, now that GP has its own tab. 2014-02-12 15:32:25 +01:00
efc6735a8b Fix T38610: lattice U/V/W should not be animatable, is not supported. 2014-02-12 14:50:48 +01:00
Campbell Barton
f674e93375 Code cleanup: ndof view3d operators use of ViewOpsData 2014-02-12 21:05:25 +11:00
Campbell Barton
dff15175a9 View3d: fix for ndof with quadview+box, missing sync.
also de-duplicate 3x pan-functions.
2014-02-12 21:05:25 +11:00
Campbell Barton
be3a029d4c NDOF: print events when debugging is enabled 2014-02-12 21:05:25 +11:00
Campbell Barton
f2af54afd0 NDOF/X11: skip getting the time when no ndof events are processed 2014-02-12 21:05:24 +11:00
Campbell Barton
b9bf935cc3 NDOF/X11: fix for glitch using ndof outside the view and entering again 2014-02-12 21:05:24 +11:00
Campbell Barton
bc41d255cb NDOF: minor color picker improvements
- swap Z/Y axis so Z changes hue and X/Y change location.
  this way you can use ndof like a joystick and Z rotation like a dial
  for the hue.

- change sensitivity when shift is held to be 1/5th
2014-02-12 21:05:24 +11:00
Campbell Barton
e2089e1406 NDOF: fix for negative colors and flickering hue when picking with HSVCUBE 2014-02-12 21:05:24 +11:00
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