4 years agoMath Lib: update API usage info
Campbell Barton [Fri, 22 May 2015 08:38:13 +0000 (18:38 +1000)]
Math Lib: update API usage info

4 years agoFix (unreported) broken RNA Image pack handling since multiview merge.
Bastien Montagne [Fri, 22 May 2015 21:28:41 +0000 (23:28 +0200)]
Fix (unreported) broken RNA Image pack handling since multiview merge.

Was breaking loading of embedded FBX images (among other things, most likely).

4 years agoFix second crashing part of T44497, out of bounds access to hook
Antony Riakiotakis [Fri, 22 May 2015 14:59:01 +0000 (16:59 +0200)]
Fix second crashing part of T44497, out of bounds access to hook
modifier data.

Unfortunately seems like we also lose the hook mapping by doing this,
but this can be fixed later and is probably a separate issue.

4 years agoBGE: grey out Alpha and Specular sliders when Transparency panel is
Jorge Bernal [Fri, 22 May 2015 14:03:38 +0000 (16:03 +0200)]
BGE: grey out Alpha and Specular sliders when Transparency panel is

4 years agoCycles: Restructure kernel files organization
Sergey Sharybin [Thu, 21 May 2015 12:40:04 +0000 (17:40 +0500)]
Cycles: Restructure kernel files organization

Since the kernel split work we're now having quite a few of new files, majority
of which are related on the kernel entry points. Keeping those files in the
root kernel folder will eventually make it really hard to follow which files are
actual implementation of Cycles kernel.

Those files are now moved to kernel/kernels/<device_type>. This way adding extra
entry points will be less noisy. It is also nice to have all device-specific
files grouped together.

Another change is in the way how split kernel invokes logic. Previously all the
logic was implemented directly in the .cl files, which makes it a bit tricky to
re-use the logic across other devices. Since we'll likely be looking into doing
same split work for CUDA devices eventually it makes sense to move logic from
.cl files to header files. Those files are stored in kernel/split. This does not
mean the header files will not give error messages when tried to be included
from other devices and their arguments will likely be changed, but having such
separation is a good start anyway.

There should be no functional changes.

Reviewers: juicyfruit, dingto

Differential Revision:

4 years agoSCons: Don't install SConscript into Cycles kernel folder
Sergey Sharybin [Fri, 22 May 2015 11:00:01 +0000 (16:00 +0500)]
SCons: Don't install SConscript into Cycles kernel folder

4 years agoFix T44801: Blender crash in UV-editor.
Bastien Montagne [Fri, 22 May 2015 08:47:56 +0000 (10:47 +0200)]
Fix T44801: Blender crash in UV-editor.

Mistake in cleanup rB30b45d55... Odd compiler did not yell at that. :|

4 years agoFix for join faces ignoring angle limit
Campbell Barton [Fri, 22 May 2015 08:12:54 +0000 (18:12 +1000)]
Fix for join faces ignoring angle limit

Angle limit for join-faces was more advice then actual limit.
Now joining entire selection, gives assurance that no faces above the limit will be merged.

The purpose of this was to allow users to isolate 2 faces and always join them.
Instead, support this by bypassing limit only when its not set and 2 faces are selected.

4 years agoBMesh: extrude region didnt copy edge flags
Campbell Barton [Fri, 22 May 2015 00:56:54 +0000 (10:56 +1000)]
BMesh: extrude region didnt copy edge flags

Newly created edges around regions wouldn't get the edge flags from surrounding geometry.

4 years agoCycles: Remove TM / R and whitespace from OpenCL device names.
Thomas Dinges [Thu, 21 May 2015 21:43:18 +0000 (23:43 +0200)]
Cycles: Remove TM / R and whitespace from OpenCL device names.

Was already done for CPU devices, now we also do this for OpenCL.

4 years agoCleanup: Remove some outdated comments related to split kernel.
Thomas Dinges [Thu, 21 May 2015 18:29:05 +0000 (20:29 +0200)]
Cleanup: Remove some outdated comments related to split kernel.

4 years agoFix T44744, tangents incorrect in edit mode.
Antony Riakiotakis [Thu, 21 May 2015 18:28:17 +0000 (20:28 +0200)]
Fix T44744, tangents incorrect in edit mode.

Really bad code here, index of fetched data was basically totally off
and unrelated to what it should be.

4 years agoYet another crappy Intel driver added for correct SSAO support.
Antony Riakiotakis [Thu, 21 May 2015 16:37:48 +0000 (18:37 +0200)]
Yet another crappy Intel driver added for correct SSAO support.

4 years agoFix crash in blenderplayer when scrubbing off screen.
Antony Riakiotakis [Thu, 21 May 2015 15:37:11 +0000 (17:37 +0200)]
Fix crash in blenderplayer when scrubbing off screen.

Was cache referencing deleted or NULL items.

Reported by Kopias on irc

4 years agoFix T44778 missing specular transparency slider in game engine
Antony Riakiotakis [Thu, 21 May 2015 14:37:37 +0000 (16:37 +0200)]
Fix T44778 missing specular transparency slider in game engine

4 years agoFix T44791 triangles when painting on a texpaint plane
Antony Riakiotakis [Thu, 21 May 2015 14:06:24 +0000 (16:06 +0200)]
Fix T44791 triangles when painting on a texpaint plane

Problem was float precision issues across tile boundaries. Since we are
comparing pixels, give a small tolerance when comparing clipped vertices
against triangle lines.

4 years agoSCons: Fix for missing avx and avx2 cycles kernels
Sergey Sharybin [Thu, 21 May 2015 13:45:49 +0000 (18:45 +0500)]
SCons: Fix for missing avx and avx2 cycles kernels

SCons was checking for a particular compiler version to see whether compiler
flags are available or not, but compiler ID was only set on OSX.

Now it should be set on Linux as well.

4 years agoGPencil Eraser Size-Saving Fix
Joshua Leung [Thu, 21 May 2015 13:20:48 +0000 (01:20 +1200)]
GPencil Eraser Size-Saving Fix

On second thought, the eraser size should be saved even if the brush type is not
eraser, as we can toggle this now.

4 years agoFix T44774: Grease Pencil eraser size reset after exiting session
Joshua Leung [Wed, 20 May 2015 01:56:01 +0000 (13:56 +1200)]
Fix T44774: Grease Pencil eraser size reset after exiting session

Previously, it would only save the eraser size if the session ended properly,
instead of being cancelled. However, that wouldn't happen if exiting the session
using Esc.

4 years agoBMesh: decrease decimate epsilon
Campbell Barton [Thu, 21 May 2015 12:38:23 +0000 (22:38 +1000)]
BMesh: decrease decimate epsilon

Since using doubles to calculate cost,
using topology fallback cost isn't needed as much.

4 years agoFix T44795: same menu item for different command in node editor.
Bastien Montagne [Thu, 21 May 2015 11:18:42 +0000 (13:18 +0200)]
Fix T44795: same menu item for different command in node editor.

We have too much of those cases in our UI, if we want to keep operators doing
several similar/related but yet different tasks, we should have a real way to
support it on label/icon/tip side too. Easier to say than to do though. :|

4 years agoCycles: Remove OSL from split headers
Sergey Sharybin [Thu, 21 May 2015 11:12:09 +0000 (16:12 +0500)]
Cycles: Remove OSL from split headers

Split kernel is mainly useful for GPUs which can not support OSL in visible
future anyway.

4 years agoCycles: Move utility atomics function to util_atomic.h
Sergey Sharybin [Thu, 21 May 2015 10:48:50 +0000 (15:48 +0500)]
Cycles: Move utility atomics function to util_atomic.h

No functional changes, just better to keep all atomic function in a single place,
they might become handy later.

4 years agoFix T44780: Decimate planar creates concave edges
Campbell Barton [Thu, 21 May 2015 11:00:27 +0000 (21:00 +1000)]
Fix T44780: Decimate planar creates concave edges

Float precision was causing problems for decimate,
small faces that create a nearly flat surface were detected as having no 'cost' to collapse.

4 years agoMath Lib: double versions of vector funcs
Campbell Barton [Thu, 21 May 2015 10:59:08 +0000 (20:59 +1000)]
Math Lib: double versions of vector funcs

- add_vn_vn_d
- add_vn_vnvn_d
- mul_vn_db

4 years agoFix T44794: Blend From Shape tool X Icon UI Bug?
Bastien Montagne [Thu, 21 May 2015 10:00:31 +0000 (12:00 +0200)]
Fix T44794: Blend From Shape tool X Icon UI Bug?

Note: maybe we could even make `RNA_property_is_unlink()` always return false
for enum properties? But well, guess being explicit here does not hurt...

4 years agoCycles: CYCLES_OPRNCL_DEBUG now affects on split kernel as well
Sergey Sharybin [Thu, 21 May 2015 09:30:33 +0000 (14:30 +0500)]
Cycles: CYCLES_OPRNCL_DEBUG now affects on split kernel as well

4 years agoCycles: Restore some lost custom cflags passed to the kernel compilation
Sergey Sharybin [Thu, 21 May 2015 09:05:53 +0000 (14:05 +0500)]
Cycles: Restore some lost custom cflags passed to the kernel compilation

They were lost during simplification of kernel loading but might be rather
crucial for the performance.

Also made it so cflags are shared across kernels. Surely it might lead to
some unwanted kernel re-compilation but at the same time they might easily
run out of sync with the changes in kernel and so.

4 years agoBMesh: decimate improvement for flat surfaces
Campbell Barton [Thu, 21 May 2015 06:41:08 +0000 (16:41 +1000)]
BMesh: decimate improvement for flat surfaces

Previously decimate on flat areas of a mesh would more or less randomly collapse edges.
(giving bad topology).

This commit includes a topology 'cost', so smaller edges on flat surfaces collapse first.

4 years agoFix mesh mirror failing on isolated verts
Campbell Barton [Thu, 21 May 2015 03:01:44 +0000 (13:01 +1000)]
Fix mesh mirror failing on isolated verts

4 years agoUI: Use Ctrl+Wheel to cycle values
Campbell Barton [Thu, 21 May 2015 01:04:57 +0000 (11:04 +1000)]
UI: Use Ctrl+Wheel to cycle values

Conflicted with Alt for editing multiple values.
This could also conflict with global frame change at times.

4 years agoUI: ignore mouse wheel while editing text
Campbell Barton [Thu, 21 May 2015 00:46:22 +0000 (10:46 +1000)]
UI: ignore mouse wheel while editing text

Mouse wheel was used as home/end.
Was annoying since it could happen by accident.

4 years agoFix: GPU_shader_export fails /w some lamp attrs
Campbell Barton [Wed, 20 May 2015 22:08:27 +0000 (08:08 +1000)]
Fix: GPU_shader_export fails /w some lamp attrs

first/last vars missed some values.

D1309 by @NHA

4 years agoCycles: Cleanup, synchronize name across file name, program and kernel names
Sergey Sharybin [Wed, 20 May 2015 11:59:28 +0000 (16:59 +0500)]
Cycles: Cleanup, synchronize name across file name, program and kernel names

4 years agoCycles: Simplify code around kernel loading
Sergey Sharybin [Wed, 20 May 2015 11:29:24 +0000 (16:29 +0500)]
Cycles: Simplify code around kernel loading

4 years agoBGE: Some changes for the constraint document
Thomas Szepe [Wed, 20 May 2015 16:49:18 +0000 (18:49 +0200)]
BGE: Some changes for the constraint document

* Change the constraint type alignment to vertical.
* Changed PHY_CONE_TWIST_CONSTRAINT to the correct value.
* Some minor changes.

4 years agoBGE: Remove chapter in KX_WorldInfo python API
Thomas Szepe [Wed, 20 May 2015 16:36:02 +0000 (18:36 +0200)]
BGE: Remove chapter in KX_WorldInfo python API

4 years agoCycles standalone, add device type in output listing
Martijn Berger [Wed, 20 May 2015 15:10:24 +0000 (17:10 +0200)]
Cycles standalone, add device type in output listing

4 years agoBMesh: decimate, test for face flip was too low
Campbell Barton [Wed, 20 May 2015 13:35:39 +0000 (23:35 +1000)]
BMesh: decimate, test for face flip was too low

Created overlapping faces in T44780

4 years agoBMesh: decimate wasn't using face/edge centers
Campbell Barton [Wed, 20 May 2015 13:28:56 +0000 (23:28 +1000)]
BMesh: decimate wasn't using face/edge centers

When calculating quadrics, using the first-vertex isn't correct.

4 years agoMovie Clip: Invlaidate clip cache when changing timecode
Sergey Sharybin [Wed, 20 May 2015 12:52:27 +0000 (17:52 +0500)]
Movie Clip: Invlaidate clip cache when changing timecode

4 years agoClip Editor: Make it more obvious that Rebuild Proxy also rebuilds Timecode
Sergey Sharybin [Wed, 20 May 2015 12:45:41 +0000 (17:45 +0500)]
Clip Editor: Make it more obvious that Rebuild Proxy also rebuilds Timecode

4 years agoFix T44717: use_negative_frames ignored /w graph-editor
Campbell Barton [Wed, 20 May 2015 10:01:33 +0000 (20:01 +1000)]
Fix T44717: use_negative_frames ignored /w graph-editor

D1303 by @barfot

4 years agoAdd dedicated command argument to switch depsgraph to a single-threaded evaluation
Sergey Sharybin [Wed, 20 May 2015 10:45:43 +0000 (15:45 +0500)]
Add dedicated command argument to switch depsgraph to a single-threaded evaluation

This way it is possible to have single threaded depsgraph but threaded other areas
which is handy for torubleshooting.

he argument is: --debug-depsgraph-no-threads

4 years agoFix reserve frames in sequencer failing with big frame ranges.
Antony Riakiotakis [Wed, 20 May 2015 10:41:37 +0000 (12:41 +0200)]
Fix reserve frames in sequencer failing with big frame ranges.

Detect frame range automatically from number of digits.

4 years agoSend color managed signal if input spaces changes during image saving
Sergey Sharybin [Wed, 20 May 2015 10:33:30 +0000 (15:33 +0500)]
Send color managed signal if input spaces changes during image saving

We're currently only supporting save to a default format color space, which
makes it a bit tricky to prevent ImBuf from being changed.

For until when saving to a custom colorspace works we'll just reload image
if the space changes.

4 years agoAtomic operations: Add function declarations at the top of the header
Sergey Sharybin [Wed, 20 May 2015 06:57:17 +0000 (11:57 +0500)]
Atomic operations: Add function declarations at the top of the header

No functional changes, just helps grasping what operations are actually

4 years agodoxygen: corrections/updates
Campbell Barton [Wed, 20 May 2015 02:54:45 +0000 (12:54 +1000)]
doxygen: corrections/updates

Also add depsgraph & physics

4 years agodoxygen: update config
Campbell Barton [Wed, 20 May 2015 04:08:09 +0000 (14:08 +1000)]
doxygen: update config

4 years agodoxygen: rename included files (they were ignored)
Campbell Barton [Wed, 20 May 2015 02:55:57 +0000 (12:55 +1000)]
doxygen: rename included files (they were ignored)

4 years agoBGE: Use CameCase code style for KX_WorldInfo python API.
Porteries Tristan [Tue, 19 May 2015 21:13:30 +0000 (23:13 +0200)]
BGE: Use CameCase code style for KX_WorldInfo python API.

4 years agoBGE: Fix T40555: LibLoad material caching issue
Porteries Tristan [Tue, 19 May 2015 17:24:14 +0000 (19:24 +0200)]
BGE: Fix T40555: LibLoad material caching issue

Previously we don't merge material cached list, it create dangling pointer and memory leak.
Now we merge material cache list during the scene merge, and remove material in this list during the library free.

Reviewers: agoose77, dfelinto, hg1, pgi, campbellbarton, moguri

Reviewed By: campbellbarton, moguri

Subscribers: campbellbarton, youle, kupoman

Projects: #game_engine

Differential Revision:

4 years agoSupport string metadata loading for OpenEXR files.
Antony Riakiotakis [Tue, 19 May 2015 16:32:41 +0000 (18:32 +0200)]
Support string metadata loading for OpenEXR files.

4 years agoFix part of T44768 Yet another Intel driver failing on viewport Ambient
Antony Riakiotakis [Tue, 19 May 2015 14:25:42 +0000 (16:25 +0200)]
Fix part of T44768 Yet another Intel driver failing on viewport Ambient

(Maybe we should add drivers that DO work instead, but in the future
those will be much more since Intel claims to have fixed the issue)

4 years agoClear animation list to avoid referencing freed memory.
Antony Riakiotakis [Tue, 19 May 2015 14:15:38 +0000 (16:15 +0200)]
Clear animation list to avoid referencing freed memory.

4 years agoFix T44766: Connect fails /w selected ngon edges
Campbell Barton [Tue, 19 May 2015 13:46:31 +0000 (23:46 +1000)]
Fix T44766: Connect fails /w selected ngon edges

4 years agoBMesh: calls to store selection at the list head
Campbell Barton [Tue, 19 May 2015 13:42:22 +0000 (23:42 +1000)]
BMesh: calls to store selection at the list head

4 years agoBMesh: add BM_edge_pair_share_face_by_len
Campbell Barton [Tue, 19 May 2015 13:41:13 +0000 (23:41 +1000)]
BMesh: add BM_edge_pair_share_face_by_len

4 years agoFix T44755 set_value node output in node tree not properly converted to
Antony Riakiotakis [Tue, 19 May 2015 13:35:33 +0000 (15:35 +0200)]
Fix T44755 set_value node output in node tree not properly converted to
color in GLSL

Issue here is that intermediate result was clipped as an optimization in
such nodes and thus not converted to the correct type properly. Now only
clip those values if types match.
This keeps both the optimization and the conversion. I looked at
converting uniform types always but it's more involved to compare types
at conversion time for such links because the type was getting
overridden during link duplication.

4 years agoFix T44553.
Antony Riakiotakis [Tue, 19 May 2015 09:48:05 +0000 (11:48 +0200)]
Fix T44553.

Front face option did not get the correct normals to function - area
normal would always point to the direction of the stroke

4 years agoFix T44762: Materials flicker in edit-mode
Campbell Barton [Tue, 19 May 2015 09:09:35 +0000 (19:09 +1000)]
Fix T44762: Materials flicker in edit-mode

4 years agoFix T44759: Blender has problems reading and writing 42k images to PNG
Sergey Sharybin [Tue, 19 May 2015 08:02:17 +0000 (13:02 +0500)]
Fix T44759: Blender has problems reading and writing 42k images to PNG

4 years agoObject Drawing: avoid redundant material update
Campbell Barton [Tue, 19 May 2015 07:58:24 +0000 (17:58 +1000)]
Object Drawing: avoid redundant material update

4 years agoBMesh: editmode drawing set every faces material
Campbell Barton [Tue, 19 May 2015 07:54:47 +0000 (17:54 +1000)]
BMesh: editmode drawing set every faces material

Check for changes in material (as other drawing code already does)

4 years agoCycles: Check for validity of the tiles arrays in progressive refine
Sergey Sharybin [Tue, 19 May 2015 07:31:37 +0000 (12:31 +0500)]
Cycles: Check for validity of the tiles arrays in progressive refine

In certain configurations (for example when start resolution is set to small
value for background render and progressive refine enabled) number of tiles
might change in the tile manager. This situation will confuse progressive
refine feature and likely cause crash.

We might also add some settings verification in the session constructor, but
having an assert with brief explanation about what's wrong should already be
much better than nothing.

4 years agoCycles: Check for whether update/write callbacks are set prior to calling them
Sergey Sharybin [Tue, 19 May 2015 07:28:49 +0000 (12:28 +0500)]
Cycles: Check for whether update/write callbacks are set prior to calling them

This changes the progressive refine part, regular update was already checking
for whether callbacks are set.

4 years agoSCons: install Python executable when its bundled
Campbell Barton [Tue, 19 May 2015 06:17:49 +0000 (16:17 +1000)]
SCons: install Python executable when its bundled

4 years agoCMake: install Python executable when its bundled
Campbell Barton [Tue, 19 May 2015 05:56:28 +0000 (15:56 +1000)]
CMake: install Python executable when its bundled

4 years agoPython: search for 'python' and 'python#.#'
Campbell Barton [Tue, 19 May 2015 05:55:31 +0000 (15:55 +1000)]
Python: search for 'python' and 'python#.#'

4 years agoCMake: remove temp assignment, unused vars
Campbell Barton [Tue, 19 May 2015 06:26:03 +0000 (16:26 +1000)]
CMake: remove temp assignment, unused vars

4 years agoBuilding without Python works again
Campbell Barton [Tue, 19 May 2015 01:34:52 +0000 (11:34 +1000)]
Building without Python works again

4 years agoFinal solution for Intel card Ambient Occlusion in T43987.
Antony Riakiotakis [Mon, 18 May 2015 20:05:38 +0000 (22:05 +0200)]
Final solution for Intel card Ambient Occlusion in T43987.

Forgot to account for offscreen case in addition to compositing

4 years agoFix T44708: UI label should use plural
Julian Eisel [Mon, 18 May 2015 19:29:57 +0000 (21:29 +0200)]
Fix T44708: UI label should use plural

Just to keep commit ratio up while being busy preparing for final exams

4 years agoBGE: Fix blenderplayer bad call stubs not updated.
Porteries Tristan [Mon, 18 May 2015 16:52:45 +0000 (18:52 +0200)]
BGE: Fix blenderplayer bad call stubs not updated.

Please (dfelinto) compile the bge to avoid these kind of problems.

4 years agoBGE: Set default envMap resolution to 512 pixels
Porteries Tristan [Mon, 18 May 2015 16:10:03 +0000 (18:10 +0200)]
BGE: Set default envMap resolution to 512 pixels

I propose to change  the environment map render default resolution (600) to 512 (Thanks brecht for the correction... I don't know why I said dpi) (to make it compatible with this script: ) to make cubeMap reflections easier and avoid this error:

invalid envmap size please render with CubeRes @ power of two
unable to initialize image(0) in MAMaterial, image will not be available (post 11)

Author : youle (Ulysse MARTIN)

Reviewers: hg1, agoose77, lordloki, moguri, panzergame, dfelinto

Reviewed By: panzergame, dfelinto

Subscribers: brecht

Projects: #game_engine

Differential Revision:

4 years agoMulti-View: small cleranup/refactor with RE_pass_find_by_type and RE_RenderLayerGetPass
Dalai Felinto [Mon, 18 May 2015 13:57:59 +0000 (10:57 -0300)]
Multi-View: small cleranup/refactor with RE_pass_find_by_type and RE_RenderLayerGetPass

4 years agoFix T44752: Clip Editor doesn't respect ColorSpace setting when playback after Prefetch
Sergey Sharybin [Mon, 18 May 2015 11:40:12 +0000 (16:40 +0500)]
Fix T44752: Clip Editor doesn't respect ColorSpace setting when playback after Prefetch

4 years agoSolve threading conflict related on proxy group's inverse matrix
Sergey Sharybin [Mon, 18 May 2015 09:06:46 +0000 (14:06 +0500)]
Solve threading conflict related on proxy group's inverse matrix

It was possible that two threads will start calculating proxy group's inverted
matrix and store it in the object itself. This isn't good idea because it means
some threads might be using partially written matrix.

4 years agoMake object material drivers evaluation thread safe
Sergey Sharybin [Mon, 18 May 2015 08:53:48 +0000 (13:53 +0500)]
Make object material drivers evaluation thread safe

Previously it was very easy to run into situation when two objects are sharing
the same materials with drivers which will cause threading access issues.

This actually only needed for the old depsgraph, but since it's still the one
we're using by default we'd better solve this issue.

4 years agoAttempt to make drivers more safe for threading
Sergey Sharybin [Mon, 18 May 2015 08:52:01 +0000 (13:52 +0500)]
Attempt to make drivers more safe for threading

There were some reported data race conditions in the python interpreter which
seems to be rather valid.

Surely this is not very pretty solution, but it might solve some annoying bugs
related on threading.

4 years agoCorrection to early output in the parallel range implementation
Sergey Sharybin [Mon, 18 May 2015 07:44:59 +0000 (12:44 +0500)]
Correction to early output in the parallel range implementation

The used heuristic of checking the value prior to lock is not totally safe
because assignment is not atomic and check might not give proper result.

4 years agoMake switching to threaded malloc safe to be called from threads
Sergey Sharybin [Mon, 18 May 2015 07:41:51 +0000 (12:41 +0500)]
Make switching to threaded malloc safe to be called from threads

For a long time this function was only intended to be used from the main thread,
but since out implementation of parallel range (which is currently only used by
mesh deform modifier) we might want to switch to threaded alloc from object
update thread.

Now we're using spinlock around the check, which makes the code safe to be used
from all over the place.

We might consider using a bit of atomics operations magic there, but it's not so
much important for now, this code is not used in the performance critical code

4 years agoFilebrowser: Do not intent to draw empty strings, loss of time.
Bastien Montagne [Mon, 18 May 2015 11:02:05 +0000 (13:02 +0200)]
Filebrowser: Do not intent to draw empty strings, loss of time.

Fixes assert raised in `UI_text_clip_middle_ex()` when trying to draw (empty) 'size' string
for appended/linked blender datablocks.

4 years agoFix assert in outliner regarding WM and SCR ID types...
Bastien Montagne [Mon, 18 May 2015 10:53:06 +0000 (12:53 +0200)]
Fix assert in outliner regarding WM and SCR ID types...

4 years agoFix T44553: Dyntopo ignores front-face option
Campbell Barton [Mon, 18 May 2015 08:22:31 +0000 (18:22 +1000)]
Fix T44553: Dyntopo ignores front-face option

When 'Front Faces' brush option was enabled, dyntop would still adjust detail on back-faces.

4 years agoCleanup: use const for Imbuf file types
Campbell Barton [Mon, 18 May 2015 06:26:45 +0000 (16:26 +1000)]
Cleanup: use const for Imbuf file types

4 years agoFix T44543: painted texture lost after first save
Campbell Barton [Mon, 18 May 2015 03:42:47 +0000 (13:42 +1000)]
Fix T44543: painted texture lost after first save

Fix for T36639 caused all path changes to reload (which could loose user content).

Change behavior:

- Only reload data when a flag is explicitly passed
  (currently only used by Find Files operator)
- Don't reload images which have been painted onto and not saved (dirty flag set).

4 years agoFix multi-drag & multi-select, Alt press mid-drag
Campbell Barton [Mon, 18 May 2015 01:50:36 +0000 (11:50 +1000)]
Fix multi-drag & multi-select, Alt press mid-drag

This would enable multi-value-editing in the middle of the drag action.

4 years agoFix T44707: cycles border render regression
Sv. Lockal [Mon, 18 May 2015 01:37:19 +0000 (11:37 +1000)]
Fix T44707: cycles border render regression

4 years agoUI: errors in buttons now show in info report
Campbell Barton [Sun, 17 May 2015 23:12:26 +0000 (09:12 +1000)]
UI: errors in buttons now show in info report

Mistakes in button expressions were previously only printed to the console.

4 years agoChange behavior of cycles xml to conform the spec: "Each XML document has exactly...
Martijn Berger [Sun, 17 May 2015 21:41:38 +0000 (23:41 +0200)]
Change behavior of cycles xml to conform the spec: "Each XML document has exactly one single root element"

4 years agoBGE: Fix T42244 LibLoad crash with logic brick KX_TouchSensor
Porteries Tristan [Sat, 16 May 2015 19:04:14 +0000 (21:04 +0200)]
BGE: Fix T42244 LibLoad crash with logic brick KX_TouchSensor

I remove duplicate and wrong code which treat the special case of KX_TouchSensor.
And Also the re-conversion of linked logic brick.

4 years agoFix Node Editor using wrong snap element menu when called from shortcut
Julian Eisel [Sun, 17 May 2015 17:46:56 +0000 (19:46 +0200)]
Fix Node Editor using wrong snap element menu when called from shortcut

Kudos to @kopias for notifying me :)

4 years agoCycles: Enable advanced shading on AMD / OpenCL.
Thomas Dinges [Sun, 17 May 2015 17:29:33 +0000 (19:29 +0200)]
Cycles: Enable advanced shading on AMD / OpenCL.

That is needed for Motion Blur and Render Passes to work properly.
I hope there are no nasty side effects, but we need to test this.

4 years agoCycles / OpenCL: Enable Camera Motion and Hair for AMD.
Thomas Dinges [Sun, 17 May 2015 16:46:25 +0000 (18:46 +0200)]
Cycles / OpenCL: Enable Camera Motion and Hair for AMD.

Only enabled for the Experimental kernel though, so the feature set must
be changed in the UI to use the features.

4 years agoCleanup: Typos, typos everywhere. :D
Thomas Dinges [Sun, 17 May 2015 16:32:31 +0000 (18:32 +0200)]
Cleanup: Typos, typos everywhere. :D

4 years agoFix T44713: GLSL and BI inconsistency converting color to float node socket.
Brecht Van Lommel [Sun, 17 May 2015 16:18:04 +0000 (18:18 +0200)]
Fix T44713: GLSL and BI inconsistency converting color to float node socket.

4 years agoFix T44718: Cycles GLSL not working for NURBS objects.
Brecht Van Lommel [Sun, 17 May 2015 15:25:57 +0000 (17:25 +0200)]
Fix T44718: Cycles GLSL not working for NURBS objects.

4 years agoFix T44739: OS X RMB emulation giving wrong mouse button release event.
Brecht Van Lommel [Sun, 17 May 2015 13:43:42 +0000 (15:43 +0200)]
Fix T44739: OS X RMB emulation giving wrong mouse button release event.

4 years agoUV editor: make Ctrl+E menu with mark/clear seam, instead of always marking.
Brecht Van Lommel [Sun, 17 May 2015 13:37:42 +0000 (15:37 +0200)]
UV editor: make Ctrl+E menu with mark/clear seam, instead of always marking.