5 years agoFllowup to previous commit, remove unused code
Sergey Sharybin [Wed, 16 Sep 2015 15:20:16 +0000 (20:20 +0500)]
Fllowup to previous commit, remove unused code

5 years agoFix T45708: OpenSubdiv crashes on Windows with Intel cards
Sergey Sharybin [Wed, 16 Sep 2015 14:17:12 +0000 (19:17 +0500)]
Fix T45708: OpenSubdiv crashes on Windows with Intel cards

Disable Intel cards for until we'll go to the root of the issue of the crash.
This will take a bit, so being so close to the release we go safe and disable
unstable GPU, so blender at least doesn't crash.

This could be bypassed by setting OPENSUBDIV_ALLOW_INTEL environment variable.

5 years agoGet rid of leftover from refactor of VBO code. Thanks to severin for
Antony Riakiotakis [Wed, 16 Sep 2015 14:22:18 +0000 (17:22 +0300)]
Get rid of leftover from refactor of VBO code. Thanks to severin for

5 years agoCMake: Don't modify global CFlags when enabling/disabling OpenJpeg
Sergey Sharybin [Wed, 16 Sep 2015 14:08:26 +0000 (19:08 +0500)]
CMake: Don't modify global CFlags when enabling/disabling OpenJpeg

5 years agoFix T46105, disable viewport compositing when non power of two texture
Antony Riakiotakis [Wed, 16 Sep 2015 14:04:12 +0000 (17:04 +0300)]
Fix T46105, disable viewport compositing when non power of two texture
support is missing.

Supporting those (really) old GPUs requires us to make shaders more
expensive by converting between real and scaled coordinates and be wary
of such conversion caveats when handling uv coordinates in shaders. Not
worth the cost for supporting hardware that old.

5 years agoFix T46073: crash w/ out-of-bounds material
Campbell Barton [Tue, 15 Sep 2015 21:39:23 +0000 (07:39 +1000)]
Fix T46073: crash w/ out-of-bounds material

5 years agoFix T45389 Windows thumbnails not working.
Antony Riakiotakis [Tue, 15 Sep 2015 21:28:09 +0000 (00:28 +0300)]
Fix T45389 Windows thumbnails not working.

Also they did not work when using blender -R from
command line in 64-bit systems.
Issue was checking for wrong define which would
cause code to detect if the blender executable
functions under 32 bit emulation.
For 64bit executables this is false, leading
blender to believe we are operating under a 32bit
system, and registration would try to register
the 32bit thumbnailer.

This 32 bit dll is (correctly) missing for local
installs and from the new installer, thus no thumbnails.

5 years agoFix for text editor un-indent undo
Campbell Barton [Tue, 15 Sep 2015 17:30:02 +0000 (03:30 +1000)]
Fix for text editor un-indent undo

Same issue as T44381, re-use logic for indent.

5 years agoFix T46093: Thumbnails/previews of materials/textures not displaying in Blender fileb...
Bastien Montagne [Tue, 15 Sep 2015 10:51:13 +0000 (12:51 +0200)]
Fix T46093: Thumbnails/previews of materials/textures not displaying in Blender filebrowser when only one thread is available.

Using the global scheduler here is not a really good idea - `filelist_cache_previewf()` is not a short task
that run once, but it's a loop that keeps cheking for work in a TODO queue. This means it won't quickly allow other tasks
to start, so it should not be in the global scheduler.

In fact, asynchronous tasks (that is, tasks that will live for quite a bit of time, and often sleep a lot) should never use
global scheduler, they would steal computing resources from heavy-duty, short-time living ones - and possibly even completely
stall threaded tasks (if all worker threads are executing long-life tasks...).

We could probably even completely bypass the scheduler/task thing here (and directly use threads), but it does not have
that much of an over-head, and still offers easy handling of threading stuff...

5 years agoFix T46113: Color picker erratic outside 0-1 range
Campbell Barton [Tue, 15 Sep 2015 11:22:33 +0000 (21:22 +1000)]
Fix T46113: Color picker erratic outside 0-1 range

5 years agoCleanup: hide clnors warning prints behind G.debug, those can get annoyingly verbose...
Bastien Montagne [Tue, 15 Sep 2015 10:03:58 +0000 (12:03 +0200)]
Cleanup: hide clnors warning prints behind G.debug, those can get annoyingly verbose...

5 years agoFix wm leak loading factory-startup
Campbell Barton [Tue, 15 Sep 2015 07:43:26 +0000 (17:43 +1000)]
Fix wm leak loading factory-startup

5 years agoBGE: make error message more clear when trying to de/activate actuator from non-activ...
Dalai Felinto [Tue, 15 Sep 2015 03:01:09 +0000 (00:01 -0300)]
BGE: make error message more clear when trying to de/activate actuator from non-active controller

5 years agoFix T46114: paint face-mask hide clears sharp flag
Campbell Barton [Mon, 14 Sep 2015 19:42:47 +0000 (05:42 +1000)]
Fix T46114: paint face-mask hide clears sharp flag

5 years agoFix T46109: Bitmap font objects leads to unfreed memory.
Bastien Montagne [Mon, 14 Sep 2015 15:12:40 +0000 (17:12 +0200)]
Fix T46109: Bitmap font objects leads to unfreed memory.

5 years agoFix T45699: BGE auto-run exits immediately
Campbell Barton [Mon, 14 Sep 2015 13:37:33 +0000 (23:37 +1000)]
Fix T45699: BGE auto-run exits immediately

5 years agoFix T46099: snapping failed on objects with some NULL-dimension in their bbox.
Bastien Montagne [Mon, 14 Sep 2015 10:51:04 +0000 (12:51 +0200)]
Fix T46099: snapping failed on objects with some NULL-dimension in their bbox.

Added a helper that ensures a bbox has some non-NULL dimension along all its axes.

Also, fixed some (rather unlikely) NULL dereference cases (though it should not in this context,
`BKE_object_boundbox_get()` can return NULL).

5 years agoFix T46106: Hidden socket w/ node link from Py API
Campbell Barton [Mon, 14 Sep 2015 10:39:20 +0000 (20:39 +1000)]
Fix T46106: Hidden socket w/ node link from Py API

Internally this was OK, but an invalid state from the users POV.

5 years agoFix T45699: own regression w/ looptri update
Campbell Barton [Mon, 14 Sep 2015 05:55:43 +0000 (15:55 +1000)]
Fix T45699: own regression w/ looptri update

Baking was still checking tessface in parts.

5 years agoAlternate fix for offscreen render w/o npot
Campbell Barton [Mon, 14 Sep 2015 03:18:43 +0000 (13:18 +1000)]
Alternate fix for offscreen render w/o npot

Store the original texture size,
since its needed for reading pixels and passing to glViewport.

5 years agoRevert "Fix crash in opengl render caused..."
Campbell Barton [Mon, 14 Sep 2015 03:13:44 +0000 (13:13 +1000)]
Revert "Fix crash in opengl render caused..."

This reverts commit d64b1221c67846bb954855a19c8dd093b83adc8e.

While this prevents the crash, offscreen renders still aren't working right.

5 years agoFix crash in opengl render caused by gfx being blacklisted for
Joe Eagar [Sun, 13 Sep 2015 21:51:36 +0000 (14:51 -0700)]
Fix crash in opengl render caused by gfx being blacklisted for
non-power-of-2 texture support.  Note that all I did was pass
the correct width/height into glReadPixels; the result may not
be the same as if non2 textures were enabled.

5 years agoFix T43033: VideoTexture module repeated loading of images causes memory leak
Porteries Tristan [Sun, 13 Sep 2015 15:50:27 +0000 (17:50 +0200)]
Fix T43033: VideoTexture module repeated loading of images causes memory leak

Fix proposal for memory leak caused by png decoding in videoFFmpeg.cpp


Author: Ulysse MARTIN (youle)

Reviewers: dfelinto, ben2610, moguri, lordloki, panzergame

Reviewed By: lordloki, panzergame

Subscribers: panzergame, lordloki

Projects: #game_engine

Differential Revision:

5 years agoCleanup: spelling
Campbell Barton [Sun, 13 Sep 2015 16:21:15 +0000 (02:21 +1000)]
Cleanup: spelling

5 years agoFix T46089: Text from Effect Strip is invisible in VSE Preview.
Bastien Montagne [Sun, 13 Sep 2015 12:51:50 +0000 (14:51 +0200)]
Fix T46089: Text from Effect Strip is invisible in VSE Preview.

Deviding two ints together never yields a float... Also, logic of various proxies size corrections was quite broken.
Now we should always get the same (relative) size of text whatever proxy setting/render scale is chosen.

5 years agoFix T46091: Video Sequencer rewrite *.png to _.png
Bastien Montagne [Sun, 13 Sep 2015 06:20:48 +0000 (08:20 +0200)]
Fix T46091: Video Sequencer rewrite *.png to _.png

Own mistake when adding filename safety check...

5 years agoCleanup: Quiet some picky warning from Coverity.
Bastien Montagne [Sat, 12 Sep 2015 14:46:27 +0000 (16:46 +0200)]
Cleanup: Quiet some picky warning from Coverity.

5 years agoFile Bookmarks: use volume label on Windows, and set name of recent entries
Bastien Montagne [Fri, 11 Sep 2015 20:33:13 +0000 (22:33 +0200)]
File Bookmarks: use volume label on Windows, and set name of recent entries
from system/user bookmarks' name if possible.

Volume label on Windows was request from T46083, makes Blender more in line
with 'common' filebrowsing on this OS.

And now, we automatically set name of recent entries from the bookmarks, if path
can be found there, more consistent too from user PoV.

5 years agoFix T45755: Bad NLA text alignment
Campbell Barton [Fri, 11 Sep 2015 13:30:39 +0000 (23:30 +1000)]
Fix T45755: Bad NLA text alignment

5 years agoFix T45579: Custom Hotkeys Dissapear.
Bastien Montagne [Fri, 11 Sep 2015 12:43:18 +0000 (14:43 +0200)]
Fix T45579: Custom Hotkeys Dissapear.

Due to how we find kmi to remove and kmi to add when patching final keymap with user defines,
we could actually end up with same kmi for both, see comments in code for details.

Note that it may be a good idea to make user-defined customizations specific to a given base keymap,
instead of applying them blindly?

5 years agoFix T45165, OSX quicktime fails with diacriticals in filename.
Howard Trickey [Fri, 11 Sep 2015 11:32:05 +0000 (07:32 -0400)]
Fix T45165, OSX quicktime fails with diacriticals in filename.

Since Blender internal strings are UTF8, changed the initialization
of the string to use initWithUTF8String from default encoding.
Fix worked on OSX 10.5.5.

5 years agoFix memory leaks in collada import
Campbell Barton [Fri, 11 Sep 2015 09:12:25 +0000 (19:12 +1000)]
Fix memory leaks in collada import

5 years agoFix T46074: Collada crashes importing animation
Campbell Barton [Fri, 11 Sep 2015 08:41:35 +0000 (18:41 +1000)]
Fix T46074: Collada crashes importing animation

double-frees and freeing memory already inserted into Blender.

5 years agoFix T46058: Modifiers on curve shows different results on OpenGL and cycles render
Sergey Sharybin [Fri, 11 Sep 2015 07:00:57 +0000 (12:00 +0500)]
Fix T46058: Modifiers on curve shows different results on OpenGL and cycles render

Not really ideal fix, but should make Cycles behave same as BI. For some details
please refer to inline comment.

5 years agoFix T46070: Content of folders with a .blend extension aren't listed until filtering...
Bastien Montagne [Thu, 10 Sep 2015 20:08:47 +0000 (22:08 +0200)]
Fix T46070: Content of folders with a .blend extension aren't listed until filtering is disabled.

Own stupid mistake somewhere during filebrowser revamp...

5 years agoUI: increase threshold for color-band select
Campbell Barton [Thu, 10 Sep 2015 19:57:55 +0000 (05:57 +1000)]
UI: increase threshold for color-band select

Was quite small, especially with hi-dpi displays.
Increase to 50 since theres no benefit to not select when clicking.

5 years agoFix T46048: Custom properties UI redraw issue
Campbell Barton [Thu, 10 Sep 2015 18:26:30 +0000 (04:26 +1000)]
Fix T46048: Custom properties UI redraw issue

Adding/removing custom properties didn't refresh elsewhere in the UI.

5 years agoPyAPI: add an update method for properties
Campbell Barton [Thu, 10 Sep 2015 18:24:36 +0000 (04:24 +1000)]
PyAPI: add an update method for properties

This is called when modifying an RNA property,
however it can be useful to be able to make a properties
update callback run without having to change it.

5 years agoShow correct syntax for id-properties
Campbell Barton [Thu, 10 Sep 2015 17:35:38 +0000 (03:35 +1000)]
Show correct syntax for id-properties

5 years agoCorrection to last commit
Julian Eisel [Thu, 10 Sep 2015 18:23:17 +0000 (20:23 +0200)]
Correction to last commit

Did a fullscreen check in a function that should only be called in fullscreen mode. Not a big deal, but bad API practice.

5 years agoFix T46069: Crash when saving a render with non-fullscreen file editor
Julian Eisel [Thu, 10 Sep 2015 17:54:20 +0000 (19:54 +0200)]
Fix T46069: Crash when saving a render with non-fullscreen file editor

IMAGE_OT_save_as assumes that active area is an Image Editor and the logic that should return to image editor after saving didn't run after fullscreen was manually exited.

5 years agoFix T44344: paint bleed fails in perspective view
Campbell Barton [Thu, 10 Sep 2015 16:15:07 +0000 (02:15 +1000)]
Fix T44344: paint bleed fails in perspective view

5 years agoFix leak in ContextGLX
Campbell Barton [Thu, 10 Sep 2015 15:48:31 +0000 (01:48 +1000)]
Fix leak in ContextGLX

5 years agoFix T46067: ShrinkWrap + Threaded depsgraph crash
Campbell Barton [Thu, 10 Sep 2015 08:27:50 +0000 (18:27 +1000)]
Fix T46067: ShrinkWrap + Threaded depsgraph crash

Note that allocating DM arrays from an editmesh is currently not threadsafe,
however even if were resolved, its more efficient to avoid having to do it in the first place.

5 years agoFix T46064: Sequencer view-selected does nothing
Campbell Barton [Thu, 10 Sep 2015 05:31:37 +0000 (15:31 +1000)]
Fix T46064: Sequencer view-selected does nothing

5 years agoFix incorrect textbox use w/ scaled fonts
Campbell Barton [Thu, 10 Sep 2015 04:07:37 +0000 (14:07 +1000)]
Fix incorrect textbox use w/ scaled fonts

5 years agoFix broken logic in new FileBrowser caching of entries.
Bastien Montagne [Wed, 9 Sep 2015 19:30:30 +0000 (21:30 +0200)]
Fix broken logic in new FileBrowser caching of entries.

We were still using main borwser's FileDirEntryArr to own memory of entries currently in cache.

That was OK for common caching operation, but if was not released when clearing cache!
Nothing dramatic, since that was cleared too, but less often, so e.g. by changing sorting
options you could pile up more and more no-more-used entries there...

Anyway, there is no reason to do that, much more sound and clean to keep everything
cache-related in dedicated FileDirEntryCache struct.

This means main borwser's FileDirEntryArr is now always expected to not store any actual entry!

Note: this can probably be cleaned up a bit more, but would wait after 2.76 for this!

5 years agobgl: fix implicit overflow
Campbell Barton [Wed, 9 Sep 2015 17:59:18 +0000 (03:59 +1000)]
bgl: fix implicit overflow

5 years agobgl: disable some defines not found in mesa 7
Campbell Barton [Wed, 9 Sep 2015 17:54:40 +0000 (03:54 +1000)]
bgl: disable some defines not found in mesa 7

5 years agoFix T45880: Texture Paint mask random angle fails
Campbell Barton [Wed, 9 Sep 2015 17:32:17 +0000 (03:32 +1000)]
Fix T45880: Texture Paint mask random angle fails

Random mask failed when the paint brush didn't have random angle enabled too.

5 years agoFixes T46060 Regenerated the full list of constants we should expose
Martijn Berger [Wed, 9 Sep 2015 16:35:05 +0000 (18:35 +0200)]
Fixes T46060 Regenerated the full list of constants we should expose

5 years agoAdd button for H.264 lossless output
Jörg Müller [Wed, 9 Sep 2015 15:03:57 +0000 (01:03 +1000)]
Add button for H.264 lossless output

5 years agoFix crash viewing passes w/ scopes
Campbell Barton [Wed, 9 Sep 2015 14:29:57 +0000 (00:29 +1000)]
Fix crash viewing passes w/ scopes

Scopes assumed all passes were RGBA, but some passes have 1-3 channels.

5 years agoFix T45839 : Regression - Multi-layer image issues when using non-standard names
Dalai Felinto [Wed, 9 Sep 2015 14:41:46 +0000 (19:41 +0500)]
Fix T45839 : Regression - Multi-layer image issues when using non-standard names

This was introduced in the fix for T44336 .
The code is now what it should have been in the first place at the time
of multiview commit.

ImageUser->passtype is being removed in favour of bringing
ImageUser->pass back.

Reviewers: sergey

Differential Revision:

5 years agoFix (unreported) crash with undo/outliner and drivers.
Bastien Montagne [Wed, 9 Sep 2015 14:26:53 +0000 (16:26 +0200)]
Fix (unreported) crash with undo/outliner and drivers.

To reproduce the crash:
* Add some shapekeys to default cube.
* Add at least on driver (can be default empty one) to a shapekey value.
* **Make this driver visible in Outliner**.
* Delete all shapekeys.
* Undo.
* Crash.

Root of the issue is outliner reading code in `blo_lib_link_screen_restore()`,
which would try to `restore_pointer_by_name()` for all `TreeStoreElement->id` pointers.
Thing is, those id pointers are not always IDs, they can be animdata, sequence, RNA struct/property...

That's really not so great design, but also has reasons like size of the struct, we have to live with it.

So now:
* TreeStoreElement->type defines are braught back into DNA.
* There we also define a `TSE_IS_REAL_ID` macro to check whether a given TreeStoreElement actually stores an ID pointer or not.
* And in Outliner read code we only try to retore pointers by name for actual ID ones, and set the others to default NULL value.

Also, added clear comment to TSE types that do not store a real ID pointer!

5 years agoCycles: Attempt to fix 32bit CUDA kernels
Sergey Sharybin [Wed, 9 Sep 2015 13:23:20 +0000 (18:23 +0500)]
Cycles: Attempt to fix 32bit CUDA kernels

5 years agoFormatting fix.
Sybren A. Stüvel [Wed, 9 Sep 2015 12:39:21 +0000 (14:39 +0200)]
Formatting fix.

Reviewed by: Severin

5 years agoFix: VSE text strip size was wrong when preview render size != 100%
Sybren A. Stüvel [Wed, 9 Sep 2015 12:36:12 +0000 (14:36 +0200)]
Fix: VSE text strip size was wrong when preview render size != 100%

Reviewed by: sergei

5 years agoOpenSubdiv: More graceful handling of shader compile/linking errors
Sergey Sharybin [Wed, 9 Sep 2015 12:27:08 +0000 (17:27 +0500)]
OpenSubdiv: More graceful handling of shader compile/linking errors

5 years agoBuildbot: Test enable CUDA binaries for Win32
Sergey Sharybin [Wed, 9 Sep 2015 11:38:44 +0000 (16:38 +0500)]
Buildbot: Test enable CUDA binaries for Win32

Linux 32bit seems to work fine now, let's see if Win32 also works.

5 years agoFix T46051: Loading certain Jpeg causes system alert sound (Win32)
Sergey Sharybin [Wed, 9 Sep 2015 11:17:51 +0000 (16:17 +0500)]
Fix T46051: Loading certain Jpeg causes system alert sound (Win32)

The issue was caused by RedCode library printing binary string to the terminal.

5 years agoFix (unreported) Outliner letting you edit path of indirect linked lib shown at ...
Bastien Montagne [Wed, 9 Sep 2015 10:26:58 +0000 (12:26 +0200)]
Fix (unreported) Outliner letting you edit path of indirect linked lib shown at 'first level'.

From Gooseberry team request indirect libs were also added at root of 'BlendFile' Outliner view,
but that allowed edition of their path, which is useless...

5 years agoFix crash in preview render w/ too small border
Campbell Barton [Wed, 9 Sep 2015 09:42:49 +0000 (19:42 +1000)]
Fix crash in preview render w/ too small border

5 years agoCycles: Cleanup, typo
Sergey Sharybin [Wed, 9 Sep 2015 09:25:20 +0000 (14:25 +0500)]
Cycles: Cleanup, typo

Spotted by Campbell, thanks!

5 years agoFix T46056: User Preferences-> install from File freezes Blender.
Bastien Montagne [Wed, 9 Sep 2015 09:02:32 +0000 (11:02 +0200)]
Fix T46056: User Preferences-> install from File freezes Blender.

Own stupid error in recent fix for buffer overflow in `BLI_testextensie_glob()`...
Also found & fixed another potential buffer overflow in this func.

5 years agoFix T46055: Volume doesn't render when PANORAMIC Camera is inside volume mesh
Sergey Sharybin [Wed, 9 Sep 2015 08:57:54 +0000 (13:57 +0500)]
Fix T46055: Volume doesn't render when PANORAMIC Camera is inside volume mesh

5 years agoCycles: Limit triangle magnitude check for only GPU
Sergey Sharybin [Wed, 9 Sep 2015 08:25:56 +0000 (13:25 +0500)]
Cycles: Limit triangle magnitude check for only GPU

Found a way to make AVX2 CPUs happy by reshuffling instructions a bit,
so now there's no weird precision errors happening in there.

This solves some render speed regressions on CPU, but unfortunately
this doesn't help for GPU rendering.

5 years agoCycles: Only use ascii in comments
Sergey Sharybin [Wed, 9 Sep 2015 08:18:18 +0000 (13:18 +0500)]
Cycles: Only use ascii in comments

5 years agoAssert CustomData_from_bmeshpoly is used correctly
Campbell Barton [Wed, 9 Sep 2015 06:42:55 +0000 (16:42 +1000)]
Assert CustomData_from_bmeshpoly is used correctly

Follow up to last commit, since bugs here aren't so obvious.

5 years agoFix T45733: Crash w/ VColor + BlenderInternal
Campbell Barton [Wed, 9 Sep 2015 06:34:00 +0000 (16:34 +1000)]
Fix T45733: Crash w/ VColor + BlenderInternal

Tessface CustomData layers were added multiple times when tangents were used.
This made BI crash accessing layers missing elsewhere.

5 years agoBuildbot: Enable 32bit kernels for linux builders
Sergey Sharybin [Wed, 9 Sep 2015 06:05:17 +0000 (11:05 +0500)]
Buildbot: Enable 32bit kernels for linux builders

This is more an experiment, not guaranteed to work but at the same time
building of kernels seems to work manually in the same chroot. Perhaps
latest changes helped compiler to optimize registers usage.

5 years agoError in last commit
Campbell Barton [Tue, 8 Sep 2015 16:39:40 +0000 (02:39 +1000)]
Error in last commit

Had warnings disabled.

5 years agoFix T46003: Scale w/ script ignores axis-align
Campbell Barton [Tue, 8 Sep 2015 16:05:10 +0000 (02:05 +1000)]
Fix T46003: Scale w/ script ignores axis-align

5 years agoRevert "Fix T45191 Speed strip behaviour not easy to predict."
Campbell Barton [Tue, 8 Sep 2015 14:36:10 +0000 (00:36 +1000)]
Revert "Fix T45191 Speed strip behaviour not easy to predict."

This reverts commit 0e83b0854fc66af16dd187759c031e530ecd4c05.

Fixes T46038

5 years agotypo in last commit
Campbell Barton [Tue, 8 Sep 2015 13:46:56 +0000 (23:46 +1000)]
typo in last commit

5 years agoFix T45771: Walk mode fails on OSX
Campbell Barton [Tue, 8 Sep 2015 13:35:49 +0000 (23:35 +1000)]
Fix T45771: Walk mode fails on OSX

5 years agoFix T45981: BGE, 2D filters leak memory
Campbell Barton [Tue, 8 Sep 2015 09:40:47 +0000 (19:40 +1000)]
Fix T45981: BGE, 2D filters leak memory

5 years agoCleanup: quiet warnings
Campbell Barton [Tue, 8 Sep 2015 09:39:31 +0000 (19:39 +1000)]
Cleanup: quiet warnings

5 years agoUse C++ guarded alloc for FilterBase
Campbell Barton [Tue, 8 Sep 2015 09:39:05 +0000 (19:39 +1000)]
Use C++ guarded alloc for FilterBase

5 years agoFix for building with C++ guarded alloc
Campbell Barton [Tue, 8 Sep 2015 07:49:21 +0000 (17:49 +1000)]
Fix for building with C++ guarded alloc

KX_WorldInfo is already inherits the overrides

5 years agoCleanup: API docs
Campbell Barton [Tue, 8 Sep 2015 04:30:05 +0000 (14:30 +1000)]
Cleanup: API docs

5 years agoCycles: Support building with latest upstream OSL
Sergey Sharybin [Sat, 5 Sep 2015 12:33:59 +0000 (17:33 +0500)]
Cycles: Support building with latest upstream OSL

Only affects standalone part.

5 years agoFix T46006: Issue with Equirectangular image rendering in Standalone Cycles
Sergey Sharybin [Tue, 8 Sep 2015 08:07:08 +0000 (13:07 +0500)]
Fix T46006: Issue with Equirectangular image rendering in Standalone Cycles

Issue was caused by wrong viewplane used for standalone camera.

5 years agoCycles: Add missing initialization of fov for prev/next frames
Sergey Sharybin [Tue, 8 Sep 2015 08:06:17 +0000 (13:06 +0500)]
Cycles: Add missing initialization of fov for prev/next frames

5 years agoCycles: Correction to integrator's transparent shadows
Sergey Sharybin [Tue, 8 Sep 2015 06:47:39 +0000 (11:47 +0500)]
Cycles: Correction to integrator's transparent shadows

It was possible that deleting transparent BSDF from shader wouldn't
disable transparent shadows in integrator when doing viewport render.

5 years agoCycles: Update TODO, camera in volume is supported already
Sergey Sharybin [Tue, 8 Sep 2015 06:29:14 +0000 (11:29 +0500)]
Cycles: Update TODO, camera in volume is supported already

5 years agoFix T46045: Missing viewport update when adding transparent shader to material
Sergey Sharybin [Tue, 8 Sep 2015 06:28:02 +0000 (11:28 +0500)]
Fix T46045: Missing viewport update when adding transparent shader to material

5 years agoFix T46040: Bake action cleans existing keyframes
Campbell Barton [Mon, 7 Sep 2015 17:59:03 +0000 (03:59 +1000)]
Fix T46040: Bake action cleans existing keyframes

5 years agoFix beautiful textbook case of string overflow in `BLI_testextensie_glob`...
Bastien Montagne [Mon, 7 Sep 2015 17:21:12 +0000 (19:21 +0200)]
Fix beautiful textbook case of string overflow in `BLI_testextensie_glob`...

5 years agoFix T46029. Center ngon in bevel got no attributes or interpolation data.
Howard Trickey [Mon, 7 Sep 2015 12:33:42 +0000 (09:33 -0300)]
Fix T46029. Center ngon in bevel got no attributes or interpolation data.

5 years agoFix T46034: OpenCL kernel compilation error in latest buildbot
Sergey Sharybin [Mon, 7 Sep 2015 10:01:51 +0000 (15:01 +0500)]
Fix T46034: OpenCL kernel compilation error in latest buildbot

Simply expanded expression, so no float4->float3 conversion happens.

5 years agoDoc: PyAPI docs, quiet warnings, fix URL's
Campbell Barton [Mon, 7 Sep 2015 08:23:16 +0000 (18:23 +1000)]
Doc: PyAPI docs, quiet warnings, fix URL's

5 years agoFix T46032: Crash w/ file-browser preview
Campbell Barton [Mon, 7 Sep 2015 07:20:09 +0000 (17:20 +1000)]
Fix T46032: Crash w/ file-browser preview

5 years agoDoc: update Python 'gpu' module reference
Campbell Barton [Mon, 7 Sep 2015 06:02:46 +0000 (16:02 +1000)]
Doc: update Python 'gpu' module reference

- add missing uniforms.
- add uniform types.
- link to RNA equivalent.
- remove 'value' from uniforms (they were wrong, better use module members anyway).
- various corrections & edits.

Fixes T45505

5 years agoCleanup: gpu constants weren't so clearly arranged
Campbell Barton [Mon, 7 Sep 2015 06:01:25 +0000 (16:01 +1000)]
Cleanup: gpu constants weren't so clearly arranged

Also reminder to update docs w/ the API.

5 years agoFix viewport camera dof object distance
Campbell Barton [Sun, 6 Sep 2015 16:32:34 +0000 (02:32 +1000)]
Fix viewport camera dof object distance

Also use simpler method to calculate the depth.

5 years agoAdd icon for incremental grid snapping
Julian Eisel [Sat, 5 Sep 2015 21:02:54 +0000 (23:02 +0200)]
Add icon for incremental grid snapping

As decided in D910, we use a new icon for incremental grid snapping and use its old one for absolute grid snapping.

This also touches the library_data_broken icon .dat files, seems some changes on its .svg entry landed in upstream without updating the other icon files (already noticed this when committing icon for auto-offset, but removed it from commit - leaving it in now to avoid further confusion)

Icon by @plyczkowski (made a tiny edit as it looked a bit blurry in 16x16). Thx!

5 years agoFix T45944: Ctrl+Wheel to cycle values failes in toolshelf
Julian Eisel [Sat, 5 Sep 2015 17:28:24 +0000 (19:28 +0200)]
Fix T45944: Ctrl+Wheel to cycle values failes in toolshelf

Now, ctrl+wheel for cycling tabs is passed to hovered button if it supports cycling values (RNA menus, color/row/number/slider buttons, list boxes)

This might feel a bit glitchy if ctrl+wheel is used to cycle tabs and in newly opened tab, a button with cycling support is under the mouse, which will get mouse input from this point on instead of region. Think this is still better than old behavior.

5 years agoDepsgraph: Don't use legacy function when building without legacy depsgraph
Sergey Sharybin [Sat, 5 Sep 2015 12:51:58 +0000 (17:51 +0500)]
Depsgraph: Don't use legacy function when building without legacy depsgraph

5 years agoFix T45938: Ocean modifier animation not working with NLA action-strip (old depsgraph...
Joshua Leung [Sat, 5 Sep 2015 12:05:46 +0000 (00:05 +1200)]
Fix T45938: Ocean modifier animation not working with NLA action-strip (old depsgraph only)

When a modifier was animated by a NLA strip, this animation was not working when using
the old depsgraph. This was because the code which checks if a NLA strip affects any
modifiers was missing - specifically, it was originally left out as it was thought
that it was unlikely that many users would need this, but adding in those checks
would have a (slight) negative effect files where there are heaps of NLA strips
but modifiers animated this way were absent.

The new depsgraph however doesn't suffer from this problem, as these sorts of checks
need ot be built into the graph-building stage for everything to work, so these links
had already been added.