blender.git
6 years agoCMake: correct include dirs
Campbell Barton [Mon, 30 Jun 2014 23:36:11 +0000 (09:36 +1000)]
CMake: correct include dirs

6 years agoUsual UI messages fixes.
Bastien Montagne [Mon, 30 Jun 2014 18:42:44 +0000 (20:42 +0200)]
Usual UI messages fixes.

6 years agoCorrect use-after-free in recent commit
Campbell Barton [Mon, 30 Jun 2014 18:09:27 +0000 (04:09 +1000)]
Correct use-after-free in recent commit

6 years agoFix odd situation where you could assign a background image without increasing its...
Bastien Montagne [Mon, 30 Jun 2014 17:34:52 +0000 (19:34 +0200)]
Fix odd situation where you could assign a background image without increasing its usercount.

Probably a leftover from old code, I don't think this invoke usage of VIEW3D_OT_background_image_add
was actually reachable anywhere from the UI, but managed to get it working from py, without increasing
user count...

6 years agoFix image user count not being decreased when deleting a 3DView background image.
Bastien Montagne [Mon, 30 Jun 2014 15:54:45 +0000 (17:54 +0200)]
Fix image user count not being decreased when deleting a 3DView background image.

Patch by julien (Julien DUROURE) as T40568 (with own minor style edits), many thanks!

6 years agoExperiment with the compositor border in editor
Sergey Sharybin [Thu, 5 Jun 2014 14:05:41 +0000 (20:05 +0600)]
Experiment with the compositor border in editor

Preserve buffer form previous runs so it's possible to make
a compo of full frame, then draw a border and start tweaking
nodes and see updates in that border.

Main idea is to make it able to visually compare difference
between what was changed inside the border and how frame
looked before the tweaks outside of the border.

Also implemented Clear Viewer Border in compositor, shortcut
it Ctrl-Alt-B.

Reviewers: lukastoenne, jbakker

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

6 years agoFix T40818: libpng warning: iCCP: known incorrect sRGB profile
Sergey Sharybin [Mon, 30 Jun 2014 15:06:23 +0000 (21:06 +0600)]
Fix T40818: libpng warning: iCCP: known incorrect sRGB profile

Suppress warning for now, it's harmless and only happens
with new libpng.

In the future we might try enabling it for non-datatoc-ed
files, but it's really not worth spending lots of time on.

6 years agoFix T40885: "Reset Curve" is backwards on Custom Falloff Curves (Lights).
Bastien Montagne [Mon, 30 Jun 2014 14:20:02 +0000 (16:20 +0200)]
Fix T40885: "Reset Curve" is backwards on Custom Falloff Curves (Lights).

Add ability to define negative slope by default to curvemapping template...

6 years agoFix T40878: Translate node is inconsistent
Sergey Sharybin [Mon, 30 Jun 2014 12:22:27 +0000 (18:22 +0600)]
Fix T40878: Translate node is inconsistent

6 years agoCompositor: Get rid of hardcoded constants
Sergey Sharybin [Mon, 30 Jun 2014 12:09:26 +0000 (18:09 +0600)]
Compositor: Get rid of hardcoded constants

6 years agoFix for subpixel sampling was broken for render layers node
Sergey Sharybin [Mon, 30 Jun 2014 12:03:59 +0000 (18:03 +0600)]
Fix for subpixel sampling was broken for render layers node

6 years agoOSX/cmake: Fix T40887 by detecting if we use an Apple compiler, disable omp in this...
Jens Verwiebe [Mon, 30 Jun 2014 11:37:00 +0000 (13:37 +0200)]
OSX/cmake: Fix T40887 by detecting if we use an Apple compiler, disable omp in this case

6 years agoCondition was inverted in the previous transparent shadows commit
Sergey Sharybin [Mon, 30 Jun 2014 10:54:52 +0000 (16:54 +0600)]
Condition was inverted in the previous transparent shadows commit

Handbook example what happens when you've got loads of patches
and not double-check stuff before committing.

6 years agoCmake: Remove warning for pre CUDA 5.0 Toolkit, not supported anymore
Thomas Dinges [Mon, 30 Jun 2014 10:37:04 +0000 (12:37 +0200)]
Cmake: Remove warning for pre CUDA 5.0 Toolkit, not supported anymore

6 years agoFix T40795: Dot output is inverted in viewport with Cycles
Sergey Sharybin [Mon, 30 Jun 2014 10:24:03 +0000 (16:24 +0600)]
Fix T40795: Dot output is inverted in viewport with Cycles

6 years agoFix T40836: Cycles volume scattering shader crash
Sergey Sharybin [Mon, 30 Jun 2014 09:40:04 +0000 (15:40 +0600)]
Fix T40836: Cycles volume scattering shader crash

Volume scatter might happen before path termination, so
need to check transparent bounces and consider shadow an
opaque when max transparent bounces are reached.

TODO: CPU code seems to have different branching in conditions
which made me thinking it does different things with volume
attenuation, but from the render results it seems the same
exact things are happening there. Worth looking into making
simplifying code a bit here to improve readability.

6 years agoFix T40862: numinput transform did not take into account scale_length.
Bastien Montagne [Mon, 30 Jun 2014 08:57:39 +0000 (10:57 +0200)]
Fix T40862: numinput transform did not take into account scale_length.

6 years agoUse text cursor for py-console
Campbell Barton [Mon, 30 Jun 2014 08:12:29 +0000 (18:12 +1000)]
Use text cursor for py-console

6 years agoFix T40867: Autokeyframe in camera view
Campbell Barton [Mon, 30 Jun 2014 03:37:37 +0000 (13:37 +1000)]
Fix T40867: Autokeyframe in camera view

6 years agoBLI_stack, use memory chunks rather then realloc when resizing
Campbell Barton [Mon, 30 Jun 2014 01:44:28 +0000 (11:44 +1000)]
BLI_stack, use memory chunks rather then realloc when resizing

6 years agoAdd BLI_stack test
Campbell Barton [Mon, 30 Jun 2014 01:42:26 +0000 (11:42 +1000)]
Add BLI_stack test

6 years agoAttempt to fix T40833: Crash when rendering with freestyle.
Tamito Kajiyama [Mon, 30 Jun 2014 00:41:49 +0000 (09:41 +0900)]
Attempt to fix T40833: Crash when rendering with freestyle.

Constant crashes under Linux seem due to an uninitialized variable.

6 years agoInstall_deps: fix for clang url issue.
Bastien Montagne [Sun, 29 Jun 2014 16:38:20 +0000 (18:38 +0200)]
Install_deps: fix for clang url issue.

Newest clang would use 'cfe-' prefix instead of 'clang-' one - don’t ask me why...
Had to make a wrapper around wget, that:
* Accepts an array of URLs as first parameter;
* Errors and exits when wget fails for some reason (was silent before).

Issue reported in T40871 by simonrepp (Simon Repp), thanks.

6 years agoFix compilation error on OSX+Scons
Sergey Sharybin [Sun, 29 Jun 2014 14:26:59 +0000 (20:26 +0600)]
Fix compilation error on OSX+Scons

Issue was caused by OSX tweaks happening in the SConstruct
after the old location of autotest.

6 years agoFix T40733: Segfault with hair particles cache and vgroups.
Lukas Tönne [Sun, 29 Jun 2014 13:51:58 +0000 (15:51 +0200)]
Fix T40733: Segfault with hair particles cache and vgroups.

The "fix" is just a stupid index sanity check to avoid crashing. Underlying issue is not identified and probably never will ...

6 years agoFreestyle: Fix for "cast shadows only" materials not handled properly.
Tamito Kajiyama [Sun, 29 Jun 2014 12:22:24 +0000 (21:22 +0900)]
Freestyle: Fix for "cast shadows only" materials not handled properly.

Problem report by Light BWK through personal communications, thanks!

6 years agoFix: NLA editor not being updated on using "Make Links" (Ctrl)+(L). We're emitting...
Thomas Beck [Sun, 29 Jun 2014 12:17:32 +0000 (14:17 +0200)]
Fix: NLA editor not being updated on using "Make Links" (Ctrl)+(L). We're emitting a ND_NLA_ACTCHANGE signal now to make that work.

Found while documenting the NLA for my upcoming book

6 years agoFix T40850: object emitter of particles not visible in viewport when GLSL and "only...
Lukas Tönne [Sun, 29 Jun 2014 11:24:50 +0000 (13:24 +0200)]
Fix T40850: object emitter of particles not visible in viewport when GLSL and "only render" checked.

Objects were hidden in "only render" mode if they were duplicators. This is correct in general, but for particles should be disabled by the "show emitter" option.

6 years agoFix T40792: Pack all into and Blender report Missing Files.
Bastien Montagne [Sun, 29 Jun 2014 07:41:02 +0000 (09:41 +0200)]
Fix T40792: Pack all into and Blender report Missing Files.

Do not check packed files' paths in BKE_bpath_missing_files_check()!

6 years agoCMake: attempt to resolve OSX+clang failing with OpenMP
Campbell Barton [Sat, 28 Jun 2014 20:18:52 +0000 (06:18 +1000)]
CMake: attempt to resolve OSX+clang failing with OpenMP

6 years agoFix T40829: Collada Export with 'Include Material Textures' selected crashes.
Bastien Montagne [Sat, 28 Jun 2014 19:51:04 +0000 (21:51 +0200)]
Fix T40829: Collada Export with 'Include Material Textures' selected crashes.

Code would not check a texture did have a valid image pointer...

6 years agoCorrection to last commit
Campbell Barton [Sat, 28 Jun 2014 20:08:41 +0000 (06:08 +1000)]
Correction to last commit

6 years agoBLI_stackdefines
Campbell Barton [Sat, 28 Jun 2014 19:06:22 +0000 (05:06 +1000)]
BLI_stackdefines

Bounds check the stack while debugging, also add STACK_PEEK

6 years agoCycles: use SYSTEM for external includes
Campbell Barton [Sat, 28 Jun 2014 17:59:54 +0000 (03:59 +1000)]
Cycles: use SYSTEM for external includes

6 years agoAdd render result caching.
Bastien Montagne [Sat, 28 Jun 2014 17:13:54 +0000 (19:13 +0200)]
Add render result caching.

Simply add an option to render settings to save an EXR cache,
just when the render is finished. Also changed RE_ReadRenderResult() to read
cache instead of temp sample files (those are fully volatile now anyway).

Path to save cached render results is an UserPreferences setting.

Also added 'Reload render' feature to the Image Editor (so one can now re-open a blend,
and in an Image Editor hit ctrl-R to (try to) reload last render from cache).

Reviewers: campbellbarton, sergey

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

6 years agoFix T40851: "Sequencer" auto-check after changing spaceview and scene.
Bastien Montagne [Sat, 28 Jun 2014 16:32:29 +0000 (18:32 +0200)]
Fix T40851: "Sequencer" auto-check after changing spaceview and scene.

Mere typo, leading to restore a flag from another scene's flag value...

6 years agoBLI_stack: use strict flags
Campbell Barton [Sat, 28 Jun 2014 13:07:32 +0000 (23:07 +1000)]
BLI_stack: use strict flags
also use size_t, rename BLI_stack_empty

6 years agoCleanup: typo
Campbell Barton [Sat, 28 Jun 2014 13:07:19 +0000 (23:07 +1000)]
Cleanup: typo

6 years agoCMake: update source files
Campbell Barton [Sat, 28 Jun 2014 12:53:43 +0000 (22:53 +1000)]
CMake: update source files

6 years agoFix 40841: Copy and Paste objects no longer functions from one running instance of...
Bastien Montagne [Sat, 28 Jun 2014 13:01:04 +0000 (15:01 +0200)]
Fix 40841: Copy and Paste objects no longer functions from one running instance of Blender to another.

Own mistake in recent temp data handling refactor, copy/paste temp .blend file needs to
be in non-session-specific temp dir...

6 years agoFix T40797: Crash on render on specific file with volumentrics and 'use hair' clicked...
Sergey Sharybin [Fri, 27 Jun 2014 19:19:26 +0000 (01:19 +0600)]
Fix T40797: Crash on render on specific file with volumentrics and 'use hair' clicked on render layer

6 years agoUI: increase contrast for active colorband handle
Campbell Barton [Fri, 27 Jun 2014 13:17:39 +0000 (23:17 +1000)]
UI: increase contrast for active colorband handle

6 years agoUI: use cursor x-location for tooltip placement (T37478)
Campbell Barton [Fri, 27 Jun 2014 12:56:31 +0000 (22:56 +1000)]
UI: use cursor x-location for tooltip placement (T37478)

6 years agoBMesh: more edits to vertex dissolve, handle mixing wire edges with faces better
Campbell Barton [Fri, 27 Jun 2014 12:05:57 +0000 (22:05 +1000)]
BMesh: more edits to vertex dissolve, handle mixing wire edges with faces better

6 years agoGet rid of usage of non-existing module
Sergey Sharybin [Fri, 27 Jun 2014 11:28:11 +0000 (17:28 +0600)]
Get rid of usage of non-existing module

6 years agowarning fix: use of __restrict was inconsistent in BLI_dynstr between declaration...
Jason Wilkins [Fri, 27 Jun 2014 10:59:31 +0000 (05:59 -0500)]
warning fix: use of __restrict was inconsistent in BLI_dynstr between declaration and definition

6 years agoFix T40834, grab brush not working after recent jittering fix.
Antony Riakiotakis [Fri, 27 Jun 2014 10:56:57 +0000 (13:56 +0300)]
Fix T40834, grab brush not working after recent jittering fix.

Some brushes do not require location always. Made a list here, there may
be others but I think this pretty much covers this.

6 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.

6 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)

6 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

6 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

6 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.

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

6 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.

6 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

6 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

6 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.

6 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)

6 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.

6 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.

6 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

6 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.

6 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

6 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

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

6 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

6 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..

6 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

6 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

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

6 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.

6 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 ...

6 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

6 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.

6 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.

6 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.

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

6 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

6 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

6 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.

6 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!

6 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

6 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.

6 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.

6 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

6 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.

6 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

6 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

6 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

6 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

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

6 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.

6 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.

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

6 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

6 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!

6 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!

6 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

6 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

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