7 years agoAutomatically generate blender.1 man page during build process
Campbell Barton [Fri, 13 Jun 2014 15:19:58 +0000 (01:19 +1000)]
Automatically generate blender.1 man page during build process

Patch T40418 by Lawrence D'Oliveiro

7 years agoRevert part of rB477f35 (error resolving conflict)
Campbell Barton [Fri, 13 Jun 2014 15:06:49 +0000 (01:06 +1000)]
Revert part of rB477f35 (error resolving conflict)

7 years agoCode cleanup: use const for mouse location arg
Campbell Barton [Wed, 11 Jun 2014 01:27:53 +0000 (11:27 +1000)]
Code cleanup: use const for mouse location arg

7 years agoBLI_bitmap: rename macros
Campbell Barton [Fri, 6 Jun 2014 06:05:15 +0000 (16:05 +1000)]
BLI_bitmap: rename macros


7 years agoBLI_bitmap: typecheck maco
Campbell Barton [Fri, 6 Jun 2014 06:00:53 +0000 (16:00 +1000)]
BLI_bitmap: typecheck maco

7 years agoAdd string escaping support for BLI_str_quoted_substrN
Campbell Barton [Thu, 29 May 2014 10:42:09 +0000 (20:42 +1000)]
Add string escaping support for BLI_str_quoted_substrN

7 years agoEditmesh: Replace SmallHash with GSet for MESH_OT_loop_to_region
Campbell Barton [Thu, 29 May 2014 04:03:22 +0000 (14:03 +1000)]
Editmesh: Replace SmallHash with GSet for MESH_OT_loop_to_region

There no reason to assume hash will be small in this case

7 years agoGSet, GHash: Add BLI_gset_add, since its common to add members to a set
Campbell Barton [Thu, 29 May 2014 04:00:11 +0000 (14:00 +1000)]
GSet, GHash: Add BLI_gset_add, since its common to add members to a set

also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same.

7 years agoBLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL check
Campbell Barton [Wed, 28 May 2014 16:47:30 +0000 (02:47 +1000)]
BLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL check

7 years agoBLI_kdtree: use UNLIKELY
Campbell Barton [Wed, 28 May 2014 16:37:16 +0000 (02:37 +1000)]
BLI_kdtree: use UNLIKELY

7 years agoCode cleanup: UI, unnecessary float/int conversion
Campbell Barton [Mon, 2 Jun 2014 03:15:29 +0000 (13:15 +1000)]
Code cleanup: UI, unnecessary float/int conversion

7 years agoCode cleanup: remove hack for older GCC (4.2x and newer work without)
Campbell Barton [Thu, 29 May 2014 04:53:10 +0000 (14:53 +1000)]
Code cleanup: remove hack for older GCC (4.2x and newer work without)

7 years agoCode cleanup: remove redundant arg from ARRAY_LAST_ITEM
Campbell Barton [Thu, 29 May 2014 03:38:34 +0000 (13:38 +1000)]
Code cleanup: remove redundant arg from ARRAY_LAST_ITEM

7 years agoCode cleanup: remove redundant NULL check
Campbell Barton [Thu, 29 May 2014 02:33:13 +0000 (12:33 +1000)]
Code cleanup: remove redundant NULL check

7 years agoCode cleanup: reorder BKE_scene_use_new_shading_nodes checks last
Campbell Barton [Wed, 28 May 2014 16:32:25 +0000 (02:32 +1000)]
Code cleanup: reorder BKE_scene_use_new_shading_nodes checks last

7 years agoCode cleanup: remove NULL check
Campbell Barton [Wed, 28 May 2014 16:27:51 +0000 (02:27 +1000)]
Code cleanup: remove NULL check

7 years agoCode cleanup: replace interp_v2_v2v2 with mid_v2_v2v2
Campbell Barton [Wed, 28 May 2014 16:23:56 +0000 (02:23 +1000)]
Code cleanup: replace interp_v2_v2v2 with mid_v2_v2v2

7 years agoCode cleanup: avoid call to BLI_countlist
Campbell Barton [Wed, 28 May 2014 16:22:04 +0000 (02:22 +1000)]
Code cleanup: avoid call to BLI_countlist

7 years agoCode cleanup: BLI_strdupn -> BLI_strdup
Campbell Barton [Wed, 28 May 2014 16:09:45 +0000 (02:09 +1000)]
Code cleanup: BLI_strdupn -> BLI_strdup

7 years agoCode cleanup: spelling
Campbell Barton [Mon, 9 Jun 2014 01:01:51 +0000 (11:01 +1000)]
Code cleanup: spelling

7 years agoCycles: Support builtin images for OSL shading backend
Sergey Sharybin [Thu, 12 Jun 2014 07:26:48 +0000 (13:26 +0600)]
Cycles: Support builtin images for OSL shading backend

This means packed images and movies are now supported when using OSL
backend for material shading.

Uses special file name to distinguish whether image is builtin or not.
This part might become a bit smarted or optimized a bit, but it's good
enough with this implementation already.

7 years agoMinor modifications to 2.71 splash (bigger ref text, was unreadable in lowres version).
Bastien Montagne [Fri, 13 Jun 2014 14:27:17 +0000 (16:27 +0200)]
Minor modifications to 2.71 splash (bigger ref text, was unreadable in lowres version).

7 years agoDetect version suffix based on release cycle and version char
Sergey Sharybin [Fri, 13 Jun 2014 14:19:02 +0000 (20:19 +0600)]
Detect version suffix based on release cycle and version char

Should make it less error-prone for release tagging/ahoy.

7 years agoStart of the 2.72 release cycles, BCon1.
Thomas Dinges [Fri, 13 Jun 2014 14:14:15 +0000 (16:14 +0200)]
Start of the 2.72 release cycles, BCon1.

Reminder for developers: Please document new features immediately after commit in the WIP release logs. No commit without docs. :)

7 years agoSplash screen update for 2.71 v2.71-rc1
Campbell Barton [Thu, 12 Jun 2014 18:39:43 +0000 (04:39 +1000)]
Splash screen update for 2.71

Artwork: Event Horizon by pieriko

7 years agoSplash: enable rc label
Campbell Barton [Thu, 12 Jun 2014 18:39:10 +0000 (04:39 +1000)]
Splash: enable rc label

7 years agoFix T40596: Node link menus flipped & events inverted
Campbell Barton [Thu, 12 Jun 2014 18:04:19 +0000 (04:04 +1000)]
Fix T40596: Node link menus flipped & events inverted

7 years agoWe're entering 2.71rc state now
Sergey Sharybin [Thu, 12 Jun 2014 16:16:43 +0000 (22:16 +0600)]
We're entering 2.71rc state now

Meaning we do subversion bump and hopefully only splash
screen separates us from the final release. Unless some
bad regression is being discovered..

7 years agoQuiet double promotion warning & ws edit
Campbell Barton [Thu, 12 Jun 2014 16:22:40 +0000 (02:22 +1000)]
Quiet double promotion warning & ws edit

7 years agoFix crash running in background mode
Campbell Barton [Thu, 12 Jun 2014 15:05:20 +0000 (01:05 +1000)]
Fix crash running in background mode

7 years agoFix Bevel bug T39746, small scale gives flat profile.
Howard Trickey [Thu, 12 Jun 2014 14:22:10 +0000 (10:22 -0400)]
Fix Bevel bug T39746, small scale gives flat profile.

With very small meshes or very small bevel amounts, the bevel
profile would be flat even if a round one was requested.
Problem was that the code was checking the length of a cross
product for closeness to zero to test coplanarity. Needed
to normalize things before making that test to account for scale.

7 years agoUI: correct __contains__ use, no need for substring check
Campbell Barton [Thu, 12 Jun 2014 12:00:26 +0000 (22:00 +1000)]
UI: correct __contains__ use, no need for substring check

7 years agoFix T40559: Maya keymap node selection bug
Sergey Sharybin [Thu, 12 Jun 2014 08:33:28 +0000 (14:33 +0600)]
Fix T40559: Maya keymap node selection bug

7 years agoFix T40582: issues with apply scale when having multires and scene simplify
Sergey Sharybin [Thu, 12 Jun 2014 07:49:46 +0000 (13:49 +0600)]
Fix T40582: issues with apply scale when having multires and scene simplify

Reshape and applying scale matrix on multires needs to create DM with simplify
setting disabled. Added a special flag to modifier apply for this now.

7 years agoBake-API: Set Custom Cage to be Cage Object
Dalai Felinto [Thu, 12 Jun 2014 01:46:35 +0000 (22:46 -0300)]
Bake-API: Set Custom Cage to be Cage Object

Suggestion by Andy Davies (metalliandy) to conform with industry standard (custom cage is something else apparently)

Note: this is the last bake related commit I plan for 2.71/rc (unless
everyone agrees that we could squeeze in D546 - custom UVs, which would
be really nice to add for 2.71 scripters)

Note 2: I'll update the wiki docs shortly

7 years agoblenderplayer stuff
Antony Riakiotakis [Wed, 11 Jun 2014 23:28:48 +0000 (02:28 +0300)]
blenderplayer stuff

7 years agoFix flickering when transform snapping in edit mode and cursor is
Antony Riakiotakis [Wed, 11 Jun 2014 22:43:38 +0000 (01:43 +0300)]
Fix flickering when transform snapping in edit mode and cursor is
slightly outside the mesh.

Reported by Thomas Beck on irc. Issue here is that the mesh bounding box
changes as we are transforming the vertices. Solution is to collide
against the initial bounding box. Unfortunately the snapping functions
are made in a way that a lot of code needed to be tweaked here, but the
change should be straightforward and harmless (famous last words, I

Ideally we might want to even increase the size of the bounding box a
little (as seen in screen space) to allow snapping even in cases where,
cursor is slightly outside the bounding box, but since this is not so
straightforward to do for all cases, at least for me, leaving this as

7 years agoFix T40561: cycles refraction node with sharp distribution gives black.
Brecht Van Lommel [Wed, 11 Jun 2014 17:52:14 +0000 (19:52 +0200)]
Fix T40561: cycles refraction node with sharp distribution gives black.

7 years agoAdd patchset to recent Carve changes
Sergey Sharybin [Wed, 11 Jun 2014 07:13:36 +0000 (13:13 +0600)]
Add patchset to recent Carve changes

In the future i'd rather have this reported to an
upstream instead of adding local changes. It's really
easy to override this changes if patchset is not added
and this is to be fixed in upstream. Also the function
was never used so it was rather totally harmless warning
for us.

7 years agoCMake: quite warnings with 3.0 (without breaking < 3.0 CMakes)
Campbell Barton [Wed, 11 Jun 2014 05:59:03 +0000 (02:59 -0300)]
CMake: quite warnings with 3.0 (without breaking < 3.0 CMakes)

7 years agoBake-API: new approach for cage
Dalai Felinto [Wed, 11 Jun 2014 05:39:35 +0000 (02:39 -0300)]
Bake-API: new approach for cage

There is a new option to select whether you want to use cage or not.
When not using cage the results will be more similar with Blender
Internal, where the inwards rays (trying to hit the highpoly objects)
don't always come from smooth normals. So if the active object has sharp
edges and an EdgeSplit modifier you get bad corners.

This is useful, however, to bake to planes without the need of adding
extra loops around the edges.

When cage is "on" the user can decide on setting a cage extrusion or to
pick a Custom Cage object. The cage extrusion option works in a
duplicated copy of the active object with EdgeSplit modifiers removed to
inforce smooth normals. The custom cage option takes an object with the
same number of faces as the active object (and the same face ordering).

The custom cage now controls the direction and the origin of the
rays casted to the highpoly objects. The direction is a ray from the
point in the cage mesh to the equivalent point to the base mesh. That
means the face normals are entirely ignored when using a cage object.

For developers:
When using an object cage the ray is calculated from the cage mesh to
the base mesh. It uses the barycentric coordinate from the base mesh UV,
so we expect both meshes to have the same primitive ids (which won't be
the case if the cage gets edited in a destructive way).

That fixes T40023 (giving the expected result when 'use_cage' is false).

Thanks for Andy Davies (metalliandy) for the consulting with normal
baking workflow and extensive testing. His 'stress-test' file will be
added later to our svn tests folder. (The file itself is not public yet
since he still has to add testing notes to it).

Many thanks for the reviewers.

More on cages:

Reviewers: campbellbarton, sergey

CC: adriano, metalliandy, brecht, malkavian
Differential Revision:

7 years agoRevert "CMake: quiet warnings with 3.0"
Dalai Felinto [Wed, 11 Jun 2014 05:39:16 +0000 (02:39 -0300)]
Revert "CMake: quiet warnings with 3.0"

This reverts commit da7bdf1b47d4490c1a6f35740a9392cb9b5dd42e.

This broke compilation in OSX and some Linux boxes.
Error:  Policy "CMP0043" is not known to this version of CMake

Shall we leave those for after RC (or even 2.71) is out? ;)

7 years agoRegression Bugfix T40332: Bad driver behaviour on small distances.
Joshua Leung [Wed, 11 Jun 2014 03:48:43 +0000 (15:48 +1200)]
Regression Bugfix T40332: Bad driver behaviour on small distances.


I've reduced the size of the threshold for the keyframe lookup here. This threshold
determines the minimum time in frames between keyframes (i.e. "how close" to each
other they can get). Making this too small causes problems like T39207, but it seems
that the threshold we've been using makes it impossible to get accurate behaviour on
driver curves with keyframes, when the driver target only moves 2cm (i.e. 0.02 BU).

So far, all of the test cases from T39207 seem to work fine, as well as Caminandes 2
files, and Kenny the Caterpillar. The Kiribati rigs/shots (thanks jpbouza for helping
to check on these!) also seem to be fine.

7 years agoCMake: quiet warnigns with 3.0
Campbell Barton [Wed, 11 Jun 2014 03:46:19 +0000 (13:46 +1000)]
CMake: quiet warnigns with 3.0

7 years agocorrection from last commit
Dalai Felinto [Wed, 11 Jun 2014 00:36:48 +0000 (21:36 -0300)]
correction from last commit

7 years agoBake-API: removal of unecessary UV tests, as suggested by Campbell Barton
Dalai Felinto [Tue, 10 Jun 2014 23:50:55 +0000 (20:50 -0300)]
Bake-API: removal of unecessary UV tests, as suggested by Campbell Barton

7 years agoFix a warning in carve by initializing var
Jens Verwiebe [Tue, 10 Jun 2014 18:15:50 +0000 (20:15 +0200)]
Fix a warning in carve by initializing var

7 years agoFix Bevel multisegment profile bugs T39184, T37502 and last part of T40365.
Howard Trickey [Tue, 10 Jun 2014 15:07:06 +0000 (11:07 -0400)]
Fix Bevel multisegment profile bugs T39184, T37502 and last part of T40365.

When doing a 'weld' type join where there are two non-beveled edges
in the same plane one beveled one but not the other, then there
should be a curved profile; bug was creating a straight one.

7 years agoFix missing notifier when inserting keyframe
Sergey Sharybin [Tue, 10 Jun 2014 15:15:35 +0000 (21:15 +0600)]
Fix missing notifier when inserting keyframe

Reported by Sebastian Koenig in IRC

7 years agoFix T40551: Boolean Modifier distorts UVs
Sergey Sharybin [Tue, 10 Jun 2014 13:25:35 +0000 (19:25 +0600)]
Fix T40551: Boolean Modifier distorts UVs

Mapping to original face was never working 100% reliably actually,
now use more robust method for this.

7 years agoCurve: skip curves when matching bevel-fac (like 2.70)
Campbell Barton [Tue, 10 Jun 2014 12:32:33 +0000 (22:32 +1000)]
Curve: skip curves when matching bevel-fac (like 2.70)

7 years agoFix wrong memory write in partial render update with Save Buffers enabled
Sergey Sharybin [Tue, 10 Jun 2014 11:10:37 +0000 (17:10 +0600)]
Fix wrong memory write in partial render update with Save Buffers enabled

No idea why this issue hasn't been spotted before. Took several hours to
figure out where exactly wrong memory access happens..

P.S. I really want to switch ImBuf->rect from int* to unsigned char*...

7 years agoFix T40498 invalid textures flickering.
Antony Riakiotakis [Mon, 9 Jun 2014 22:36:53 +0000 (01:36 +0300)]
Fix T40498 invalid textures flickering.

Issue here is most likely sampler uniforms and textures not being
updated properly when zero binding is created. Solution for now is to
allow zero binding but when this happens use sexy pink invalid texture
instead :p.

7 years agoUsual UI message handling...
Bastien Montagne [Mon, 9 Jun 2014 19:52:10 +0000 (21:52 +0200)]
Usual UI message handling...

7 years agoFix for slowdown converting mesh to curve with large polygons
Campbell Barton [Mon, 9 Jun 2014 15:18:05 +0000 (01:18 +1000)]
Fix for slowdown converting mesh to curve with large polygons

Walk the linked list rather then doing index lookups.

7 years agoFix T40549: box selection starting point in the file requester.
Bastien Montagne [Mon, 9 Jun 2014 13:31:27 +0000 (15:31 +0200)]
Fix T40549: box selection starting point in the file requester.

We need to 'reset' mouse coordinates to the one it was when the gesture handling started,
else org coords are where the tweak event is created, which gives a noticeable gap
(several pixels) and unwanted behavior like the one retported about file box selection.

7 years agoFix T40057: invisible hair particles slowing down mesh edits
Sergey Sharybin [Mon, 9 Jun 2014 11:32:19 +0000 (17:32 +0600)]
Fix T40057: invisible hair particles slowing down mesh edits

Skip doing particle update in object_handle_update if object is in
edit mode.

Object will be re-evaluated on exit from edit mode anyway, so it's
_expected_ to be a safe change.

7 years agoQuiet assert in debug mode, deleting mask/gpencil keys
Campbell Barton [Mon, 9 Jun 2014 10:03:28 +0000 (20:03 +1000)]
Quiet assert in debug mode, deleting mask/gpencil keys

7 years agoFix T40534: Multi-button editing, hard to distinguish sliders
Campbell Barton [Mon, 9 Jun 2014 08:47:56 +0000 (18:47 +1000)]
Fix T40534: Multi-button editing, hard to distinguish sliders

7 years agoFix T40547: Can't read single channel EXRs
Sergey Sharybin [Mon, 9 Jun 2014 10:41:28 +0000 (16:41 +0600)]
Fix T40547: Can't read single channel EXRs

The root of the issue goes to the fact that we only can
read RGB EXR files, but they could be YCbCr or just Luma.
Added support for this two cases.

Note: internally EXR would still be 3 channels, so no
big memory save would happen here, at least yet.

7 years agoFix cycles CUDA error when trying to use >= 100 image textures.
Brecht Van Lommel [Mon, 9 Jun 2014 10:38:46 +0000 (12:38 +0200)]
Fix cycles CUDA error when trying to use >= 100 image textures.

7 years agoRevert "Fix T40382: 2D stabilization uses disabled markers"
Sergey Sharybin [Mon, 9 Jun 2014 08:11:48 +0000 (14:11 +0600)]
Revert "Fix T40382: 2D stabilization uses disabled markers"

It's not that trivial to support disapearing tracks in the sequence,
and since we're having ongoing 2D stabilization rework patch wouldn't
want to start doing rather bigger changes here now.

Let's just stick to legacy behavior for this release.

This reverts commits 91429d0543ce85

7 years agoFix T40529: Euler Rotation F-Curve Handlers wrong behaviour on moving keyframes
Sergey Sharybin [Mon, 9 Jun 2014 07:43:56 +0000 (13:43 +0600)]
Fix T40529: Euler Rotation F-Curve Handlers wrong behaviour on moving keyframes

7 years agoFix T40543: Duplicators draw with 'Render Only'
Campbell Barton [Mon, 9 Jun 2014 05:55:18 +0000 (15:55 +1000)]
Fix T40543: Duplicators draw with 'Render Only'

7 years agoFix T40538: Multi-button canceling edit-text could leave edited value
Campbell Barton [Mon, 9 Jun 2014 05:35:34 +0000 (15:35 +1000)]
Fix T40538: Multi-button canceling edit-text could leave edited value

7 years agoFix mempool bottleneck alloc & freeing a single item
Campbell Barton [Sun, 8 Jun 2014 13:07:00 +0000 (23:07 +1000)]
Fix mempool bottleneck alloc & freeing a single item

Would continuously reinitialize the first chunk of the mempool,
now check for at least 2 blocks.

7 years agoBMesh: avoid recursion for BM_mesh_edgenet, runs out stack memory on large nets
Campbell Barton [Sun, 8 Jun 2014 12:20:03 +0000 (22:20 +1000)]
BMesh: avoid recursion for BM_mesh_edgenet, runs out stack memory on large nets

7 years agoFix T40510, revert openmp thread count to how it was in
Antony Riakiotakis [Sat, 7 Jun 2014 22:13:28 +0000 (01:13 +0300)]
Fix T40510, revert openmp thread count to how it was in
2.70 for non Apple systems.

Also refactored the code that restores the previous openmp thread count.
The logic here was weird, mostly due to all the commit madness with
Apple openmp support. The restored thread count though should not depend
on the on/off state of threaded sculpting (since it has to do with
systems other than sculpting only). For OSX threads are restored to the
system thread count but Jens should recheck here.

7 years agoReplace open() with BLI_open
Campbell Barton [Sat, 7 Jun 2014 01:30:08 +0000 (11:30 +1000)]
Replace open() with BLI_open

7 years agoOSX: Ideasman does not like using utsname, so i use the always satisfactorily working...
Jens Verwiebe [Fri, 6 Jun 2014 20:06:26 +0000 (22:06 +0200)]
OSX: Ideasman does not like using utsname, so i use the always satisfactorily working sysctl method now for runtime OS detection

7 years agoFix T40514: Cycles world MIS segfault
Campbell Barton [Fri, 6 Jun 2014 14:08:40 +0000 (00:08 +1000)]
Fix T40514: Cycles world MIS segfault

7 years agoBMesh: avoid OpenMP use for low poly meshes (counting selection)
Campbell Barton [Fri, 6 Jun 2014 13:52:29 +0000 (23:52 +1000)]
BMesh: avoid OpenMP use for low poly meshes (counting selection)

also use schedule(static) for simple for loops.

7 years agoFix T40370: cycles CUDA baking timeout with high number of AA samples.
Brecht Van Lommel [Fri, 6 Jun 2014 12:40:09 +0000 (14:40 +0200)]
Fix T40370: cycles CUDA baking timeout with high number of AA samples.

Now baking does one AA sample at a time, just like final render. There is
also some code for shader antialiasing that solves T40369 but it is disabled
for now because there may be unpredictable side effects.

7 years agoFix T40520: Properties panel in properties region in 3D view does not go away.
Bastien Montagne [Fri, 6 Jun 2014 12:38:07 +0000 (14:38 +0200)]
Fix T40520: Properties panel in properties region in 3D view does not go away.

Ignore '_RNA_UI' IDP...

7 years agoFix T38668: When using Maya Input style, there is no way to snap Knife tool to midpoints
Sergey Sharybin [Fri, 6 Jun 2014 12:49:41 +0000 (18:49 +0600)]
Fix T38668: When using Maya Input style, there is no way to snap Knife tool to midpoints

7 years agoFix T40519: Keyed parameter are not redrawed
Sergey Sharybin [Fri, 6 Jun 2014 12:15:18 +0000 (18:15 +0600)]
Fix T40519: Keyed parameter are not redrawed

The issue has been introduced in 1fabfc9 by changing
notifiers being sent.

7 years agoFix T40522: Viewport layer name is not redrawed.
Bastien Montagne [Fri, 6 Jun 2014 12:14:56 +0000 (14:14 +0200)]
Fix T40522: Viewport layer name is not redrawed.

Yet another missing redraw flag catching (only affecting Cycles, in this case).

7 years agoFix compilation error after recent changes
Sergey Sharybin [Fri, 6 Jun 2014 10:07:58 +0000 (16:07 +0600)]
Fix compilation error after recent changes

fmc->script is a text datablock, for which we need to
access to it's IT property.

7 years agoFix T40282: Renaming node sockets in Cycles nodes causes crash.
Lukas Tönne [Fri, 6 Jun 2014 07:25:05 +0000 (09:25 +0200)]
Fix T40282: Renaming node sockets in Cycles nodes causes crash.

Cycles expects to find all node sockets with their correct names, but
this can be changed via the API (see bug report discussion).

Solution for now is to let cycles accept this case gracefully instead
of crashing. The shader will simply use the internal default values for
inputs and any connections will be ignored.

Would be nice to report the error somewhere, but cycles doesn't have a
proper logging system for this purpose yet.

7 years agoFix for missing visits of ID's within SceneRenderLayer in BKE_library_foreach_ID_link().
Tamito Kajiyama [Fri, 6 Jun 2014 03:51:14 +0000 (12:51 +0900)]
Fix for missing visits of ID's within SceneRenderLayer in BKE_library_foreach_ID_link().

Just noticed them while working on the previous commit (rB00f722042c07).

7 years agoFix for missing visits of Freestyle-related ID data blocks in BKE_library_foreach_ID_...
Tamito Kajiyama [Fri, 6 Jun 2014 03:44:48 +0000 (12:44 +0900)]
Fix for missing visits of Freestyle-related ID data blocks in BKE_library_foreach_ID_link().

7 years agoCode cleanup: remove redundant void*->int->bool cast on NULL pointer
Campbell Barton [Fri, 6 Jun 2014 01:44:34 +0000 (11:44 +1000)]
Code cleanup: remove redundant void*->int->bool cast on NULL pointer

7 years agoFix T40508: Calculating normals crashes
Campbell Barton [Fri, 6 Jun 2014 01:24:59 +0000 (11:24 +1000)]
Fix T40508: Calculating normals crashes

7 years agoFreestyle: Fix for viewport render not updating with changes of Freestyle settings.
Tamito Kajiyama [Thu, 5 Jun 2014 15:56:04 +0000 (00:56 +0900)]
Freestyle: Fix for viewport render not updating with changes of Freestyle settings.

7 years agoFreestyle: Fix for operator error messages with no active line set and associated...
Tamito Kajiyama [Thu, 5 Jun 2014 13:58:51 +0000 (22:58 +0900)]
Freestyle: Fix for operator error messages with no active line set and associated line style.

This commit amends a de-duplication of error messages in the commit rB6067fa682b0c.

7 years agoUI: higher precision for IK poll angle
Campbell Barton [Thu, 5 Jun 2014 23:50:38 +0000 (09:50 +1000)]
UI: higher precision for IK poll angle

7 years agoCode cleanup: style
Campbell Barton [Thu, 5 Jun 2014 21:54:05 +0000 (07:54 +1000)]
Code cleanup: style

7 years agoOSX: replace deprecated (10.8 ) Gestalt function with utsname, no functional change
Jens Verwiebe [Thu, 5 Jun 2014 20:14:14 +0000 (22:14 +0200)]
OSX: replace deprecated (10.8 ) Gestalt function with utsname, no functional change

7 years agoFix T40228: cycles CUDA multi GPU + world MIS giving error.
Brecht Van Lommel [Thu, 5 Jun 2014 16:10:06 +0000 (18:10 +0200)]
Fix T40228: cycles CUDA multi GPU + world MIS giving error.

7 years agoFix T40429: cycles CUDA + use persistent images problem.
Brecht Van Lommel [Thu, 5 Jun 2014 15:39:16 +0000 (17:39 +0200)]
Fix T40429: cycles CUDA + use persistent images problem.

7 years agoFix subpixel precision in transform node
Sergey Sharybin [Thu, 5 Jun 2014 16:05:05 +0000 (22:05 +0600)]
Fix subpixel precision in transform node

The node was using sampler from the callee node and passed
it to the input nodes. Since the fact that compositor output
node uses NEAREST interpolation (why it uses nearest is the
whole separate story) it's not possible to have subpixel
precision in such cases:

  <image> -> <translate> -> <output>

For now solving by hard-coding translate node to use BILINEAR
interpolation. It can't become worse in this node anyway and
the sampling pipeline is to be re-visited from scratch.

7 years agoTweak to previous commit
Sergey Sharybin [Thu, 5 Jun 2014 13:37:12 +0000 (19:37 +0600)]
Tweak to previous commit

7 years agoFix T40382: 2D stabilization uses disabled markers
Sergey Sharybin [Thu, 5 Jun 2014 13:25:21 +0000 (19:25 +0600)]
Fix T40382: 2D stabilization uses disabled markers

This lead to unpredictable results in some cases.

7 years agoAvoid openmp sections in BM_mesh_elem_index_ensure
Campbell Barton [Thu, 5 Jun 2014 08:50:10 +0000 (18:50 +1000)]
Avoid openmp sections in BM_mesh_elem_index_ensure

7 years agoCode cleanup: mixup hflag/htype
Campbell Barton [Thu, 5 Jun 2014 08:37:53 +0000 (18:37 +1000)]
Code cleanup: mixup hflag/htype

7 years agoFix T40436: No preview in Brush with Cycles
Sergey Sharybin [Thu, 5 Jun 2014 07:15:01 +0000 (13:15 +0600)]
Fix T40436: No preview in Brush with Cycles

More like a feature request, but after i've implemented preview for
icons it was rather simple to support nodes previews.

7 years agoBlender Internal: Fix for lamp option "Specular" not working when "Only Shadow" is...
IRIE Shinsuke [Fri, 30 May 2014 13:11:06 +0000 (22:11 +0900)]
Blender Internal: Fix for lamp option "Specular" not working when "Only Shadow" is enabled.

This is followup to rB8008d9bdfd57. Blender Render and GLSL preview
now produce the same results.

7 years agoCorrect hard-coded height for UV-Vertex buttons
Campbell Barton [Thu, 5 Jun 2014 05:00:26 +0000 (15:00 +1000)]
Correct hard-coded height for UV-Vertex buttons

7 years agoFreestyle: Fix for Interface0DIterator.object docstring with additional notes.
Tamito Kajiyama [Thu, 5 Jun 2014 05:06:25 +0000 (14:06 +0900)]
Freestyle: Fix for Interface0DIterator.object docstring with additional notes.

7 years agoFix T40423: UV Editing 'Draw Other Objects' fails with Cycles
Campbell Barton [Thu, 5 Jun 2014 03:55:50 +0000 (13:55 +1000)]
Fix T40423: UV Editing 'Draw Other Objects' fails with Cycles