6 years agoFollow-up to my last commit: Fixed a wrong property name in the versioning code.
Tamito Kajiyama [Mon, 7 Jul 2014 07:52:50 +0000 (16:52 +0900)]
Follow-up to my last commit: Fixed a wrong property name in the versioning code.

6 years agoFix T40877: Bezier Hook to New Object does not work properly
Sergey Sharybin [Mon, 7 Jul 2014 07:43:43 +0000 (13:43 +0600)]
Fix T40877: Bezier Hook to New Object does not work properly

6 years agoPer-material line color settings for Freestyle.
Tamito Kajiyama [Mon, 7 Jul 2014 06:54:46 +0000 (15:54 +0900)]
Per-material line color settings for Freestyle.

New properties 'line_color' and 'line_priority' are added to Material ID data blocks.

The 'line_color' property allows users to specify a per-material line color that can be
used as a Freestyle line color through Material color modifiers of line style settings.

The new line color property is intended to provide a solution for line color
stylization when a proper Freestyle support for Cycles is implemented (likely
as part of the upcoming Blender 2.72 release; see Patch D632).  Materials in
Cycles are usually set up using shader nodes, and Freestyle won't be capable
of retrieving colors and other properties from node-based materials any soon.

The new line color property of materials addresses this foreseen limitation by
providing artists with an intuitive alternative mean to specify line colors on a
per-material basis independently from node trees.

The 'line_priority' property gives users a way to control line colors at material
boundaries.  When a line is drawn along a feature edge at material boundaries,
one of the two materials on both sides of the edge has to be picked up to
determine the line color.  So far there was no way to control this selection
(which was in effect at random).  Now the material with a higher line color
priority will be selected.

The new per-material line settings are shown in the new Freestyle Line tab in
the Material context of the Properties window (only when Freestyle is enabled).

6 years agoCycles: Fix crash with environment maps and packed images
Sergey Sharybin [Mon, 7 Jul 2014 06:37:45 +0000 (12:37 +0600)]
Cycles: Fix crash with environment maps and packed images

6 years agoUI: tooltips, blurry and incorrect rhs-padding in recent update
Campbell Barton [Mon, 7 Jul 2014 00:43:32 +0000 (10:43 +1000)]
UI: tooltips, blurry and incorrect rhs-padding in recent update

D634 by Severin

6 years agoFix for RNA_int/enum mixup
Campbell Barton [Sun, 6 Jul 2014 10:54:08 +0000 (20:54 +1000)]
Fix for RNA_int/enum mixup

6 years agoAdd support to lasso masking/flood fill for inverted values.
Antony Riakiotakis [Sun, 6 Jul 2014 15:29:48 +0000 (18:29 +0300)]
Add support to lasso masking/flood fill for inverted values.

This can be used to subtract a region from masks but it's not very
user friendly yet. To male this work better, the tool will probably be
brushified later.

6 years agoOSX/Scons: after doublechecking. take out sdk_flags from cflags again, looks as we...
Jens Verwiebe [Sun, 6 Jul 2014 13:46:16 +0000 (15:46 +0200)]
OSX/Scons: after doublechecking. take out sdk_flags from cflags again, looks as we always get sdk properly fron ccflags in subcompiles

6 years agoOSX/scons: Try to get rid of buildproblems with openjpeg enabled in certain build...
Jens Verwiebe [Sun, 6 Jul 2014 12:10:29 +0000 (14:10 +0200)]
OSX/scons: Try to get rid of buildproblems with openjpeg enabled in certain build environments and prepend SDK_FLAGS to CFLAGS always

6 years agoCycles: Equi-Angular and MIS Volume sampling work on GPU now.
Thomas Dinges [Sun, 6 Jul 2014 11:59:52 +0000 (13:59 +0200)]
Cycles: Equi-Angular and MIS Volume sampling work on GPU now.

* malloc() is used now, which is supported since sm_20: The performance of this needs to be tested on various cards still.
* This also works for Heterogeneous Decoupled Ray Marching, but in this case I get sporadic "Illegal Address" errors on my Geforce 540, therefore I did not remove the GPU check in kernel_volume_use_decoupled() yet.

I would appreciate some tests from people who compile themselves, enable Volumetrics in kernel_types.h.

6 years agoFix T40548: After canceling, F-Curve handlers don't go back to original position.
Lukas Tönne [Sun, 6 Jul 2014 11:09:52 +0000 (13:09 +0200)]
Fix T40548: After canceling, F-Curve handlers don't go back to original position.

Handle vectors for the initial location were only stored when the handles are actually
selected for transform. When only the master vertex is moved this can still affect
the handles though, since they are constraint to one side of the master vertex.

Now the handle data is stored regardless of whether handles are included in the transform,
so on cancel their location is reset correctly as well.

6 years agoFix part of T40964: Glass shader was giving wrong results with OSL.
Thomas Dinges [Sun, 6 Jul 2014 11:07:16 +0000 (13:07 +0200)]
Fix part of T40964: Glass shader was giving wrong results with OSL.

6 years agoOutliner: Added option to RMB menu for "Animation" entries to remove these and their...
Joshua Leung [Sun, 6 Jul 2014 08:55:10 +0000 (20:55 +1200)]
Outliner: Added option to RMB menu for "Animation" entries to remove these and their data

6 years agoBugfix: Selecting object channels in NLA editor didn't make the object active
Joshua Leung [Sun, 6 Jul 2014 08:27:24 +0000 (20:27 +1200)]
Bugfix: Selecting object channels in NLA editor didn't make the object active

6 years agoCode cleanup
Joshua Leung [Sun, 6 Jul 2014 07:32:50 +0000 (19:32 +1200)]
Code cleanup

- Fixed incorrect section heading
- Missed one place where short was still used when the specific enum type would be
  more appropriate

6 years agoNLA/AnimEditors: Added operator to remove all "empty" AnimData blocks
Joshua Leung [Sun, 6 Jul 2014 07:32:01 +0000 (19:32 +1200)]
NLA/AnimEditors: Added operator to remove all "empty" AnimData blocks

It is sometimes possible to end up with a lot of datablocks which have old + unused
"AnimData" containers still attached. This most commonly happens when doing motion
graphics work (i.e. when some linked-in objects may have previously been used to develop
a set of reusable assets), and is particularly distracting in the NLA Editor.

This commit adds an operator which removes AnimData blocks (restricted to only those
which are visible in the animation editor where it is run from) which are "empty"
(i.e. that is, have no active action, drivers, and nla tracks or strips).

This operator can be found from the "Edit" menu in the NLA Editor. Although it also
works when run from the DopeSheet or Graph Editors, it is of less use there since
those won't show these empty AnimData blocks by default (since by definition, such
AnimData blocks necesarily have no keyframes or drivers that can be shown), hence
there will be no feedback if the operator fails or succeeds.

6 years agoFix for typo in comment
Joshua Leung [Fri, 4 Jul 2014 13:05:50 +0000 (01:05 +1200)]
Fix for typo in comment

6 years agoFix uninitialized bool in recent own 'sode_select_groupe' commit.
Bastien Montagne [Sat, 5 Jul 2014 15:58:21 +0000 (17:58 +0200)]
Fix uninitialized bool in recent own 'sode_select_groupe' commit.

Found by CoverityScan.

6 years agoCycles: Some tweaks to baking UI.
Thomas Dinges [Sat, 5 Jul 2014 13:39:08 +0000 (15:39 +0200)]
Cycles: Some tweaks to baking UI.

* Put Normal Settings beneath the other ones, wild button jumping should be avoided.
* Remove Cage prefix for Object and Extrusion, it's clear from the button placement, the former UI was too squeezed...

6 years agoCleanup: Typo fixes.
Thomas Dinges [Sat, 5 Jul 2014 12:25:34 +0000 (14:25 +0200)]
Cleanup: Typo fixes.

6 years agoCycles: Compile fixes for CUDA Volumetrics.
Thomas Dinges [Sat, 5 Jul 2014 00:04:07 +0000 (02:04 +0200)]
Cycles: Compile fixes for CUDA Volumetrics.
* CUDA can be compiled with Volume support again, change line 78 kernel_types.h for that.

Volumes are still fragile on GPU though, got some Memory/Address CUDA errors in tests.. needs to be investigated more deeply.

6 years agoStyle cleanup
Campbell Barton [Fri, 4 Jul 2014 19:26:32 +0000 (05:26 +1000)]
Style cleanup

6 years agoOSX: Jpeg2000 was formely handled by quicktime, after QT removal it was forgotten...
Jens Verwiebe [Fri, 4 Jul 2014 13:01:56 +0000 (15:01 +0200)]
OSX: Jpeg2000 was formely handled by quicktime, after QT removal it was forgotten to move it to openjpeg, doing this now
Note: In releases this was missing since 2.69, so we may want an ‘a’ release for 2.71

6 years agoRefactor of Node's 'Select by type' op, to also handle color and name handling.
Bastien Montagne [Fri, 4 Jul 2014 12:17:54 +0000 (14:17 +0200)]
Refactor of Node's 'Select by type' op, to also handle color and name handling.

Ne op is similar to other 'Select Grouped' ones in Blender.

Based on patch D288 by Cruentus_Nex (Steve).

Reviewed by Campbell Barton, thanks!

Revision: D288.

6 years agoAdd (r)partition funcs to BLI_string, to get left-most/right-most first occurence...
Bastien Montagne [Fri, 4 Jul 2014 12:14:06 +0000 (14:14 +0200)]
Add (r)partition funcs to BLI_string, to get left-most/right-most first occurence of delimiters.

Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs.

Reviewed by Campbell Barton, many thanks!

6 years agoInstall_deps: Final (hopefully!) fix for dual clang/cfe name (*sigh*).
Bastien Montagne [Fri, 4 Jul 2014 12:04:51 +0000 (14:04 +0200)]
Install_deps: Final (hopefully!) fix for dual clang/cfe name (*sigh*).

Patch by simonrepp (Simon Repp), thanks!

6 years agoFix T40843: Cycles does not support viewport render override
Sergey Sharybin [Fri, 4 Jul 2014 10:32:17 +0000 (16:32 +0600)]
Fix T40843: Cycles does not support viewport render override

6 years agoFix the ABIFLAGS order for detecting Python debug builds
Campbell Barton [Fri, 4 Jul 2014 10:02:58 +0000 (20:02 +1000)]
Fix the ABIFLAGS order for detecting Python debug builds

D631 by mva

6 years agoFix T40941: Bevel factor in Text
Sergey Sharybin [Fri, 4 Jul 2014 09:11:51 +0000 (15:11 +0600)]
Fix T40941: Bevel factor in Text

Bevel factor is not supported by text, hide it from the interface.

6 years agoFix for a wrong threads count shown in Freestyle debug mode (--debug-freestyle).
Tamito Kajiyama [Fri, 4 Jul 2014 06:18:06 +0000 (15:18 +0900)]
Fix for a wrong threads count shown in Freestyle debug mode (--debug-freestyle).

6 years agoBugfix T40945: Typo in tooltip for SSS property
Joshua Leung [Fri, 4 Jul 2014 04:35:54 +0000 (16:35 +1200)]
Bugfix T40945: Typo in tooltip for SSS property

6 years agocloth: Speed up collision detection
Sergej Reich [Thu, 3 Jul 2014 19:40:04 +0000 (21:40 +0200)]
cloth: Speed up collision detection

Noticed this while looking into something else.
The change is trivial, but gives a rather nice preformance improvement,
so why not.
Theres's actually a lot one can do to improve collision performance if
one wanted to, the triangle-triangle check alone has a lot of room for

6 years agoSelect Grouped -> KeyingSet for bones also shows error messages now when the Keying...
Joshua Leung [Thu, 26 Jun 2014 04:46:19 +0000 (16:46 +1200)]
Select Grouped -> KeyingSet for bones also shows error messages now when the Keying Set is inappropriate

6 years agoCode Cleanup - Replaced magic numbers with defines
Joshua Leung [Thu, 26 Jun 2014 04:40:35 +0000 (16:40 +1200)]
Code Cleanup - Replaced magic numbers with defines

6 years agoMake Cursor placement operation a modal operator.
Antony Riakiotakis [Thu, 3 Jul 2014 10:04:29 +0000 (13:04 +0300)]
Make Cursor placement operation a modal operator.

* Allows drag and place workflow in addition to click workflow
* Should be compatible with future use of calling operator and placing
instead of left-clicking

6 years agoFix T39825: Crash on startup with tablet
Campbell Barton [Thu, 3 Jul 2014 06:31:04 +0000 (16:31 +1000)]
Fix T39825: Crash on startup with tablet

6 years agoSlight cleanup for 4af848e.
Mitchell Stokes [Thu, 3 Jul 2014 05:55:39 +0000 (22:55 -0700)]
Slight cleanup for 4af848e.

6 years agoFix T40923: An error from a python controller on a LibFreed object causes a crash
Mitchell Stokes [Thu, 3 Jul 2014 04:55:29 +0000 (21:55 -0700)]
Fix T40923: An error from a python controller on a LibFreed object causes a crash

6 years agoCorrect version check for tip color
Campbell Barton [Thu, 3 Jul 2014 04:45:50 +0000 (14:45 +1000)]
Correct version check for tip color

6 years agoFix T40912: Collision Callbacks Don't Work if Set Directly
Mitchell Stokes [Thu, 3 Jul 2014 03:15:36 +0000 (20:15 -0700)]
Fix T40912: Collision Callbacks Don't Work if Set Directly

6 years agoFollow-up to rBcc1372546ad5: Fix for segmentation fault in pipeline (freestyle/wm...
Tamito Kajiyama [Thu, 3 Jul 2014 02:09:11 +0000 (11:09 +0900)]
Follow-up to rBcc1372546ad5: Fix for segmentation fault in pipeline (freestyle/wm related).

Render->freestyle_bmain is set to NULL after BKE_main_free() so that
the struct Main is not considered for tagging any longer.

6 years agoMistake in last commit
Campbell Barton [Wed, 2 Jul 2014 21:40:40 +0000 (07:40 +1000)]
Mistake in last commit

6 years agoCorrect recent fix for knife in camera ortho mode
Campbell Barton [Wed, 2 Jul 2014 19:39:22 +0000 (05:39 +1000)]
Correct recent fix for knife in camera ortho mode

now use real view clip ranges for win-to-ray segment

6 years agoFix scons unable to build with sources tar archive (no git repo available in this...
Bastien Montagne [Wed, 2 Jul 2014 18:29:50 +0000 (20:29 +0200)]
Fix scons unable to build with sources tar archive (no git repo available in this case).

Reported by Clouclou over IRC, thanks!

6 years agoFix T40823 LoD Add and Remove crash without valid object
Daniel Stokes [Wed, 2 Jul 2014 13:09:50 +0000 (06:09 -0700)]
Fix T40823 LoD Add and Remove crash without valid object

Changed the polling method used for both the add and remove LoD operators
to a more appropriate one.

6 years agoFix T40815: Particle birth times not initialized correctly.
Lukas Tönne [Wed, 2 Jul 2014 10:17:43 +0000 (12:17 +0200)]
Fix T40815: Particle birth times not initialized correctly.

In rB78c491e the `initialize_particle` function was split into 2 parts for particle texture initialization.
The texture init part however also initializes birth times, which is now missing in the main init function
in some cases (notably when setting start/end directly without a subsequent time step).

6 years agoFix T40364: Texture images are not properly displayed in the material preview in...
Sergey Sharybin [Wed, 2 Jul 2014 07:59:49 +0000 (13:59 +0600)]
Fix T40364: Texture images are not properly displayed in the material preview in BI when using SSS

Blender Internal only uses materials with non-zero user counter for SSS and new
mutable libblock copy was keeping users counter at zero.

Now it sets user counter to 1, which is a bit of arguable decision, but which
also kind of makes sense -- meaning callee owns the copied block.

6 years agoAdded missing G_DEBUG_DEPSGRAPH flag entry in the getters/setters list.
Lukas Tönne [Tue, 1 Jul 2014 08:10:51 +0000 (10:10 +0200)]
Added missing G_DEBUG_DEPSGRAPH flag entry in the getters/setters list.

6 years agoCycles: Update CUDA error messages, based on Toolkit 6.0.
Thomas Dinges [Tue, 1 Jul 2014 23:50:42 +0000 (01:50 +0200)]
Cycles: Update CUDA error messages, based on Toolkit 6.0.

* Removed deprecated erros, and added some new ones, which might help to figure out problems in the future.

6 years agoCleanup: Remove unused checks in CUDA device code.
Thomas Dinges [Tue, 1 Jul 2014 23:12:13 +0000 (01:12 +0200)]
Cleanup: Remove unused checks in CUDA device code.

6 years agoCleanup: Update list and remove ifdef here.
Thomas Dinges [Tue, 1 Jul 2014 22:58:06 +0000 (00:58 +0200)]
Cleanup: Update list and remove ifdef here.

6 years agoFix T40257: Frustum culling not working properly
Mitchell Stokes [Tue, 1 Jul 2014 19:39:17 +0000 (12:39 -0700)]
Fix T40257: Frustum culling not working properly

Adding a hack so that KX_GameObjects' culling status is updated based on
mesh slots.

6 years agoFix for segmentation fault in pipeline (freestyle/wm related)
Jeroen Bakker [Tue, 1 Jul 2014 17:43:52 +0000 (19:43 +0200)]
Fix for segmentation fault in pipeline (freestyle/wm related)

6 years agoFix T40903: Rendering: Alpha Channel is Broken
Sergey Sharybin [Tue, 1 Jul 2014 16:11:44 +0000 (22:11 +0600)]
Fix T40903: Rendering: Alpha Channel is Broken

6 years agoSecond attempt to fix T40833: Crash when rendering with freestyle.
Tamito Kajiyama [Tue, 1 Jul 2014 14:35:09 +0000 (23:35 +0900)]
Second attempt to fix T40833: Crash when rendering with freestyle.

The cause of the crash was identified in an uninitialized member variable
`Main->lock`.  Now that struct Main has a few member variables whose
values are dynamically allocated, per-render Freestyle-specific Main data
structures will be allocated and released using `BKE_main_new()` and
`BKE_main_free()`, respectively.

This revision complements the commit rB6135556f4556.

6 years agoFix T40556: Curve Modifier does not work when used in a Background scene
Sergey Sharybin [Tue, 1 Jul 2014 11:46:55 +0000 (17:46 +0600)]
Fix T40556: Curve Modifier does not work when used in a Background scene

A bit hackish solution for now, cleaner solution we'll look into as a
part of the new DAG project, when it's clear what kind of data is passed
to the evaluation callbacks.

6 years agoFix T40888: Memory error when selecting Cycles render engine
Sergey Sharybin [Tue, 1 Jul 2014 09:43:37 +0000 (15:43 +0600)]
Fix T40888: Memory error when selecting Cycles render engine

6 years agoCode cleanup: use scene variable rather then calling CTX_data_scene
Campbell Barton [Tue, 1 Jul 2014 08:51:54 +0000 (18:51 +1000)]
Code cleanup: use scene variable rather then calling CTX_data_scene

6 years agoCorrect enum size incase compiler makes enum signed
Campbell Barton [Tue, 1 Jul 2014 08:36:28 +0000 (18:36 +1000)]
Correct enum size incase compiler makes enum signed

6 years agoFix T40895: Curves panel, zooming out a lot crashes Blender
Sergey Sharybin [Tue, 1 Jul 2014 07:22:55 +0000 (13:22 +0600)]
Fix T40895: Curves panel, zooming out a lot crashes Blender

6 years agoFix strict flags compilation
Sergey Sharybin [Tue, 1 Jul 2014 07:07:18 +0000 (13:07 +0600)]
Fix strict flags compilation

6 years agoCode cleanup: use enum for setup_app_data
Campbell Barton [Tue, 1 Jul 2014 07:03:16 +0000 (17:03 +1000)]
Code cleanup: use enum for setup_app_data

6 years agoFix T40065: Pressing Esc in separate render result window does not focus main window.
Tamito Kajiyama [Tue, 1 Jul 2014 06:01:02 +0000 (15:01 +0900)]
Fix T40065: Pressing Esc in separate render result window does not focus main window.

The problem is that the render window keeps keybord input focus even after it has been
lowered. Windows maintains the Z-order of windows, so the present solution is to raise
the window that has been just below the render window.

Differential revision:
Reviewed by: campbellbarton

6 years agoPython: remove redundant casts
Campbell Barton [Tue, 1 Jul 2014 03:39:36 +0000 (13:39 +1000)]
Python: remove redundant casts

6 years agoFix T40761: Bone constraints broken in the BGE
Mitchell Stokes [Tue, 1 Jul 2014 03:59:15 +0000 (20:59 -0700)]
Fix T40761: Bone constraints broken in the BGE

Extra bonus: calculating bone constraints now happens parallel!

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:

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

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: