blender.git
5 years agoBMesh: tweaks to dissolve, remove wire edges before other calculations
Campbell Barton [Fri, 27 Jun 2014 10:26:35 +0000 (20:26 +1000)]
BMesh: tweaks to dissolve, remove wire edges before other calculations

also avoid feedback loop when checking topology giving nondeterministic results.

5 years agoBMesh: add BM_vert_is_edge_pair(), faster then checking (BM_vert_edge_count(v) == 2)
Campbell Barton [Fri, 27 Jun 2014 10:22:19 +0000 (20:22 +1000)]
BMesh: add BM_vert_is_edge_pair(), faster then checking (BM_vert_edge_count(v) == 2)

5 years agoBMesh: add ability not to delete vertex when collapsing
Campbell Barton [Fri, 27 Jun 2014 10:11:23 +0000 (20:11 +1000)]
BMesh: add ability not to delete vertex when collapsing

5 years agoBMesh: use slightly faster method of stepping over edge-disks
Campbell Barton [Fri, 27 Jun 2014 10:03:50 +0000 (20:03 +1000)]
BMesh: use slightly faster method of stepping over edge-disks

5 years agoUpdate Carve to latest upstream version
Sergey Sharybin [Fri, 27 Jun 2014 09:38:58 +0000 (15:38 +0600)]
Update Carve to latest upstream version

This brings new copyright header which supports GPL2 and 3.

It wasn't really an issue before because we had agreement with
Tobias, but now it's all documented in sources.

5 years agoMSVC: quiet harmless linker warnings
Campbell Barton [Fri, 27 Jun 2014 09:49:56 +0000 (19:49 +1000)]
MSVC: quiet harmless linker warnings

5 years agoFix transparency issues in 3d viewport
Sergey Sharybin [Fri, 27 Jun 2014 09:33:57 +0000 (15:33 +0600)]
Fix transparency issues in 3d viewport

The issue was introduced by 0f95149 and it only worked before
because default game material alpha blending was set to alpha.

Now it'll check whether material has transparency enabled and
will use alpha blending by default in this case.

5 years agoUpdate Ceres to latest upstream version
Sergey Sharybin [Thu, 1 May 2014 23:52:56 +0000 (05:52 +0600)]
Update Ceres to latest upstream version

Brings new bounds limiting and also prepares build system
for the changes in the upstream.

Namely shared_ptr header and namespace is now being detected
by a build system rather than by hacks in the code.

This commit includes some changes to auto-detection flags
in SCons, presumably adding more consistency there. This
is main changes which are suppoed to be reviewed here.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D581

5 years agoFix for DeviceScene::attributes_uchar4 not released properly
Tamito Kajiyama [Fri, 27 Jun 2014 06:56:57 +0000 (08:56 +0200)]
Fix for DeviceScene::attributes_uchar4 not released properly

Reviewed by: dingto
Differential Revision: https://developer.blender.org/D620

5 years agoFollow up to previous commit, do not calculate normal now with front
Antony Riakiotakis [Thu, 26 Jun 2014 22:55:30 +0000 (01:55 +0300)]
Follow up to previous commit, do not calculate normal now with front
facing.

5 years agoFix T40758 Front facing not consistent in sculpt mode.
Antony Riakiotakis [Thu, 26 Jun 2014 22:48:27 +0000 (01:48 +0300)]
Fix T40758 Front facing not consistent in sculpt mode.

Some tools used view vector while others used the area normal.

Area Normal -is- useful and it will have to be incorporated to the
system better, but I'd like to do it in a way that is well
collaborating with sculpt plane calculation too, because it will have
to be slightly more expensive, i.e normal calculated before the plane,
never together, so only front to the area normal influence can be kept.

Currently sculpt plane takes into consideration view vector, but that
can produce an unwanted normal/plane at glancing angles on mesh edges.

Another issue that arises here is whether we do an actual calculation of
sculpt normal for each symmetry pass or we just flip the initial (former
is more expensive but more correct)

5 years agoFix T40823, crash with LoD operator without valid object.
Thomas Dinges [Thu, 26 Jun 2014 21:51:28 +0000 (23:51 +0200)]
Fix T40823, crash with LoD operator without valid object.

5 years agoFix T40691, dyntopo changes lost on save if sculpting on multiple
Antony Riakiotakis [Thu, 26 Jun 2014 20:57:00 +0000 (23:57 +0300)]
Fix T40691, dyntopo changes lost on save if sculpting on multiple
objects.

Flush edits for all objects, not just the active one. Here we might want
to disallow leaving an object on sculpt mode when selecting another, but
this works, no need to enforce it.

5 years agoFix T40813: Dissolve verts with adjacent regions, removes the dividing edge
Campbell Barton [Thu, 26 Jun 2014 19:11:02 +0000 (05:11 +1000)]
Fix T40813: Dissolve verts with adjacent regions, removes the dividing edge

5 years agoFix T40816, SSS brightness difference with Sample All Direct Lights.
Thomas Dinges [Thu, 26 Jun 2014 19:30:19 +0000 (21:30 +0200)]
Fix T40816, SSS brightness difference with Sample All Direct Lights.

This has been fixed before, but somehow got reverted in d644753319b6.

5 years agoFix parallel CMake builds failing due to missing buildinfo.h
Nicholas Bishop [Thu, 26 Jun 2014 18:09:45 +0000 (14:09 -0400)]
Fix parallel CMake builds failing due to missing buildinfo.h

Reviewed in #blendercoders by ideasman42

5 years agoBLI_array: avoid accidental assignment to BLI_array_count
Campbell Barton [Thu, 26 Jun 2014 14:31:50 +0000 (00:31 +1000)]
BLI_array: avoid accidental assignment to BLI_array_count

5 years agoFix BLI_array_staticdeclare size
Campbell Barton [Thu, 26 Jun 2014 14:20:17 +0000 (00:20 +1000)]
Fix BLI_array_staticdeclare size

5 years agoFix for dissolve faces iterating over verts while removing
Campbell Barton [Thu, 26 Jun 2014 13:29:45 +0000 (23:29 +1000)]
Fix for dissolve faces iterating over verts while removing

5 years agoAnother attempt to solve compilation error
Sergey Sharybin [Thu, 26 Jun 2014 10:22:04 +0000 (16:22 +0600)]
Another attempt to solve compilation error

Sorry for the noise, but it's tricky to troubleshoot stuff
which only happens on buildbot..

5 years agoTweak to previous commit, fixes scons to survive when upstream is not found
Sergey Sharybin [Thu, 26 Jun 2014 10:18:38 +0000 (16:18 +0600)]
Tweak to previous commit, fixes scons to survive when upstream is not found

5 years agoFix compilation error with scons and older pythons
Sergey Sharybin [Thu, 26 Jun 2014 10:03:52 +0000 (16:03 +0600)]
Fix compilation error with scons and older pythons

5 years agoForgot this in previous commit
Sergey Sharybin [Thu, 26 Jun 2014 09:29:16 +0000 (15:29 +0600)]
Forgot this in previous commit

5 years agoReplace Main->lock with an anoynous structure pointer
Sergey Sharybin [Thu, 26 Jun 2014 08:55:40 +0000 (14:55 +0600)]
Replace Main->lock with an anoynous structure pointer

This way it's not needed to include BLI_threads.h from the
BKE_main.h which helps avoiding adding PThreads includes to
each library which uses Main on Windows.

From the API point of view it's now MainLock* and to lock or
unlock the main you're to use BKE_main_(un)lock().

This solves compilation error on Windows with SCons.

5 years agoBetter description for the "make links" operator.
Lukas Tönne [Thu, 26 Jun 2014 08:38:53 +0000 (10:38 +0200)]
Better description for the "make links" operator.

This is a misnomer: the operator copies data (mostly pointers) of
various types from the active to selected objects. "Make Link" implies
creating a permanent connection between these objects ...

5 years agoCode cleanup: remove MAT3/4_UNITY defines, just call unit_m3/4
Campbell Barton [Thu, 26 Jun 2014 06:09:59 +0000 (16:09 +1000)]
Code cleanup: remove MAT3/4_UNITY defines, just call unit_m3/4

5 years agoCode cleanup: casts, dead assignment & arg order.
Campbell Barton [Thu, 26 Jun 2014 05:46:42 +0000 (15:46 +1000)]
Code cleanup: casts, dead assignment & arg order.

5 years agoReverted part of my previous commit causing a crash.
Tamito Kajiyama [Thu, 26 Jun 2014 03:54:55 +0000 (12:54 +0900)]
Reverted part of my previous commit causing a crash.

5 years agoFreestyle: code cleanup: removed unused (outdated) static variables.
Tamito Kajiyama [Thu, 26 Jun 2014 03:12:50 +0000 (12:12 +0900)]
Freestyle: code cleanup: removed unused (outdated) static variables.

5 years agoWhitespace fix
Joshua Leung [Thu, 26 Jun 2014 02:42:36 +0000 (14:42 +1200)]
Whitespace fix

5 years agoBugfix T40801: Select grouped objects by Keying Set not working with builtin Keying...
Joshua Leung [Thu, 26 Jun 2014 02:39:44 +0000 (14:39 +1200)]
Bugfix T40801: Select grouped objects by Keying Set not working with builtin Keying Sets

Most of the default builtin Keying Sets (e.g. Loc, Rot, Available, etc.) depend
on the currently selected objects, making them unsuitable for use with this feature.
As a result, this feature would silently fail. This commit adds some error messages
which at least let users know what's going on so that they can make other plans

5 years agoBGE: New Mouse Actuator
Jorge Bernal [Wed, 25 Jun 2014 22:47:30 +0000 (15:47 -0700)]
BGE: New Mouse Actuator

Disclaimer: The author of this patch is Geoffrey Gollmer (gomer). I only updated the patch to the current git master status, reworked several parts to fit well with current coding style and applied several fixes.

This actuator allows users to show/hide the mouse cursor using logic bricks, as well as control object rotation with a mouse in the BGE.
The mouse rotation is flexible enough to allow any type of mouse look, as well as banking for flight controls.

{F94520}

{F91859}

Blend file for testing Mouse actuator (with default parameters and crosshair): {F94920}

Reviewers: moguri

Reviewed By: moguri

CC: gomer, lordodin
Differential Revision: https://developer.blender.org/D559

5 years agoWindows: Enable numpy again, as we do have libs again for vc2013 and against py3.4.
Thomas Dinges [Wed, 25 Jun 2014 20:23:04 +0000 (22:23 +0200)]
Windows: Enable numpy again, as we do have libs again for vc2013 and against py3.4.

5 years agoUpdating submodule to point to v2.71
Sergey Sharybin [Wed, 25 Jun 2014 18:53:49 +0000 (00:53 +0600)]
Updating submodule to point to v2.71

Now for real!

5 years agoUpdating submodule to point to v2.71
Sergey Sharybin [Wed, 25 Jun 2014 18:39:48 +0000 (00:39 +0600)]
Updating submodule to point to v2.71

5 years agoFix T40759: "Add Shortcut" operator was leaving new keymap items on
Lukas Tönne [Wed, 25 Jun 2014 15:40:51 +0000 (17:40 +0200)]
Fix T40759: "Add Shortcut" operator was leaving new keymap items on
cancel.

5 years agoFix T40757: Video Texture - Video frames dropped from beginning and end
Sergey Sharybin [Wed, 25 Jun 2014 11:52:21 +0000 (17:52 +0600)]
Fix T40757: Video Texture - Video frames dropped from beginning and end

it's actually a followup for 04f81c8, no need to apply offset for video files.

5 years agoFix T40776: Crash when using empty curve as a deformation target
Sergey Sharybin [Wed, 25 Jun 2014 10:25:43 +0000 (16:25 +0600)]
Fix T40776: Crash when using empty curve as a deformation target

5 years agoFix T40800: Crash when editing material nodes
Sergey Sharybin [Wed, 25 Jun 2014 09:36:45 +0000 (15:36 +0600)]
Fix T40800: Crash when editing material nodes

it was caused by ee5f432. Not sure why exactly blender runs into
threading conflicts here since material preview works.

Let's keep it simple for now and disable material nodes preview,
because it's not supported by the interface anyway.

This is to be included to the final release.

5 years agoUse api function for flipping button list & rename to BLI_listbase_reverse
Campbell Barton [Wed, 25 Jun 2014 09:33:35 +0000 (19:33 +1000)]
Use api function for flipping button list & rename to BLI_listbase_reverse

5 years agoUse fill function for setting origindex
Campbell Barton [Wed, 25 Jun 2014 09:29:06 +0000 (19:29 +1000)]
Use fill function for setting origindex

5 years agoSpeedup for skin modifier, avoid calculating normals many times
Campbell Barton [Wed, 25 Jun 2014 09:02:49 +0000 (19:02 +1000)]
Speedup for skin modifier, avoid calculating normals many times

5 years agoFix T40786: Crash setting negative sound offset
Campbell Barton [Wed, 25 Jun 2014 06:45:03 +0000 (16:45 +1000)]
Fix T40786: Crash setting negative sound offset

5 years agoCorrection to last commit
Campbell Barton [Tue, 24 Jun 2014 18:22:14 +0000 (04:22 +1000)]
Correction to last commit

5 years agoUse gnu-libc arg order for BLI_sort_r
Campbell Barton [Tue, 24 Jun 2014 18:01:38 +0000 (04:01 +1000)]
Use gnu-libc arg order for BLI_sort_r

When building on gnu-libc don't use our own implementation.

5 years agoMake main library safe(er) for the threaded usage
Sergey Sharybin [Tue, 24 Jun 2014 14:43:08 +0000 (20:43 +0600)]
Make main library safe(er) for the threaded usage

Added a lock to the Main which is getting acquired and released
when modifying it's lists.

Should not be any functional changes now, it just means Main is
now considered safe without worrying about locks in the callee.

5 years agoFix example
Campbell Barton [Tue, 24 Jun 2014 17:04:53 +0000 (03:04 +1000)]
Fix example

5 years agoFix own error in recent tooltip commit
Campbell Barton [Tue, 24 Jun 2014 16:40:20 +0000 (02:40 +1000)]
Fix own error in recent tooltip commit

5 years agoFreestyle: use mathutils_array_parse() instead of its own helper functions.
Tamito Kajiyama [Tue, 24 Jun 2014 13:48:15 +0000 (22:48 +0900)]
Freestyle: use mathutils_array_parse() instead of its own helper functions.

Patch contribution by flokkievids (Folkert de Vries).  Thanks!

5 years agoFreestyle: use bool instead of int.
Tamito Kajiyama [Tue, 24 Jun 2014 13:44:53 +0000 (22:44 +0900)]
Freestyle: use bool instead of int.

Patch contribution by flokkievids (Folkert de Vries).  Thanks!

5 years agomove STACK_* macros into BLI_stackdefines.h
Campbell Barton [Tue, 24 Jun 2014 14:01:10 +0000 (00:01 +1000)]
move STACK_* macros into BLI_stackdefines.h

5 years agoAdd MEMCPY_STRUCT_OFS macro for copying values after a struct member
Campbell Barton [Tue, 24 Jun 2014 13:50:12 +0000 (23:50 +1000)]
Add MEMCPY_STRUCT_OFS macro for copying values after a struct member

use for DM_to_mesh to avoid clobbering the ListBase

5 years agoadd STACK_REMOVE macro
Campbell Barton [Tue, 24 Jun 2014 11:59:38 +0000 (21:59 +1000)]
add STACK_REMOVE macro

5 years agoCode Cleanup - Using the enum types in more API signatures instead of relying on...
Joshua Leung [Tue, 24 Jun 2014 09:59:52 +0000 (21:59 +1200)]
Code Cleanup - Using the enum types in more API signatures instead of relying on coders to do the right thing

5 years agoCode Cleanup - Replacing shorts with bools and enum types
Joshua Leung [Tue, 24 Jun 2014 07:27:09 +0000 (19:27 +1200)]
Code Cleanup - Replacing shorts with bools and enum types

5 years agoFix T40695: world surface shader incorrectly visible with world volume.
Brecht Van Lommel [Tue, 24 Jun 2014 09:34:42 +0000 (11:34 +0200)]
Fix T40695: world surface shader incorrectly visible with world volume.

5 years agoUpdate the design of tooltips
Campbell Barton [Tue, 24 Jun 2014 09:00:02 +0000 (19:00 +1000)]
Update the design of tooltips

- left aligned
- higher contrast between tip text and py-text
- use monospace for py-text

D611 by Severin, design by Plyczkowski, with own minor changes.

5 years agoFreestyle: Progress bar updates during mesh loading.
Tamito Kajiyama [Tue, 24 Jun 2014 08:12:38 +0000 (17:12 +0900)]
Freestyle: Progress bar updates during mesh loading.

5 years agoFreestyle: Fix for a couple of missing names in freestyle.chainingiterators.__all__.
Tamito Kajiyama [Tue, 24 Jun 2014 08:11:29 +0000 (17:11 +0900)]
Freestyle: Fix for a couple of missing names in freestyle.chainingiterators.__all__.

5 years agoFollowup for the previous commit
Sergey Sharybin [Tue, 24 Jun 2014 08:23:33 +0000 (14:23 +0600)]
Followup for the previous commit

Need to do the same for render exec() because it doesn't
use the job system.

5 years agoSwitch allocator to thread-safe when rendering from the command line
Sergey Sharybin [Tue, 24 Jun 2014 08:12:28 +0000 (14:12 +0600)]
Switch allocator to thread-safe when rendering from the command line

This is needed because render threads would do some allocations like
part buffer allocation and so. This is likely harmless with the lock
free allocator (not on Windows tho), but when using guarded allocator
we need to be sure access to the list of MemHead is safe.

5 years agoFix compilation on OSX after own rB414c70435dcd...
Bastien Montagne [Tue, 24 Jun 2014 06:31:29 +0000 (08:31 +0200)]
Fix compilation on OSX after own rB414c70435dcd...

Sigh, why can't all unix have same includes? :/

5 years agoCtrl-F now activates the filter-by-name functionality for Animation Editors
Joshua Leung [Tue, 24 Jun 2014 05:52:40 +0000 (17:52 +1200)]
Ctrl-F now activates the filter-by-name functionality for Animation Editors

5 years agoImprove doxygen comment to include some type info to make it more useful
Joshua Leung [Sun, 22 Jun 2014 13:56:32 +0000 (01:56 +1200)]
Improve doxygen comment to include some type info to make it more useful

5 years agoPolyfill2d: Correct boundbox check (Fix T40777)
Campbell Barton [Tue, 24 Jun 2014 05:26:47 +0000 (15:26 +1000)]
Polyfill2d: Correct boundbox check (Fix T40777)

5 years agoD319: Freestyle Python scripts update.
Tamito Kajiyama [Tue, 24 Jun 2014 04:52:12 +0000 (13:52 +0900)]
D319: Freestyle Python scripts update.

This revision is meant to update Freestyle's Python scripts to make full usage
of the new features of Python and Freestyle's Python API.

Freestyle's Python scripts are pretty old already, and were never given much
attention. With the 2.7x generation of Blender coming up, this is an excellent
time to update Freestyle's Python scripts, hopefully adding some new features
and achieving some speed improvements on the way.

Main goals:
* use for loops where possible
* general cleanup, making use of more recent python features (generators,
  ternary operator, ect.)
* update the documentation on the way (it's lacking atm)

Differential revision: https://developer.blender.org/D319

Author: flokkievids (Folkert de Vries)

Reviewed by: kjym3 (Tamito Kajiyama)

5 years agoOSX: Fix T40749, own mistake for m_lionStyleFullScreen condition
Jens Verwiebe [Mon, 23 Jun 2014 19:27:38 +0000 (21:27 +0200)]
OSX: Fix T40749, own mistake for m_lionStyleFullScreen condition

5 years agoFix own typo in temp_data patch, (windows-only)
Bastien Montagne [Mon, 23 Jun 2014 14:55:04 +0000 (16:55 +0200)]
Fix own typo in temp_data patch, (windows-only)

Don't know when this sneaked in, I did wrote that part of the patch on win VM with MSVC2013... :/

Note: letting asside warnings for now, then should not prevent building anyway.

5 years agoUse toolbar tabs for node categories instead of just a long list of
Lukas Tönne [Mon, 23 Jun 2014 14:34:02 +0000 (16:34 +0200)]
Use toolbar tabs for node categories instead of just a long list of
panels.

Patch by @Severin (with minor modifications by me). As discussed in
{D535} the node editor does not have real modal operator tools like the
3D view or image editors for instance, so it makes sense to utilise it
this way. Tabs really help in this area due to the large amount of node
types and categories. Further tweaks could be made later if the need
arises.

5 years agoBMesh: we actually can set loop indices too while converting from Mesh to BMesh...
Bastien Montagne [Mon, 23 Jun 2014 14:11:48 +0000 (16:11 +0200)]
BMesh: we actually can set loop indices too while converting from Mesh to BMesh...

5 years agoAdd ED_paint.h, split out ED_sculpt.h
Campbell Barton [Mon, 23 Jun 2014 11:59:34 +0000 (21:59 +1000)]
Add ED_paint.h, split out ED_sculpt.h

also rename some functions to match our convention

5 years agoT39690: Modifications to Blender's 'temp dir' system.
Bastien Montagne [Mon, 23 Jun 2014 11:42:19 +0000 (13:42 +0200)]
T39690: Modifications to Blender's 'temp dir' system.

Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never
automatically cleaned up, and can end being quite big when used by Blender, especially when we have
to store per-process data (using getpid() in file names).

To address this, this patch:
* Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path),
  the other is a mkdtemp-generated sub-dir, specific to each Blender instance.
* Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always
  reuse the same filename (quit.blend...) or generate small file (crash reports...).
* Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option).
* Erases temp sub-dir on quit or crash.

To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows.

Note that, as in current code, the 'recover render result' hack-feature that was possible
with SaveBuffer option is still removed. A real renderresult cache feature will be added
soon, though.

Reviewers: campbellbarton, brecht, sergey

Reviewed By: campbellbarton, sergey

CC: sergey
Differential Revision: https://developer.blender.org/D531

5 years agoUse specified exception mask for buildinfo
Sergey Sharybin [Mon, 23 Jun 2014 09:46:41 +0000 (15:46 +0600)]
Use specified exception mask for buildinfo

This way we only catch exceptions which we're intended to
and if something bad happens (like missing import due to
refactor or so) we'll see them instantly.

5 years agoFix T40764: Keyframed Render Layers Don't Work as Intended
Sergey Sharybin [Mon, 23 Jun 2014 08:25:52 +0000 (14:25 +0600)]
Fix T40764: Keyframed Render Layers Don't Work as Intended

5 years agoFix compiler error in Cycles Beckmann sampling precomputation: strict
Lukas Tönne [Mon, 23 Jun 2014 07:47:52 +0000 (09:47 +0200)]
Fix compiler error in Cycles Beckmann sampling precomputation: strict
compiler flags don't allow implicit double -> float casting.

Code was added in rB8fbd71e.

5 years agoFix T40756 Select Linked by Particle System matches ignores selected
Lukas Tönne [Mon, 23 Jun 2014 06:20:35 +0000 (08:20 +0200)]
Fix T40756 Select Linked by Particle System matches ignores selected
psys.

This is inconsistent with other comparable cases like materials, where
the active slot is used to define matching objects.

5 years agoD605: Fixes for proper handling of wchar_t paths in MinGW.
Tamito Kajiyama [Mon, 23 Jun 2014 01:07:06 +0000 (10:07 +0900)]
D605: Fixes for proper handling of wchar_t paths in MinGW.

* Fixed different not-in-sync #ifdef blocks for struct stat variants under Windows.

Comments have been left to indicate the portions of BLI_fileops.h and
BLI_fileops_types.h that need to stay in sync.

* Added BLI_wstat() to de-duplicate #ifdef blocks for stat() variants on Windows.

* Fix for opendir() and associate functions in MinGW not working properly with
non-ASCII, MBCS-compatible paths.

MinGW (FREE_WINDOWS) has opendir() and _wopendir(), and only the
latter accepts a path name of wchar_t type. Rather than messing up with
extra #ifdef's here and there, Blender's own implementations of opendir()
and related functions are used to properly support paths with non-ASCII,
MBCS-compatible characters.

Tested with MSVC 2013 Express, MinGW32 (gcc 4.6.2) and MinGW-w64 (gcc 4.7.1).

Differential Revision: https://developer.blender.org/D605

Reviewed By: campbellbarton

5 years agoGTest now works without buildinfo
Campbell Barton [Sun, 22 Jun 2014 15:13:25 +0000 (01:13 +1000)]
GTest now works without buildinfo

5 years agoadd brush icons from paint branch to make diff more manageable for arcanist
Antony Riakiotakis [Sun, 22 Jun 2014 14:48:08 +0000 (17:48 +0300)]
add brush icons from paint branch to make diff more manageable for arcanist

5 years agoApply fix for T40745 to extrude_face_region too
Campbell Barton [Sun, 22 Jun 2014 14:12:06 +0000 (00:12 +1000)]
Apply fix for T40745 to extrude_face_region too

5 years agoSpelling
Campbell Barton [Sun, 22 Jun 2014 13:47:05 +0000 (23:47 +1000)]
Spelling

5 years agoEditmesh: extruding end-point verts now maintains edge-direction
Campbell Barton [Sun, 22 Jun 2014 08:38:17 +0000 (18:38 +1000)]
Editmesh: extruding end-point verts now maintains edge-direction

Resolves T40745, where faces from extruded edges had flipped normals.

5 years agoCode cleanup: style
Campbell Barton [Sun, 22 Jun 2014 05:02:27 +0000 (15:02 +1000)]
Code cleanup: style

5 years agoCode cleanup: de-duplicate widget_num_tria, widget_scroll_circle
Campbell Barton [Sun, 22 Jun 2014 05:01:54 +0000 (15:01 +1000)]
Code cleanup: de-duplicate widget_num_tria, widget_scroll_circle

5 years agoRemove unused function
Campbell Barton [Sun, 22 Jun 2014 03:05:48 +0000 (13:05 +1000)]
Remove unused function

5 years agoWM: set circle select minimum radius to 1
Campbell Barton [Sun, 22 Jun 2014 03:02:26 +0000 (13:02 +1000)]
WM: set circle select minimum radius to 1

5 years agoCycles: improved Beckmann sampling using precomputed data
Brecht Van Lommel [Fri, 20 Jun 2014 19:21:05 +0000 (21:21 +0200)]
Cycles: improved Beckmann sampling using precomputed data

It turns out that the new Beckmann sampling function doesn't work well with
Quasi Monte Carlo sampling, mainly near normal incidence where it can be worse
than the previous sampler. In the new sampler the random number pattern gets
split in two, warped and overlapped, which hurts the stratification, see the
visualization in the differential revision.

Now we use a precomputed table, which is much better behaved. GGX does not seem
to benefit from using a precomputed table.

Disadvantage is that this table adds 1MB of memory usage and 0.03s startup time
to every render (on my quad core CPU).

Differential Revision: https://developer.blender.org/D614

5 years agoFix T40703: cycles viewport smoke not updating when changing frame.
Brecht Van Lommel [Sat, 21 Jun 2014 20:18:48 +0000 (22:18 +0200)]
Fix T40703: cycles viewport smoke not updating when changing frame.

5 years agoFix T40714: cycles not loading CMYK jpeg files correctly.
Brecht Van Lommel [Sat, 21 Jun 2014 18:42:03 +0000 (20:42 +0200)]
Fix T40714: cycles not loading CMYK jpeg files correctly.

5 years agoFix cycles "Is Singular Ray" being on for Camera rays, now is off.
Brecht Van Lommel [Sun, 15 Jun 2014 10:19:51 +0000 (12:19 +0200)]
Fix cycles "Is Singular Ray" being on for Camera rays, now is off.

This appears to be a wrong interpretation of the OSL docs, and it's more
convenient to have it off.

5 years agoFix T40567 Crash when returing to object mode from dyntopo.
Antony Riakiotakis [Sat, 21 Jun 2014 18:20:13 +0000 (21:20 +0300)]
Fix T40567 Crash when returing to object mode from dyntopo.

Returning to object mode reactivates any generative modifiers
and this can lead to a polycount explosion.

For now just improve the warning when entering dyntopo with generative
modifiers. I would like to add the ability spawn options to apply or
remove the modifiers too, however separate undo stack system comes back
with a vengeance here, since it won't allow restoring the application/
also may invalidate all sculpt undo in the undo stack prior to the
application (needs investigation).

5 years agoFix T40727: Renaming nodes did not correctly fix animation paths.
Lukas Tönne [Sat, 21 Jun 2014 04:45:48 +0000 (06:45 +0200)]
Fix T40727: Renaming nodes did not correctly fix animation paths.

5 years agoFix scons building in case git is not available.
Bastien Montagne [Fri, 20 Jun 2014 16:13:20 +0000 (18:13 +0200)]
Fix scons building in case git is not available.

Not so nice to use try/except here, but simplest solution to avoid failing in case
git commands fail for some reason...

5 years agoBLI_md5: add a utility function to 'translate' raw 16bytes digest into a nice 32chars...
Bastien Montagne [Fri, 20 Jun 2014 14:18:26 +0000 (16:18 +0200)]
BLI_md5: add a utility function to 'translate' raw 16bytes digest into a nice 32chars hexadecimal string.

That kind of stuff belongs to BLI, not specialized code like thumbs.c

5 years agoCode cleanup: BLI_md5.c was... not nice.
Bastien Montagne [Fri, 20 Jun 2014 14:06:12 +0000 (16:06 +0200)]
Code cleanup: BLI_md5.c was... not nice.

5 years agoGLSL tweaks for viewport render draw
Sergey Sharybin [Fri, 20 Jun 2014 12:10:32 +0000 (18:10 +0600)]
GLSL tweaks for viewport render draw

- Was missing pixel scale
- Dither is now supported on GPU

5 years agoImplement resolution divider in the Blender Internal
Sergey Sharybin [Thu, 19 Jun 2014 10:21:17 +0000 (16:21 +0600)]
Implement resolution divider in the Blender Internal

Currently resolution divider is not exposed to the
interface yet, and i'm not even sure it needs to be
exposed because it's somewhat weird configuration.
Need to check how often artists are changing start
resolution in Cycles.

Pretty much straightforward implementation with the
only weak part: render result is getting re-allocated
and upscaled when current resolution is finished.
Not sure how to make it faster actually. Maybe it's
just a matter of making upscale fast enough.

Needed to fix some possible memory leak happening
in Freestyle when canceling rendering on a special
stage -- it was missing temp bmain free,

Reviewers: campbellbarton, dingto

CC: sebastian_k, fsiddi, venomgfx
Differential Revision: https://developer.blender.org/D609

5 years agoReplace hard-coded version for release log url
Campbell Barton [Fri, 20 Jun 2014 10:49:50 +0000 (20:49 +1000)]
Replace hard-coded version for release log url

5 years agoUpdate Readme and Release Log link for 2.71.
Thomas Dinges [Fri, 20 Jun 2014 10:31:12 +0000 (12:31 +0200)]
Update Readme and Release Log link for 2.71.

This should be backported.

5 years agoFix release notes link in splash.
Bastien Montagne [Fri, 20 Jun 2014 08:21:39 +0000 (10:21 +0200)]
Fix release notes link in splash.

Auto-generate this link from Blender version, as done for e.g.py API link.

This commit should be backported to 2.71 branch.