blender.git
4 years agoCleanup: warning, spelling
Campbell Barton [Tue, 26 May 2015 06:46:11 +0000 (16:46 +1000)]
Cleanup: warning, spelling

4 years agoFix RMB menu in popup, included 'Header' submenu
Campbell Barton [Tue, 26 May 2015 06:23:26 +0000 (16:23 +1000)]
Fix RMB menu in popup, included 'Header' submenu

4 years agoDepsgraph: Fix for uninitialized variable in root depsnode
Sergey Sharybin [Tue, 26 May 2015 06:34:18 +0000 (11:34 +0500)]
Depsgraph: Fix for uninitialized variable in root depsnode

4 years agoFix T44697: Multi-value edit /w layers fails
Campbell Barton [Tue, 26 May 2015 05:16:30 +0000 (15:16 +1000)]
Fix T44697: Multi-value edit /w layers fails

Not such a nice solution, but good to have this working.

4 years agoBMesh: join tris, split angle limit in two
Campbell Barton [Tue, 26 May 2015 04:27:38 +0000 (14:27 +1000)]
BMesh: join tris, split angle limit in two

Use a separate limit for face-angle and shape comparisons.

There was no way to join non-rectangular, co-planer tries.

4 years agoBMesh: join tris now delimits all UV/Color layers
Campbell Barton [Tue, 26 May 2015 03:39:07 +0000 (13:39 +1000)]
BMesh: join tris now delimits all UV/Color layers

Previously was only checking active layers

Also add delimit by edge seam

4 years agoCleanup: set var twice
Campbell Barton [Tue, 26 May 2015 00:25:01 +0000 (10:25 +1000)]
Cleanup: set var twice

4 years agoMinor cleanup...
Bastien Montagne [Mon, 25 May 2015 20:24:46 +0000 (22:24 +0200)]
Minor cleanup...

4 years agoFix `widget_draw_preview()` not taking into account given alpha.
Bastien Montagne [Mon, 25 May 2015 20:06:25 +0000 (22:06 +0200)]
Fix `widget_draw_preview()` not taking into account given alpha.

Needed to get correct 'inactive' effect on buttons with big previews.

4 years agoI18n message extractor script: py code: do not consider strings inside 'Compare'...
Bastien Montagne [Mon, 25 May 2015 19:17:49 +0000 (21:17 +0200)]
I18n message extractor script: py code: do not consider strings inside 'Compare' AST nodes.

Otherwise, we'd get 'MOVIE' from `text="Build Proxy / Timecode" if clip.source == 'MOVIE' else "Build Proxy")`...

4 years agoFix T44842: Modal Timer (template) should return {'CANCELLED'} when cancelled!
Bastien Montagne [Mon, 25 May 2015 15:42:10 +0000 (17:42 +0200)]
Fix T44842: Modal Timer (template) should return {'CANCELLED'} when cancelled!

4 years agopreview buttons: tiny optimization
Ines Almeida [Mon, 25 May 2015 14:38:12 +0000 (15:38 +0100)]
preview buttons: tiny optimization

4 years agoFix T44836: crash when multi-view is enabled and switching to BI rendered viewport...
Dalai Felinto [Mon, 25 May 2015 13:14:19 +0000 (10:14 -0300)]
Fix T44836: crash when multi-view is enabled and switching to BI rendered viewport display

4 years agoDepsgraph: Avoid unnecessary char*/string conversion when creating RNAPathKey
Sergey Sharybin [Mon, 25 May 2015 13:05:19 +0000 (18:05 +0500)]
Depsgraph: Avoid unnecessary char*/string conversion when creating RNAPathKey

4 years agoFix T44709: New Depsgraph not evaluating driver interactively
Sergey Sharybin [Mon, 25 May 2015 13:02:20 +0000 (18:02 +0500)]
Fix T44709: New Depsgraph not evaluating driver interactively

Issue was caused by drivers which uses component of an array as a target,
this was not handled properly in the RNA path key.

4 years agoFix T44822: python enums' itemf callback did not handle 'NULL' context case.
Bastien Montagne [Mon, 25 May 2015 12:19:51 +0000 (14:19 +0200)]
Fix T44822: python enums' itemf callback did not handle 'NULL' context case.

Enum's itemf callback can be called without context in some cases (UI, doc generation...).
Python's enum properties did not handle this at all - it's kind of odd this did not cause
more trouble and wasn't notice earlier... Probably dynamic enums using context are not
much used in py code.

Note about nodes: those are heavy users of dynamic enum with context. Now,
we expect `NodeCategory.poll()` and `NodeItem.poll()` to always be called with
a valid context (since when there is no context available, we can assume `poll()`
is always True). `NodeCategory.items()`, however, must accept NULL context, so if
you use custom `items` callable for your custom node categories, you may need
to update it (as was done here for builtin `node_group_items()`).

4 years agoFix T44815: Sound bake doesn't check filepath
Campbell Barton [Mon, 25 May 2015 12:12:18 +0000 (22:12 +1000)]
Fix T44815: Sound bake doesn't check filepath

4 years agoCycles: Fix compilation error of split kernel
Sergey Sharybin [Mon, 25 May 2015 09:06:46 +0000 (14:06 +0500)]
Cycles: Fix compilation error of split kernel

The code was failing to compile on runtime because of some path differences,
and it seems we don't need to specify full path to the file which originally
seemed to be needed to make include directives expansion working correct.

4 years agoBGE: Fix bug with default material and MTFace.
Porteries Tristan [Sun, 24 May 2015 18:38:24 +0000 (20:38 +0200)]
BGE: Fix bug with default material and MTFace.

It set default material even if there are a MTface but no blender material.
Tested in GLSL and Multitexture.

Reviewers: HG1

4 years agoFix error redoing shrink fatten
Campbell Barton [Mon, 25 May 2015 05:45:56 +0000 (15:45 +1000)]
Fix error redoing shrink fatten

Use a property to store even-offset option.

4 years agoFix bend in object mode (wasn't rotating objects)
Campbell Barton [Mon, 25 May 2015 00:35:54 +0000 (10:35 +1000)]
Fix bend in object mode (wasn't rotating objects)

4 years agoFix memory leak /w bend tool
Campbell Barton [Mon, 25 May 2015 00:28:54 +0000 (10:28 +1000)]
Fix memory leak /w bend tool

4 years agoCleanup: const char for operator ID's
Campbell Barton [Mon, 25 May 2015 00:26:32 +0000 (10:26 +1000)]
Cleanup: const char for operator ID's

4 years agoFix T44833, OpenCL compile error on AMD.
Thomas Dinges [Sun, 24 May 2015 23:02:06 +0000 (01:02 +0200)]
Fix T44833, OpenCL compile error on AMD.

This was broken after the kernel file restructure.
Variables allocated in the __local address space can only be defined
inside a __kernel function.

We probably need to solve this a bit differently once we do the CUDA
kernel split, but this fix shoud be good enough until then.

4 years agoFix T44830, wrong sample progress number when using split device.
Thomas Dinges [Sun, 24 May 2015 22:37:01 +0000 (00:37 +0200)]
Fix T44830, wrong sample progress number when using split device.

Value was not set, moved it out of the constructor into
device_opencl_create() now.

4 years agoFix T44823: No menu entry for Circle Select in UV/Image editor.
Bastien Montagne [Sun, 24 May 2015 17:27:59 +0000 (19:27 +0200)]
Fix T44823: No menu entry for Circle Select in UV/Image editor.

4 years agoFix T44814: 'preview' icons would not greyout.
Bastien Montagne [Sun, 24 May 2015 16:35:14 +0000 (18:35 +0200)]
Fix T44814: 'preview' icons would not greyout.

Since they are premultiplied, we need separated handling of colors and alpha blending
if we want additional alpha factor to work OK.

4 years agoSome more minor cleanup in new icon preview code.
Bastien Montagne [Sun, 24 May 2015 14:50:15 +0000 (16:50 +0200)]
Some more minor cleanup in new icon preview code.

4 years agoCleanup: style
Campbell Barton [Sun, 24 May 2015 12:18:16 +0000 (22:18 +1000)]
Cleanup: style

4 years agoFix rare crash duplicating fluidsim
Campbell Barton [Sun, 24 May 2015 14:13:14 +0000 (00:13 +1000)]
Fix rare crash duplicating fluidsim

4 years agoFix crash clearing skin data on non mesh
Campbell Barton [Sun, 24 May 2015 14:02:35 +0000 (00:02 +1000)]
Fix crash clearing skin data on non mesh

4 years agoFix RNA type access
Campbell Barton [Sun, 24 May 2015 13:49:54 +0000 (23:49 +1000)]
Fix RNA type access

4 years agoFix unreported bug with recent enum icon preview changes, would show bad in case...
Bastien Montagne [Sun, 24 May 2015 13:49:04 +0000 (15:49 +0200)]
Fix unreported bug with recent enum icon preview changes, would show bad in case of mixing
items with and without label.

4 years agoFix error joining tris -> quads
Campbell Barton [Sun, 24 May 2015 11:53:24 +0000 (21:53 +1000)]
Fix error joining tris -> quads

Incorrect flag check, would need to run multiple times.

4 years agoBGE : Fix black material on meshes without materials in blenderplayer.
Porteries Tristan [Sat, 23 May 2015 10:12:43 +0000 (12:12 +0200)]
BGE : Fix black material on meshes without materials in blenderplayer.

Blenderplayer forgot to initialize the default material (defmaterail) with function init_def_material().
This reverts also the plumber commit 2fa4a48bcef05671890fafc3fe50a8fa619f0259.

Reviewers: campbellbarton

4 years agoIconView template: adding optional labels to popup buttons
Ines Almeida [Fri, 22 May 2015 20:31:26 +0000 (21:31 +0100)]
IconView template: adding optional labels to popup buttons

4 years agoCleanup: typos
Campbell Barton [Sat, 23 May 2015 12:02:03 +0000 (22:02 +1000)]
Cleanup: typos

4 years agoQuadric: add common why doubles are used.
Campbell Barton [Fri, 22 May 2015 08:38:33 +0000 (18:38 +1000)]
Quadric: add common why doubles are used.

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
unchecked

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: https://developer.blender.org/D1314

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

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: https://developer.blender.org/D1278

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
occlusion

(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