blender.git
4 years agoCycles: Shader node features are to be inherited from the base class
Sergey Sharybin [Mon, 1 Jun 2015 09:48:24 +0000 (14:48 +0500)]
Cycles: Shader node features are to be inherited from the base class

4 years agoFix T44894: Round two.
Bastien Montagne [Mon, 1 Jun 2015 11:09:45 +0000 (13:09 +0200)]
Fix T44894: Round two.

We cannot `direct_link_packedfile()` twice on a same address, because this tries to
map again pf->data address, which leads to nothing (NULL).

So now, since `ima->packedfile` and `ima->packedfiles` are mutually exclusive
in 'live' blender data anyway, we either read one or the other.

Tested from/to official 2.74 and current master, everything looks fine now.

4 years agoFix T40621: Tablet in walk mode fails
Campbell Barton [Mon, 1 Jun 2015 09:57:38 +0000 (19:57 +1000)]
Fix T40621: Tablet in walk mode fails

Add support for walk mode /w absolute pointing devices.

4 years agoWM: include tablet data in WM_event_print
Campbell Barton [Mon, 1 Jun 2015 07:39:47 +0000 (17:39 +1000)]
WM: include tablet data in WM_event_print

4 years agoFix T44747: Drag toggle /w nodes (glitch)
Campbell Barton [Mon, 1 Jun 2015 06:40:43 +0000 (16:40 +1000)]
Fix T44747: Drag toggle /w nodes (glitch)

It was possible to perform actions while performing a drag-toggle.

4 years agoCleanup: doxygen comments
Campbell Barton [Mon, 1 Jun 2015 04:56:07 +0000 (14:56 +1000)]
Cleanup: doxygen comments

4 years agoFix for leak in BM_uv_element_map_create
Campbell Barton [Mon, 1 Jun 2015 03:23:02 +0000 (13:23 +1000)]
Fix for leak in BM_uv_element_map_create

Also correct over alloc and redundant alloc.

4 years agoFix T44892: Cursor warp, invoked outside the area
Campbell Barton [Mon, 1 Jun 2015 01:59:02 +0000 (11:59 +1000)]
Fix T44892: Cursor warp, invoked outside the area

If an operator starts outside an area, don't use warping.
(problematic for menu's).

4 years agoFix vertex slide regression /w rotated objects
Campbell Barton [Mon, 1 Jun 2015 01:25:55 +0000 (11:25 +1000)]
Fix vertex slide regression /w rotated objects

4 years agoFix T44894: Broken packed image import from older .blend file.
Bastien Montagne [Sun, 31 May 2015 16:28:28 +0000 (18:28 +0200)]
Fix T44894: Broken packed image import from older .blend file.

rBe5fbeba0b3a6e9eea not only restored forward compat, it also broke backward compat...
for no reason at all even, exising ima->packedfile is only used by read/versionning
code if .blend version is below 274.4 (i.e. no multi-image packing exists).

4 years agoImprovements to the Freestyle Python API (needed by the SVG Exporter)
Tamito Kajiyama [Sun, 31 May 2015 08:46:58 +0000 (17:46 +0900)]
Improvements to the Freestyle Python API (needed by the SVG Exporter)

This patch adds some new functionality to the Freestyle Python API, notably:

  - MaterialBP1D, checks whether the supplied arguments have the same material
  - Fixes a potential crash in CurvePoint.fedge (due to NULL pointer)
  - Makes (error handling in) boolean predicates more robust
  - Adds a BoundingBox type, to make working with bounding boxes easier
  - Adds several new functions (get_object_name, get_strokes, is_poly_clockwise, material_from_fedge)
  - Adds a StrokeCollector StrokeShader, that collects all the strokes from a specific call to Operators.create()
  - Adds hashing and rich comparison to the FrsMaterial type

These new features (most of them, anyway) are needed for making a more robust SVG exporter that supports holes in fills.

Reviewers: kjym3, campbellbarton

Subscribers: campbellbarton

Projects: #bf_blender

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

4 years agoFix ugly drawing of closed panels in horizontal layout
Julian Eisel [Sun, 31 May 2015 12:30:25 +0000 (14:30 +0200)]
Fix ugly drawing of closed panels in horizontal layout

Also minor cleanup

4 years agoPython: avoid mutable default param values
Campbell Barton [Sun, 31 May 2015 05:56:22 +0000 (15:56 +1000)]
Python: avoid mutable default param values

D1328 by @yedpodtrzitko

4 years agoUI: comments (doxygen tweaks)
Campbell Barton [Sun, 31 May 2015 04:20:03 +0000 (14:20 +1000)]
UI: comments (doxygen tweaks)

4 years agoBGE Cleanup: Removing flen variable where it is not used
Jorge Bernal [Sat, 30 May 2015 16:30:34 +0000 (18:30 +0200)]
BGE Cleanup: Removing flen variable where it is not used

4 years agoBGE Cleanup: Identical code for both if/else branches
Jorge Bernal [Sat, 30 May 2015 16:14:32 +0000 (18:14 +0200)]
BGE Cleanup: Identical code for both if/else branches

4 years agofix T44884: corrected a wrong usage of the CustomLayer API (due to a misunderstanding)
Gaia Clary [Sat, 30 May 2015 12:18:35 +0000 (14:18 +0200)]
fix T44884: corrected a wrong usage of the CustomLayer API (due to a misunderstanding)

4 years agoCorrect own error with recent commit
Campbell Barton [Sat, 30 May 2015 10:26:26 +0000 (20:26 +1000)]
Correct own error with recent commit

Caused entering an invalid number to leak.

4 years agopython tar.gz changed structure due to python.exe being added. remove /lib/ from...
Martijn Berger [Sat, 30 May 2015 07:44:44 +0000 (09:44 +0200)]
python tar.gz changed structure due to python.exe being added. remove /lib/ from cmake as lib and bin are both in the tar.gz

4 years agopython tar.gz changed structure due to python.exe being added.
Martijn Berger [Sat, 30 May 2015 07:27:13 +0000 (09:27 +0200)]
python tar.gz changed structure due to python.exe being added.
remove /lib/ from cmake as lib and bin are both in the tar.gz

4 years agoFix leak in BMesh convex hull operator
Campbell Barton [Sat, 30 May 2015 06:17:04 +0000 (16:17 +1000)]
Fix leak in BMesh convex hull operator

4 years agoFix reading uninitialized buffer
Campbell Barton [Sat, 30 May 2015 04:48:42 +0000 (14:48 +1000)]
Fix reading uninitialized buffer

4 years agoCleanup: Use true/false for bool, naming
Julian Eisel [Fri, 29 May 2015 19:30:04 +0000 (21:30 +0200)]
Cleanup: Use true/false for bool, naming

4 years agoBGE: Fix memory leak when unable to add wheel
Jorge Bernal [Fri, 29 May 2015 15:01:05 +0000 (17:01 +0200)]
BGE: Fix memory leak when unable to add wheel

4 years agofix T44884: Index counter for active UV Map used wrong offset
Gaia Clary [Fri, 29 May 2015 14:19:56 +0000 (16:19 +0200)]
fix T44884: Index counter for active UV Map used wrong offset

4 years agoYet another attempt to fix T44869
Antony Riakiotakis [Fri, 29 May 2015 13:43:21 +0000 (15:43 +0200)]
Yet another attempt to fix T44869

Fix some integer overflow cases in colormanagement code

4 years agoGHOST get rid of unused warnings
Antony Riakiotakis [Fri, 29 May 2015 13:13:47 +0000 (15:13 +0200)]
GHOST get rid of unused warnings

4 years agoFix T44882, color picker in texpainting doing linear interpolation even
Antony Riakiotakis [Fri, 29 May 2015 11:38:20 +0000 (13:38 +0200)]
Fix T44882, color picker in texpainting doing linear interpolation even
when mipmap is off.

We used to always have nearest interpolation for texpaint but at least
make this work with mipmap off correctly.

Also added conversion casts to avoid integer overflow in filtering code

4 years agoFix T44880: transparency filter is only valid with raytransp, not ztransp.
Bastien Montagne [Fri, 29 May 2015 10:26:58 +0000 (12:26 +0200)]
Fix T44880: transparency filter is only valid with raytransp, not ztransp.

4 years agoFix T44879, data transfer modifier was missing a copy function
Antony Riakiotakis [Fri, 29 May 2015 09:38:57 +0000 (11:38 +0200)]
Fix T44879, data transfer modifier was missing a copy function

4 years agoFix wrong 'check context' handling in addon i18n messages generator.
Bastien Montagne [Fri, 29 May 2015 09:08:26 +0000 (11:08 +0200)]
Fix wrong 'check context' handling in addon i18n messages generator.

Reported (with patch) by yedpodtrzitko (yed podtrzitko), thanks a bunch!

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

4 years agoUI cleanup: removing if, condition was already tested
Ines Almeida [Fri, 29 May 2015 08:27:23 +0000 (09:27 +0100)]
UI cleanup: removing if, condition was already tested

4 years agoBMesh: select linked /w delimiters & wire edges
Campbell Barton [Fri, 29 May 2015 04:27:39 +0000 (14:27 +1000)]
BMesh: select linked /w delimiters & wire edges

Add support for using edge delimiters mixed with wire edges.

Code isn't so elegant but users will expect this.

4 years agoCycles: Enable Object Motion on AMD OpenCL.
Thomas Dinges [Thu, 28 May 2015 20:10:53 +0000 (22:10 +0200)]
Cycles: Enable Object Motion on AMD OpenCL.

Like Camera Motion, only available in the Experimental kernel.
This should be it for the upcoming release, we now support almost everything, apart from Transparent Shadows, SSS and Volume.

4 years agoAaaaand another fullscreen glitch
Julian Eisel [Thu, 28 May 2015 18:08:03 +0000 (20:08 +0200)]
Aaaaand another fullscreen glitch

Steps to reproduce were: Set a *Properties Editor* to fullscreen-
>render->Info Editor is set to Image Editor instead of Properties Editor

4 years agoFix another fullscreen toggle glitch
Julian Eisel [Thu, 28 May 2015 17:48:28 +0000 (19:48 +0200)]
Fix another fullscreen toggle glitch

Steps to reproduce were: Set 3DView to fullscreen->render->toggle out of
fullscreen->escape->Area doesn't change back to 3DView

4 years agoFix T44872
Antony Riakiotakis [Thu, 28 May 2015 16:05:29 +0000 (18:05 +0200)]
Fix T44872

All musgrave tupes use intensity, never hide it.

4 years agoBGE Cleanup: Remove old commented Sumo physics code
Jorge Bernal [Thu, 28 May 2015 15:50:39 +0000 (17:50 +0200)]
BGE Cleanup: Remove old commented Sumo physics code

4 years agoBGE Cleanup: The value of ikconstraint cannot be NULL at this stage and
Jorge Bernal [Thu, 28 May 2015 15:18:05 +0000 (17:18 +0200)]
BGE Cleanup: The value of ikconstraint cannot be NULL at this stage and
therefore it is not necessary the NULL check.

4 years agoOptimize render part commiting to render queue to mitigate delay in
Antony Riakiotakis [Thu, 28 May 2015 15:01:09 +0000 (17:01 +0200)]
Optimize render part commiting to render queue to mitigate delay in
T44869.

There are a couple of issues here:

* Code repeatedly calculated center of ready rendered parts even though
they would not change while the operation was done.

* Code would calculate distance of tiles from center multiple times

* Code would traverse all items, even the ones already sorted
* Traversal used linked lists which is quite slow.

Mitigated these by doing one pass for the center, a second to calculate
distances and a qsort at the end.

Should result in O (n * (log n + 2)) instead of O (n * (n * 2))
complexity, plus the number of repeated operations is much less as well.

4 years agoDepsgraph: Cleanup, multiple private functions are to be in anonymous namespace
Sergey Sharybin [Thu, 28 May 2015 08:51:19 +0000 (13:51 +0500)]
Depsgraph: Cleanup, multiple private functions are to be in anonymous namespace

4 years agoAdd missing particle system tagging on update to the new depsgraph
Sergey Sharybin [Thu, 28 May 2015 08:49:23 +0000 (13:49 +0500)]
Add missing particle system tagging on update to the new depsgraph

It's not ideal and mimics weak legacy code, but so close to bcon4 we'd better
not start re-considering the way how particle works..

4 years agoFix T44688: Stereo3D time-sequential crashes
Campbell Barton [Thu, 28 May 2015 08:43:49 +0000 (18:43 +1000)]
Fix T44688: Stereo3D time-sequential crashes

4 years agoGhost/X11: allow creating windows to fail
Campbell Barton [Thu, 28 May 2015 08:23:44 +0000 (18:23 +1000)]
Ghost/X11: allow creating windows to fail

Would exit, problematic for setting stereo3d modes which aren't always supported.

4 years agoWM: remove windows if they fail to initialize
Campbell Barton [Thu, 28 May 2015 08:00:53 +0000 (18:00 +1000)]
WM: remove windows if they fail to initialize

4 years agoCleanup: warning
Campbell Barton [Thu, 28 May 2015 08:23:02 +0000 (18:23 +1000)]
Cleanup: warning

4 years agoInstall_deps: fix different 'libfreetype2' devel package name on fedora and suse...
Bastien Montagne [Thu, 28 May 2015 08:38:48 +0000 (10:38 +0200)]
Install_deps: fix different 'libfreetype2' devel package name on fedora and suse... *sigh*

4 years agoMulti-value, multi-button cancel keeps value set
Campbell Barton [Thu, 28 May 2015 05:50:28 +0000 (15:50 +1000)]
Multi-value, multi-button cancel keeps value set

4 years agoMulti-value cancel, keeps scale set
Campbell Barton [Thu, 28 May 2015 05:41:17 +0000 (15:41 +1000)]
Multi-value cancel, keeps scale set

4 years agoBMesh: correct flag check (own mistake)
Campbell Barton [Thu, 28 May 2015 02:11:35 +0000 (12:11 +1000)]
BMesh: correct flag check (own mistake)

4 years agoBMesh: util functions to get edge loops from verts
Campbell Barton [Thu, 28 May 2015 01:45:53 +0000 (11:45 +1000)]
BMesh: util functions to get edge loops from verts

4 years agoCleanup: Remove unused Noise Basis texture code.
Thomas Dinges [Wed, 27 May 2015 23:07:37 +0000 (01:07 +0200)]
Cleanup: Remove unused Noise Basis texture code.

Same as last commit, code is unused and this one actually would have required some fixes,
as these variants output values outside the 0-1 value range, which doesn't fit Cycles shader design.

4 years agoCleanup: Remove unused Voronoi texture code.
Thomas Dinges [Wed, 27 May 2015 22:33:31 +0000 (00:33 +0200)]
Cleanup: Remove unused Voronoi texture code.

Let's finally delete this code, after 4 years of being unused,
there really is no excuse anymore.

If we decide to extend the procedural textures in SVM, we can do this anytime in the future.

4 years agoClamp min/max frame rate for player
Antony Riakiotakis [Wed, 27 May 2015 18:02:53 +0000 (20:02 +0200)]
Clamp min/max frame rate for player

4 years agoFix T44745 non manifold edges of mesh do not work when smoothing in
Antony Riakiotakis [Wed, 27 May 2015 17:52:12 +0000 (19:52 +0200)]
Fix T44745 non manifold edges of mesh do not work when smoothing in
multires.

Code had special guards for such edges to stop this from happening. I
don't see why this is needed though since code above assigns smoothed
positions for all vertices in the grid.

After removing the guards I saw that this in fact was the only place
where grd adjacency was used, so I completely removed it.

4 years agoBGE: Add missing m_jumping initialization
Thomas Szepe [Wed, 27 May 2015 16:19:38 +0000 (18:19 +0200)]
BGE: Add missing m_jumping initialization

4 years agoFix mismatch in strings length compute in filebrowser, leading to annoying '...'...
Bastien Montagne [Wed, 27 May 2015 15:15:48 +0000 (17:15 +0200)]
Fix mismatch in strings length compute in filebrowser, leading to annoying '...' in longest filename.

We must take kerning into account everywhere! Note this will disappear in upcomming filebrowser
refactor anyway.

Reported through IRC by Pablo (venomgfx), thanks.

4 years agoBGE Python API: Completing doc for bge.types.KX_FontObject
Quentin Wenger [Wed, 27 May 2015 15:17:54 +0000 (17:17 +0200)]
BGE Python API: Completing doc for bge.types.KX_FontObject

This adds description of the Font object and about its (only one)
attribute, as well as an example of use.

Reviewers: campbellbarton, fsiddi, dfelinto, moguri

Reviewed By: dfelinto

Subscribers: lordloki

Projects: #documentation, #game_engine

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

4 years agoFix T44748: Particle is not displayed definitely when I use a new dependence graph
Sergey Sharybin [Wed, 27 May 2015 14:22:23 +0000 (19:22 +0500)]
Fix T44748: Particle is not displayed definitely when I use a new dependence graph

4 years agoForgot this in the last commit
Antony Riakiotakis [Wed, 27 May 2015 12:43:54 +0000 (14:43 +0200)]
Forgot this in the last commit

4 years agoFix jpeg preview for exr renders broken.
Antony Riakiotakis [Wed, 27 May 2015 12:41:31 +0000 (14:41 +0200)]
Fix jpeg preview for exr renders broken.

4 years agoCorrect convex-hull for recent join-tri changes
Campbell Barton [Wed, 27 May 2015 11:42:55 +0000 (21:42 +1000)]
Correct convex-hull for recent join-tri changes

4 years agofix:T44856 reverted triangluation back to bmesh ( apparently broken by commit rB51f33 )
Gaia Clary [Wed, 27 May 2015 11:19:40 +0000 (13:19 +0200)]
fix:T44856 reverted triangluation back to bmesh ( apparently broken by commit rB51f33 )

4 years agoFix off by one error in display of start/end frame in sequencer.
Antony Riakiotakis [Wed, 27 May 2015 10:16:42 +0000 (12:16 +0200)]
Fix off by one error in display of start/end frame in sequencer.

4 years agoCode cleanup, silence some warnings when building without legacy depsgraph
Sergey Sharybin [Wed, 27 May 2015 08:10:26 +0000 (13:10 +0500)]
Code cleanup, silence some warnings when building without legacy depsgraph

4 years agoFix compilation error with legacy depsgraph disabled
Sergey Sharybin [Wed, 27 May 2015 08:09:57 +0000 (13:09 +0500)]
Fix compilation error with legacy depsgraph disabled

4 years agoFix T44854: Creating hooks from curve to objects doesn't work
Sergey Sharybin [Wed, 27 May 2015 08:07:24 +0000 (13:07 +0500)]
Fix T44854: Creating hooks from curve to objects doesn't work

The issue was introduced in e529882 by doing wrong range checking.

4 years agoCycles: Code cleanup, split kernel
Sergey Sharybin [Tue, 26 May 2015 19:13:32 +0000 (00:13 +0500)]
Cycles: Code cleanup, split kernel

4 years agoMissing NULL check getting selected obdata
Campbell Barton [Wed, 27 May 2015 01:14:39 +0000 (11:14 +1000)]
Missing NULL check getting selected obdata

4 years agoFix parent tips staying selected after separate
Campbell Barton [Wed, 27 May 2015 00:34:08 +0000 (10:34 +1000)]
Fix parent tips staying selected after separate

4 years agoUse PKey for edit-armature separate
Campbell Barton [Tue, 26 May 2015 23:53:03 +0000 (09:53 +1000)]
Use PKey for edit-armature separate

As used already for mesh & curves.

Add confirmation menu for curve & armature,
since this isn't such a common operation and undoing leaves object data
(long term bug/todo to fix).

4 years agoFix T44833: Can't use ccl_local space in non-kernel functions
Sergey Sharybin [Tue, 26 May 2015 14:12:49 +0000 (19:12 +0500)]
Fix T44833: Can't use ccl_local space in non-kernel functions

This commit re-shuffles code in split kernel once again and makes it so common
parts which is in the headers is only responsible to making all the work needed
for specified ray index. Getting ray index, checking for it's validity and
enqueuing tasks are now happening in the device specified part of the kernel.

This actually makes sense because enqueuing is indeed device-specified and i.e.
with CUDA we'll want to enqueue kernels from kernel and avoid CPU roundtrip.

TODO:
- Kernel comments are still placed in the common header files, but since queue
  related stuff is not passed to those functions those comments might need to
  be split as well.

  Just currently read them considering that they're also covering the way how
  all devices are invoking the common code path.

- Arguments might need to be wrapped into KernelGlobals, so we don't ened to
  pass all them around as function arguments.

4 years agoFix T44497: Crash on deleting curve handle with hook modifier
Sergey Sharybin [Tue, 26 May 2015 17:36:18 +0000 (22:36 +0500)]
Fix T44497: Crash on deleting curve handle with hook modifier

It was possible race condition on empty curves -- it's possible that curve
object is fully updated and path is null in that cases, Proper way to deal
with this is to check curve_cache for non-NULL.

4 years agoCycles: Enable advanced shading for NVidia OpenCL kernel
Sergey Sharybin [Tue, 26 May 2015 16:11:58 +0000 (21:11 +0500)]
Cycles: Enable advanced shading for NVidia OpenCL kernel

It was kept disabled due to render artifacts which weer in fact caused by bad
memory access, which is fixed in the previous commit.

We now also can make it enabled in regular AMD split kernel after someone tests
the updated code.

4 years agoFix T44831: Crash when using Intel OpenCL with split kernel
Sergey Sharybin [Tue, 26 May 2015 16:08:21 +0000 (21:08 +0500)]
Fix T44831: Crash when using Intel OpenCL with split kernel

The issue was caused by underallocation of object motion related arrays,
which happened by accident.

4 years agoBuilding without OpenEXR works again
Campbell Barton [Tue, 26 May 2015 15:49:08 +0000 (17:49 +0200)]
Building without OpenEXR works again

4 years agoCleanup: update comment
Campbell Barton [Tue, 26 May 2015 14:00:31 +0000 (00:00 +1000)]
Cleanup: update comment

4 years agoCleanup: python
Campbell Barton [Tue, 26 May 2015 13:53:47 +0000 (23:53 +1000)]
Cleanup: python

4 years agoFix T44036: Add option to bake into current action instead of creating a new one.
Bastien Montagne [Tue, 26 May 2015 13:30:34 +0000 (15:30 +0200)]
Fix T44036: Add option to bake into current action instead of creating a new one.

This is needed when you want to bake only part of an armature's bones, since they
all share a single action, otherwise you'd lose non-baked bones' animation...

4 years agoCleanup, add comment for old code.
Antony Riakiotakis [Tue, 26 May 2015 12:38:24 +0000 (14:38 +0200)]
Cleanup, add comment for old code.

4 years agoTrying to pack image with invalid path crashes
Antony Riakiotakis [Tue, 26 May 2015 11:45:45 +0000 (13:45 +0200)]
Trying to pack image with invalid path crashes

4 years agoCorrect own recent error, uninitialized var use
Campbell Barton [Tue, 26 May 2015 11:36:11 +0000 (21:36 +1000)]
Correct own recent error, uninitialized var use

4 years agoStyle cleanup: space after keyword
Sergey Sharybin [Tue, 26 May 2015 11:15:52 +0000 (16:15 +0500)]
Style cleanup: space after keyword

4 years agoFix T44763: Surface Panel does not update correctly according to Node Output for...
Sergey Sharybin [Tue, 26 May 2015 11:15:01 +0000 (16:15 +0500)]
Fix T44763: Surface Panel does not update correctly according to Node Output for Cycles UI

4 years agoRevert "Cleanup: set var twice"
Bastien Montagne [Tue, 26 May 2015 11:01:29 +0000 (13:01 +0200)]
Revert "Cleanup: set var twice"

This reverts commit eb799dc3501483ff87ec26395bf365b1fbe3dd56.

I recommend reading code before doing cleanup, next time...

4 years agoFix own sillyness
Antony Riakiotakis [Tue, 26 May 2015 10:58:32 +0000 (12:58 +0200)]
Fix own sillyness

4 years agoDon't crash with pie menus with more than 8 items.
Antony Riakiotakis [Tue, 26 May 2015 10:08:29 +0000 (12:08 +0200)]
Don't crash with pie menus with more than 8 items.

This will print a warning and users will get overlap of pie buttons, but
it should be quick paper over the cracks and at least should keep
blender working until a more complete fix is coded.

4 years agoFix T44740: Tweak events stuck (ignored release)
Campbell Barton [Tue, 26 May 2015 09:57:52 +0000 (19:57 +1000)]
Fix T44740: Tweak events stuck (ignored release)

Tweak event was being added to the end of the event queue (out of order),
meaning any mouse releases already in the queue wouldn't be used to exit the gesture.
Gestures could get stuck (mostly when the system wasn't able to handle events fast enough).

Now tweak events are now added in order.

4 years agoFix multilayer OpenEXR not supporting metadata.
Antony Riakiotakis [Tue, 26 May 2015 10:02:14 +0000 (12:02 +0200)]
Fix multilayer OpenEXR not supporting metadata.

This will fix exporting of metadata and importing for imbufs, but image
editor will not display these metadata since multilayer gets converted
to renderresult, which does not support metadata display yet.
This commit is more meant for external image editors/viewers.

4 years agoImages: Solve broken forward compatibility with packed images
Sergey Sharybin [Tue, 26 May 2015 09:43:50 +0000 (14:43 +0500)]
Images: Solve broken forward compatibility with packed images

Use first packed image as legacy image->packedfile, so saving .blend file with
latest builds makes it so packed images are not lost when opening with previous
releases.

This will only work reliably if mutliview is not used, otherwise it'll be only
first view in the .blend file, which is rather expected since previous releases
are not aware of views.

4 years agoGHOST: flush event printer output
Campbell Barton [Tue, 26 May 2015 08:51:51 +0000 (18:51 +1000)]
GHOST: flush event printer output

4 years agoFix T44821: Making warp shortcut fails
Campbell Barton [Tue, 26 May 2015 07:55:34 +0000 (17:55 +1000)]
Fix T44821: Making warp shortcut fails

Using OBJECT prefix for editmode operators causes
shortcuts to go into the wrong keymap.

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