blender.git
4 years agoUsual UI message cleanup/fixes.
Bastien Montagne [Tue, 11 Aug 2015 20:29:16 +0000 (22:29 +0200)]
Usual UI message cleanup/fixes.

4 years agoinstall_deps: fix broken force/skip-osd options.
Bastien Montagne [Tue, 11 Aug 2015 20:08:01 +0000 (22:08 +0200)]
install_deps: fix broken force/skip-osd options.

Bash scripts are such a PITA, having to redefine the options in three different places... :(

4 years agoBGE: Fix delete constraint for replicated physics controllers.
Porteries Tristan [Tue, 11 Aug 2015 19:48:06 +0000 (21:48 +0200)]
BGE: Fix delete constraint for replicated physics controllers.

Replicated controllers didn't free constraints list before.

4 years agoCycles: Enable some extra debug prints for OpenCL kernel loading
Sergey Sharybin [Tue, 11 Aug 2015 16:03:54 +0000 (18:03 +0200)]
Cycles: Enable some extra debug prints for OpenCL kernel loading

4 years agoBGE: Fix T38448: Bullet constraint memory leak.
Porteries Tristan [Tue, 11 Aug 2015 10:56:57 +0000 (12:56 +0200)]
BGE: Fix T38448: Bullet constraint memory leak.

4 years agoAdd WM_event_add/remove_timer_notifier() helpers.
Bastien Montagne [Tue, 11 Aug 2015 10:11:48 +0000 (12:11 +0200)]
Add WM_event_add/remove_timer_notifier() helpers.

This basically does the 'timer' part of Jobs system: it sends a given notifier on every timer step.

This is needed for background tasks (not full-fledged jobs, lighter BLI_tasks based) that want to update UI
(like for up-comming new thumbnail handling in filebrowser).

4 years agoBGE: Fix T33187 constraints replication for libloaded objects.
Porteries Tristan [Mon, 10 Aug 2015 20:42:52 +0000 (22:42 +0200)]
BGE: Fix T33187 constraints replication for libloaded objects.

Reviewers: Moguri

4 years agoUI drag&drop: make code able to free dragpoin if needed.
Bastien Montagne [Mon, 10 Aug 2015 16:01:11 +0000 (18:01 +0200)]
UI drag&drop: make code able to free dragpoin if needed.

Only for image and strings for now. Needed for incomming filebrowser work.

4 years agoData previews: add utils to generate/clear previews.
Bastien Montagne [Mon, 10 Aug 2015 15:26:37 +0000 (17:26 +0200)]
Data previews: add utils to generate/clear previews.

Not much to add, you can now clear previews from current .blend file, or a set of non-opened files.
Likewise, you can generate previews (for mat/tex, objects, groups, scenes, ...).

4 years agoBGE: Fix T33564: UI obstacle panel disable for character and no collision objects.
Porteries Tristan [Mon, 10 Aug 2015 15:24:19 +0000 (17:24 +0200)]
BGE: Fix T33564: UI obstacle panel disable for character and no collision objects.

4 years agoCycles: Fix for typo in previous commit
Sergey Sharybin [Mon, 10 Aug 2015 15:24:14 +0000 (17:24 +0200)]
Cycles: Fix for typo in previous commit

4 years agoBGE: Fix T19377 restore dynamics after unparenting object.
Porteries Tristan [Mon, 10 Aug 2015 12:36:54 +0000 (14:36 +0200)]
BGE: Fix T19377 restore dynamics after unparenting object.

Reviewers: scorpion81

4 years agoData previews: add preview to Object, Group and Scene.
Bastien Montagne [Mon, 10 Aug 2015 13:41:28 +0000 (15:41 +0200)]
Data previews: add preview to Object, Group and Scene.

This commit does not add anything yet to users, it’s purely internal one.
Useful commit is next. ;)

4 years agoBLI_threads: add an helper to wait on a condition using a global mutex.
Bastien Montagne [Mon, 10 Aug 2015 13:03:31 +0000 (15:03 +0200)]
BLI_threads: add an helper to wait on a condition using a global mutex.

Also, factorized internal code to get global mutex from its ID.

4 years agoInstall_deps: add basic listing of needed dependencies to error message for unsupport...
Bastien Montagne [Mon, 10 Aug 2015 11:09:57 +0000 (13:09 +0200)]
Install_deps: add basic listing of needed dependencies to error message for unsupported distro.

4 years agoBGE: Fix T44782 suspend/restore dynamics on inactive object.
Porteries Tristan [Sat, 8 Aug 2015 19:54:08 +0000 (21:54 +0200)]
BGE: Fix T44782 suspend/restore dynamics on inactive object.

4 years agoInstall_deps: add (non-tested) OSD-building code.
Bastien Montagne [Sun, 9 Aug 2015 13:58:53 +0000 (15:58 +0200)]
Install_deps: add (non-tested) OSD-building code.

Not tested for fedora-like and arch distro, would expect it to work though. Please report otherwise.

Also, always inatll git now (and a few other XOrg -dev packages).

4 years agoinstall_deps: Add libxcursor packages, seems to be needed now?
Bastien Montagne [Sun, 9 Aug 2015 13:40:59 +0000 (15:40 +0200)]
install_deps: Add libxcursor packages, seems to be needed now?

4 years agoCompile fix cycles network. This code is crusty and not super
Martijn Berger [Sun, 9 Aug 2015 13:31:32 +0000 (15:31 +0200)]
Compile fix cycles network. This code is crusty and not super
functional. But is should compile.

4 years agoCycles: Follow up on cc0bbc28 (Collapse multiview panel)
Dalai Felinto [Sun, 9 Aug 2015 03:25:34 +0000 (00:25 -0300)]
Cycles: Follow up on cc0bbc28 (Collapse multiview panel)

4 years agoOptimize reading of fcurves
Sergey Sharybin [Sat, 8 Aug 2015 20:17:03 +0000 (22:17 +0200)]
Optimize reading of fcurves

Reading fcurves wasn't really optimal because restoring fcu->group pointer was
changing lasthit pointer, which required full lookup over the oldnewmap happened
at the next call to newdatadr().

This reduces loading franck_sheep.blend file from ~2.2sec to 1.5sec.

4 years agoCollapse multiview panel in render layers by default
Sergey Sharybin [Sat, 8 Aug 2015 18:52:47 +0000 (20:52 +0200)]
Collapse multiview panel in render layers by default

This is not so much common panel to access to and having it fully
visible just adds clutterness in cases when one only need to work
with render passes.

4 years agoFix for SeqCache hash ignoring multi-view
Campbell Barton [Sun, 9 Aug 2015 03:46:18 +0000 (13:46 +1000)]
Fix for SeqCache hash ignoring multi-view

Thanks to @chadf for finding

4 years agoFix: opening missing file didnt remove in recent-files.txt
Campbell Barton [Sun, 9 Aug 2015 02:53:09 +0000 (12:53 +1000)]
Fix: opening missing file didnt remove in recent-files.txt

Refactor recent-file.txt handling, split into smaller functions.
It wasn't possible to write the current state to disk (depended on current context).

4 years agoSPeedup for particle point cache reading
Sergey Sharybin [Sat, 8 Aug 2015 17:50:11 +0000 (19:50 +0200)]
SPeedup for particle point cache reading

Order of saving and reading particle point cache was totally different which
made newdataadr() falling back to full data block list traversal for every
point cache entry.

This commit makes it so reading code uses the same order of reading structs
and lists ad the writing code. This required to add special version of list
linking which is capable of running a callback after linking a list element.
This seems to be more robust approach than splitting writing code into
several loops.

4 years agoFix T45705: Selected to Active Cycles Baking no longer working
Dalai Felinto [Sat, 8 Aug 2015 17:40:41 +0000 (14:40 -0300)]
Fix T45705: Selected to Active Cycles Baking no longer working

4 years agoUse polygon normals for baking
Campbell Barton [Sun, 9 Aug 2015 01:05:25 +0000 (11:05 +1000)]
Use polygon normals for baking

4 years agoFix crash baking in cycles
Campbell Barton [Sat, 8 Aug 2015 22:28:58 +0000 (08:28 +1000)]
Fix crash baking in cycles

Error in recent move to looptri

4 years agoSupport building OpenSubdiv libraries under Debian (Ubuntu) with our build_deps.sh...
Thomas Beck [Sat, 8 Aug 2015 12:12:02 +0000 (14:12 +0200)]
Support building OpenSubdiv libraries under Debian (Ubuntu) with our build_deps.sh script.

Use --skip-osd to skip building opensubdiv libs,
use --force-osd to force a rebuild of the libs.

I added all needed user information (where to find the include dir, which -D options to set) to the print_info method that is called at the end too, so it should be pretty intuitive to use.

Reviewers: sergey, mont29

Reviewed By: mont29

Subscribers: mont29

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

4 years agoRemove leftover from sticky keys
Julian Eisel [Sat, 8 Aug 2015 00:37:03 +0000 (02:37 +0200)]
Remove leftover from sticky keys

4 years agoFix T45726: Wrong handling of 'failed to generate' audio waveform data in VSE strip...
Bastien Montagne [Fri, 7 Aug 2015 21:42:32 +0000 (23:42 +0200)]
Fix T45726: Wrong handling of 'failed to generate' audio waveform data in VSE strip draw code.

4 years agoFix T45715: Blender crashes when creating Environment Map textures in Multi-View...
Dalai Felinto [Fri, 7 Aug 2015 18:46:18 +0000 (15:46 -0300)]
Fix T45715: Blender crashes when creating Environment Map textures in Multi-View mode

4 years agoFix T45721: Panoramic render in Cycles camera : depth of field issue with bump maps...
Dalai Felinto [Fri, 7 Aug 2015 16:41:16 +0000 (13:41 -0300)]
Fix T45721: Panoramic render in Cycles camera : depth of field issue with bump maps - patch by Brecht Van Lommel

4 years agoData Transfer operator: Add a 'freeze' setting to prevent operator from re-running...
Bastien Montagne [Fri, 7 Aug 2015 14:33:48 +0000 (16:33 +0200)]
Data Transfer operator: Add a 'freeze' setting to prevent operator from re-running when changing settings.

This is likely weak design, but allows people to change several settings without having to wait
several tenth of seconds each time, when e.g. transferring UVs between heavy geometries.

4 years agoFix (unreported) crash in mesh remap (i.e. data transfer).
Bastien Montagne [Fri, 7 Aug 2015 14:18:13 +0000 (16:18 +0200)]
Fix (unreported) crash in mesh remap (i.e. data transfer).

Issue from rBabbd82a50, loops data were not correctly protected against multi-freeing in bvhtree data.

4 years agoMesh remap: Fix two potential numeric issues in corner cases, and enhance poly projec...
Bastien Montagne [Fri, 7 Aug 2015 14:14:54 +0000 (16:14 +0200)]
Mesh remap: Fix two potential numeric issues in corner cases, and enhance poly projection.

Null-area face could generate an int overflow, and potential numerical imprecision in face area computation
could lead to negative number of rays-to-cast (though highly unlikely).

Also, use domnant axis of poly normal as 'flattening' one, instead of always using Z axis.

Points raised by Campbell, thanks!

4 years agoAttempt to fix T45718, crash when enabling GLSL mode with UV layers.
Antony Riakiotakis [Fri, 7 Aug 2015 14:16:23 +0000 (16:16 +0200)]
Attempt to fix T45718, crash when enabling GLSL mode with UV layers.

I can't  reproduce issue here but crash is most likely caused by passing
a NULL pointer to glUniform2fv.

This is caused by OpenSubdiv changes to the codegen module, which pass
mtex layers to the uniform system
even when not needed.

Since Sergey is demoing OpenSubdiv in a few days, I'll
go with the easy fix for now which is just checking for NULL pointer, but
this needs to be fixed properly at some point.

4 years agoFix scrubbing only treated as animation for sequencer
Antony Riakiotakis [Fri, 7 Aug 2015 13:39:32 +0000 (15:39 +0200)]
Fix scrubbing only treated as animation for sequencer

Intent was to act as animation everywhere

4 years agoFix T45713: Numselect for confirm popup not working anymore
Julian Eisel [Fri, 7 Aug 2015 12:39:50 +0000 (14:39 +0200)]
Fix T45713: Numselect for confirm popup not working anymore

4 years agoBGe: Fix T45597 wrong object layer for linked object in blenderplayer.
Porteries Tristan [Thu, 6 Aug 2015 14:58:52 +0000 (16:58 +0200)]
BGe: Fix T45597 wrong object layer for linked object in blenderplayer.

4 years agoFix: Sliders in animeditors were getting drawn too far left
Joshua Leung [Thu, 6 Aug 2015 14:41:33 +0000 (02:41 +1200)]
Fix: Sliders in animeditors were getting drawn too far left

Sliders in for FCurves in the animation editors were leaving space for
one extra setting that they didn't need to be accounting for (and which
wasn't shown, as it isn't valid for FCurves).

4 years agoAnimEditors FModifiers toggle: Add a bit more space beside it so that it doesn't...
Joshua Leung [Thu, 6 Aug 2015 14:38:23 +0000 (02:38 +1200)]
AnimEditors FModifiers toggle: Add a bit more space beside it so that it doesn't seem to collide with the mute toggle

4 years agoFix T45166: Keyframes pasted at wrong position when NLA strip has offset
Joshua Leung [Thu, 6 Aug 2015 14:23:55 +0000 (02:23 +1200)]
Fix T45166: Keyframes pasted at wrong position when NLA strip has offset

Paste keyframes code seemed to have overlooked the NLA mapping issue, causing
keyframes to get pasted in the wrong places.

4 years agoNo need to count layers to check empty
Campbell Barton [Thu, 6 Aug 2015 14:00:02 +0000 (00:00 +1000)]
No need to count layers to check empty

4 years agoGPencil UI: Streamline the data panel workflow
Joshua Leung [Thu, 6 Aug 2015 13:46:06 +0000 (01:46 +1200)]
GPencil UI: Streamline the data panel workflow

Restored the "New Layer" button in the NKEY Grease Pencil panel (as was found
pre-2.73) for two cases:
 1) When no Grease Pencil datablock is active - This shortcut makes it possible to
    add a new layer to start drawing in with a single click again (instead of two
    clicks - one to add a datablock, and a second to add the layer)

 2) When there are no layers - There is no need to display the UI list in this case,
    thus saving a bit more space in the rare cases where this applies.

4 years agoT44932: Disable pressure handling for "poly" mode too
Joshua Leung [Thu, 6 Aug 2015 13:36:27 +0000 (01:36 +1200)]
T44932: Disable pressure handling for "poly" mode too

4 years agoStopGap Fix for T44932: Ignore pressure values when drawing straight line segments...
Joshua Leung [Thu, 6 Aug 2015 13:33:53 +0000 (01:33 +1200)]
StopGap Fix for T44932: Ignore pressure values when drawing straight line segments with GPencil

After some testing of the behaviour of this stuff, it became clear that the current
pressure handling here isn't very useful. The initial point would invariably get a
low pressure value (due to the way that the initial tap needs time to "take"), while
the end of the stroke suffers from similar issues (i.e. when the pen is released).
Meanwhile, the line thickness would flicker while drawing the stroke, as the endpoint
pressure varied.

So, until we find a better way, all straight line segments are now drawn without
pressure sensitivity.

4 years agoTimeline: Make GPencil keyframes slightly taller than normal keyframes to make them...
Joshua Leung [Thu, 6 Aug 2015 13:23:58 +0000 (01:23 +1200)]
Timeline: Make GPencil keyframes slightly taller than normal keyframes to make them easier to distinguish

This commit makes GPencil keyframes in the timeline slightly taller (80% height
vs 60% height) so that they will not be that easily confused.

4 years agoRemove MFace use w/ fluidsim
Campbell Barton [Thu, 6 Aug 2015 12:33:45 +0000 (22:33 +1000)]
Remove MFace use w/ fluidsim

4 years agoDocs: comment BKE_scene_set_background
Campbell Barton [Thu, 6 Aug 2015 11:02:08 +0000 (21:02 +1000)]
Docs: comment BKE_scene_set_background

4 years agoFix typo in cmake when OpenSubdiv is not found
Thomas Beck [Thu, 6 Aug 2015 09:51:18 +0000 (11:51 +0200)]
Fix typo in cmake when OpenSubdiv is not found

4 years agoFix T45695: Assigning material reverts MaterialSlot.link
Campbell Barton [Thu, 6 Aug 2015 08:04:13 +0000 (18:04 +1000)]
Fix T45695: Assigning material reverts MaterialSlot.link

Setting the material was resetting the link bit, this is OK from the UI,
confusing for scripts.

4 years agoOpenSubdiv: Make sure faces are exported with consistent normal
Sergey Sharybin [Thu, 6 Aug 2015 07:49:13 +0000 (09:49 +0200)]
OpenSubdiv: Make sure faces are exported with consistent normal

This is currently a requirement of OpenSudiv and original orientation code
was depending on this quite a lot.

This makes mesh conversion and comparison slower but solves some crashes.
With some trickery it could be optimized and become closer to original
performance.

Probably Campbell has some nice ideas here as well :)

4 years agoSimplify defvert_remove_group(), use realloc
Campbell Barton [Thu, 6 Aug 2015 06:52:39 +0000 (16:52 +1000)]
Simplify defvert_remove_group(), use realloc

Patch by @chadf

4 years agoCleanup: unused warning
Campbell Barton [Thu, 6 Aug 2015 06:52:28 +0000 (16:52 +1000)]
Cleanup: unused warning

4 years agoCMake: AUDASPACE_ROOT_DIR wasn't working
Campbell Barton [Thu, 6 Aug 2015 02:59:39 +0000 (12:59 +1000)]
CMake: AUDASPACE_ROOT_DIR wasn't working

4 years agoCleanup: style (match other find modules)
Campbell Barton [Thu, 6 Aug 2015 02:55:54 +0000 (12:55 +1000)]
Cleanup: style (match other find modules)

4 years agoCleanup: whitespace, unused var
Campbell Barton [Thu, 6 Aug 2015 02:34:31 +0000 (12:34 +1000)]
Cleanup: whitespace, unused var

4 years agoCleanup: whitespace
Campbell Barton [Thu, 6 Aug 2015 02:34:19 +0000 (12:34 +1000)]
Cleanup: whitespace

4 years agoFix T45691 crash on material view
Antony Riakiotakis [Wed, 5 Aug 2015 23:09:07 +0000 (01:09 +0200)]
Fix T45691 crash on material view

Call glProgramUniform1i only when OpenSubdiv is requested and only when
the GPU supports it.

4 years agoFix T45693: Fix for using 4-component vector as 3 component in osd shader
Sergey Sharybin [Wed, 5 Aug 2015 19:35:38 +0000 (21:35 +0200)]
Fix T45693: Fix for using 4-component vector as 3 component in osd shader

4 years agoOpenSubdiv: Make sure normals passed to OSD are all up to date
Sergey Sharybin [Wed, 5 Aug 2015 17:19:05 +0000 (19:19 +0200)]
OpenSubdiv: Make sure normals passed to OSD are all up to date

Solves shading artifacts with animated characters.

4 years agoOpenSubdiv: Changes to texturing
Sergey Sharybin [Wed, 5 Aug 2015 16:29:43 +0000 (18:29 +0200)]
OpenSubdiv: Changes to texturing

Use first material slot for until multiple materials are fully supported.

Also respect setMaterial()'s return value to avoid drawing unnecessary
geometry.

4 years agoOpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flag
Sergey Sharybin [Wed, 5 Aug 2015 14:06:18 +0000 (16:06 +0200)]
OpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flag

4 years agoCleanup: unused warning
Campbell Barton [Wed, 5 Aug 2015 13:50:22 +0000 (23:50 +1000)]
Cleanup: unused warning

4 years agoFix dereference before NULL check
Campbell Barton [Wed, 5 Aug 2015 13:46:49 +0000 (23:46 +1000)]
Fix dereference before NULL check

4 years agoOpenSubdiv: Completely avoid possible access to non-existing CPU data
Sergey Sharybin [Wed, 5 Aug 2015 13:11:50 +0000 (15:11 +0200)]
OpenSubdiv: Completely avoid possible access to non-existing CPU data

Make it so CCGDM reports 0 number of geometry when it uses GPU backend for
drawing. This screws up a bit statistics in info header and requires to have
some special handle of CCGDM in the drawing code, but makes it so non of the
areas will try to access non-existing geometry.

4 years agoOpenSubdiv: Edit mode was not checking for Use OpenSubdiv flag
Sergey Sharybin [Wed, 5 Aug 2015 12:51:08 +0000 (14:51 +0200)]
OpenSubdiv: Edit mode was not checking for Use OpenSubdiv flag

4 years agoOpenSubdiv: Correction to previous commit
Sergey Sharybin [Wed, 5 Aug 2015 12:46:27 +0000 (14:46 +0200)]
OpenSubdiv: Correction to previous commit

4 years agoOpenSubdiv: Tweaks to AABB calculation when using opensubdiv for subsurf
Sergey Sharybin [Wed, 5 Aug 2015 12:43:51 +0000 (14:43 +0200)]
OpenSubdiv: Tweaks to AABB calculation when using opensubdiv for subsurf

Use coarse coordinates to calculate AABB which gives much better approximation
of AABB than using unity AABB size.

4 years agoMirror modifier: Fix for wrong dependency relations
Sergey Sharybin [Wed, 5 Aug 2015 12:29:18 +0000 (14:29 +0200)]
Mirror modifier: Fix for wrong dependency relations

Mirror modifier was reporting that it depends on geometry of the object
used for mirror center which is incorrect -- only object matrix is needed
for modifier evaluation.

4 years agoOpenSubdiv: Resolve regression with unity AABB for CCGDM calculated on CPU
Sergey Sharybin [Wed, 5 Aug 2015 12:20:40 +0000 (14:20 +0200)]
OpenSubdiv: Resolve regression with unity AABB for CCGDM calculated on CPU

4 years agoOpenSubdiv: Fix crash happening when disabling Use OpenSubdiv option
Sergey Sharybin [Wed, 5 Aug 2015 12:15:46 +0000 (14:15 +0200)]
OpenSubdiv: Fix crash happening when disabling Use OpenSubdiv option

The issue was caused by the changes from this morning.

4 years agoOpenSubdiv: Enable by default on the supported platforms
Sergey Sharybin [Wed, 5 Aug 2015 10:42:00 +0000 (12:42 +0200)]
OpenSubdiv: Enable by default on the supported platforms

This commit makes sure Linux and Windows buildbots are using OpenSubdiv
and also enables OpenSubdiv by default on Windows.

OSX is kept disabled still, this is due to OpenGL restrictions which are
not solved in any way yet.

Linux is defaults to OpenSubdiv disabled because it needs precompiled
library.

The documentation could be found there:

  http://wiki.blender.org/index.php/User:Nazg-gul/OpenSubdiv

4 years agoRemove files from recent-files list on failed open
Campbell Barton [Wed, 5 Aug 2015 11:25:28 +0000 (21:25 +1000)]
Remove files from recent-files list on failed open

4 years agoFix T45647: Incorrect results w/ color spill node
Campbell Barton [Wed, 5 Aug 2015 11:02:29 +0000 (21:02 +1000)]
Fix T45647: Incorrect results w/ color spill node

4 years agoDoc fix: rather then -> rather than
Sybren A. Stüvel [Wed, 5 Aug 2015 10:47:37 +0000 (12:47 +0200)]
Doc fix: rather then -> rather than

4 years agoOnly show interpolation buttons w/ bezier splines
Campbell Barton [Wed, 5 Aug 2015 10:28:31 +0000 (20:28 +1000)]
Only show interpolation buttons w/ bezier splines

4 years agoRemove redundant addition in BKE_mesh_calc_volume
Campbell Barton [Wed, 5 Aug 2015 10:26:52 +0000 (20:26 +1000)]
Remove redundant addition in BKE_mesh_calc_volume

4 years agoFix selecting linked edges
Campbell Barton [Wed, 5 Aug 2015 10:24:01 +0000 (20:24 +1000)]
Fix selecting linked edges

4 years agoFix T45641: crash cutting meta-strips
Campbell Barton [Wed, 5 Aug 2015 10:18:57 +0000 (20:18 +1000)]
Fix T45641: crash cutting meta-strips

4 years agoOpenSubdiv: Make subsurf behavior closer to original one when built with OpenSubdiv...
Sergey Sharybin [Wed, 5 Aug 2015 09:54:11 +0000 (11:54 +0200)]
OpenSubdiv: Make subsurf behavior closer to original one when built with OpenSubdiv but without enabling option

4 years agoBuildbot config: disable gooseberry branch from nightly builds
Sergey Sharybin [Wed, 5 Aug 2015 09:45:52 +0000 (11:45 +0200)]
Buildbot config: disable gooseberry branch from nightly builds

There's no updates happening in the gooseberry branch, so no really reason
to waste time on rebuilding the branch overnight.

4 years agoBuildbot config: remove windows scons and mingw builders
Sergey Sharybin [Wed, 5 Aug 2015 09:44:36 +0000 (11:44 +0200)]
Buildbot config: remove windows scons and mingw builders

They are defunct at this moment, no reason to try scheduling builds on them.

4 years agoNodes: Link lines & link arrows not scaling to DPI/pixelsize correctly
Julian Eisel [Tue, 4 Aug 2015 19:56:43 +0000 (21:56 +0200)]
Nodes: Link lines & link arrows not scaling to DPI/pixelsize correctly

4 years agoCycles: Remove 32bit cuda workaroudn and disable cubins for buildbot
Sergey Sharybin [Tue, 4 Aug 2015 16:50:37 +0000 (18:50 +0200)]
Cycles: Remove 32bit cuda workaroudn and disable cubins for buildbot

Recent changes to kernel broke compilation of the kernels again, need some
other kind of solution for this issue.

Don't have much time for this currently, but will be addressed before the
release.

Meanwhile it's better to have some buildbot builds instead of totally failing
one.

4 years agoOpenSubdiv: Preparation for enabling it for linux buildbot
Sergey Sharybin [Tue, 4 Aug 2015 16:33:55 +0000 (18:33 +0200)]
OpenSubdiv: Preparation for enabling it for linux buildbot

4 years agoOpenSubdiv: Modifiers module missed WITH_OPENSUBDIV define
Sergey Sharybin [Tue, 4 Aug 2015 16:32:21 +0000 (18:32 +0200)]
OpenSubdiv: Modifiers module missed WITH_OPENSUBDIV define

4 years agoOpenSubdiv: Fix for missing OpenMP device when building with SCons
Sergey Sharybin [Tue, 4 Aug 2015 16:25:34 +0000 (18:25 +0200)]
OpenSubdiv: Fix for missing OpenMP device when building with SCons

4 years agoOpenSubdiv: Correction for compute devices detection in SCons
Sergey Sharybin [Tue, 4 Aug 2015 16:18:21 +0000 (18:18 +0200)]
OpenSubdiv: Correction for compute devices detection in SCons

SCons was still using file names from 2.x branch.

4 years agoSCons: Fix for really nasty bug with polluting configuration environment
Sergey Sharybin [Tue, 4 Aug 2015 16:04:45 +0000 (18:04 +0200)]
SCons: Fix for really nasty bug with polluting configuration environment

The issue was caused by the following construction:

  def = env['SOMETHING']
  defs.append('SOMETHING_MORE')

Since first assignment was actually referencing environment option it was totally
polluted hawing weird and wonderful side effects on all other areas of Blender.

4 years agoFix fast navigate winding being incorrect (apparent when backface
Antony Riakiotakis [Tue, 4 Aug 2015 14:03:20 +0000 (16:03 +0200)]
Fix fast navigate winding being incorrect (apparent when backface
culling was on)

4 years agoNodes: Make method to detect hovered link during transform more predictable/responsive
Julian Eisel [Tue, 4 Aug 2015 13:25:19 +0000 (15:25 +0200)]
Nodes: Make method to detect hovered link during transform more predictable/responsive

The old method:
The "old" method used the node dimensions to get a number of lines and checked if they intersect with the node link. Issue with this is that only a small part of the actual node surface is checked, making the method a bit unpredictable or unresponsive.

The new method:
The new method checks for intersections within the entire node surface. If multiple links are intersected, the node with the smallest distance from the *upper left corner* to the link is chosen.

Reviewed by @campbellbarton (tm)

4 years agoRemove alloc checks in laplaciansmooth
Campbell Barton [Tue, 4 Aug 2015 12:31:32 +0000 (22:31 +1000)]
Remove alloc checks in laplaciansmooth

These arrays aren't especially big or likely to fail.

4 years agoRemesh modifier has unnecessary MFace calculation
Campbell Barton [Tue, 4 Aug 2015 12:11:43 +0000 (22:11 +1000)]
Remesh modifier has unnecessary MFace calculation

4 years agoMissed from last commit
Campbell Barton [Tue, 4 Aug 2015 12:08:21 +0000 (22:08 +1000)]
Missed from last commit

4 years agoRemove MFace use w/ laplacian smooth
Campbell Barton [Tue, 4 Aug 2015 11:30:10 +0000 (21:30 +1000)]
Remove MFace use w/ laplacian smooth

Use polygons for calculation

4 years agoOpenSubdiv: Report when OSD can't be enabled due to dependencies
Sergey Sharybin [Tue, 4 Aug 2015 10:23:53 +0000 (12:23 +0200)]
OpenSubdiv: Report when OSD can't be enabled due to dependencies

Should be useful for debugging cases when enabling the option doesn't
cause any performance improvements.

4 years agoOpenSubdiv: forgot this in the previous commit
Sergey Sharybin [Tue, 4 Aug 2015 09:04:27 +0000 (11:04 +0200)]
OpenSubdiv: forgot this in the previous commit

Need to find better approach for dealing with shadeless materials.

4 years agoOpenSubdiv: Optimize drawing shader
Sergey Sharybin [Tue, 4 Aug 2015 08:49:32 +0000 (10:49 +0200)]
OpenSubdiv: Optimize drawing shader

The idea is to cut as much code as possible and use compile-time
ifdefs rather than runtime if() statements.

Gives about 2x speedup on catmark_car model from OpenSubdiv repository
making our FPS much closer to what glViewer is capable of.