blender.git
3 years agoBlender 2.77a: Use proper char for the release v2.77a
Sergey Sharybin [Tue, 5 Apr 2016 18:12:32 +0000 (20:12 +0200)]
Blender 2.77a: Use proper char for the release

3 years agoFix UV-Editor crashes w/ over SHRT_MAX UV's
Campbell Barton [Tue, 5 Apr 2016 10:42:21 +0000 (20:42 +1000)]
Fix UV-Editor crashes w/ over SHRT_MAX UV's

3 years agoFix T47705: Freestyle line glitch.
Tamito Kajiyama [Tue, 5 Apr 2016 07:08:45 +0000 (16:08 +0900)]
Fix T47705: Freestyle line glitch.

The addressed issue is a regression from Blender 2.75, after the internal
switch from double to single precision floating-point numbers in the
Freestyle code base.  Face normal calculations require the higher
precision during the computations, even though the results can be stored
as single precision numbers.

3 years agoCorrect merge error
Campbell Barton [Tue, 5 Apr 2016 09:02:39 +0000 (19:02 +1000)]
Correct merge error

3 years agoRemove newly added function (harmless but unused)
Campbell Barton [Tue, 5 Apr 2016 08:58:42 +0000 (18:58 +1000)]
Remove newly added function (harmless but unused)

3 years agoBlender 2.77a: Point addons to a new submodule hash
Sergey Sharybin [Tue, 5 Apr 2016 08:55:38 +0000 (10:55 +0200)]
Blender 2.77a: Point addons to a new submodule hash

3 years agoParticles: Fix broken grid distribution in some case from own recent rB201d3938622.
Bastien Montagne [Wed, 30 Mar 2016 14:54:13 +0000 (16:54 +0200)]
Particles: Fix broken grid distribution in some case from own recent rB201d3938622.

3 years agoFix T47902: Particle grid not using modifier stack, Take II.
Bastien Montagne [Tue, 29 Mar 2016 15:45:56 +0000 (17:45 +0200)]
Fix T47902: Particle grid not using modifier stack, Take II.

Now only fix correct handling of use_modifier_stack for grid distribution,
fixing it globally breaks all existing edited hair systems. :/

3 years agoRevert "Fix T47902: Particle grid not using modifier stack."
Bastien Montagne [Tue, 29 Mar 2016 15:33:08 +0000 (17:33 +0200)]
Revert "Fix T47902: Particle grid not using modifier stack."

This reverts commit 2bd3acf7cd27c0c3ee77b10d56b91c3b03226d39.

Commit is valid in theory - but in practice, it means nearly all edited hair systems
would need to be re-created from scratch... Not nice, so better revert and note in code
that particle distribution is ugly and does not respect 'use modifier stack' option in most cases.

3 years agoFix T47902: Particle grid not using modifier stack.
Bastien Montagne [Fri, 25 Mar 2016 21:46:19 +0000 (22:46 +0100)]
Fix T47902: Particle grid not using modifier stack.

Disclaimer: this is tentative fix, seems to be working but you never know with particles.
If issue arise, we'll just revert this commit and hide 'use modifier stack' option
for grid distribution instead.

This commit also try to make choice of which dm to use during distribution more generic
(deduplication of code), again hopping not to break anything. :P

3 years agoFix error in ghash/gset_ensure_p_ex
Campbell Barton [Tue, 29 Mar 2016 16:00:26 +0000 (03:00 +1100)]
Fix error in ghash/gset_ensure_p_ex

The key is needed in the case the ghash resizes.
Caused regression T47984.

3 years agoFix T47939, take II: Check clang package version, not llvm-devel one.
Bastien Montagne [Sat, 26 Mar 2016 20:07:04 +0000 (21:07 +0100)]
Fix T47939, take II: Check clang package version, not llvm-devel one.

Looks like some distro still provide llvm-3.4-devel, while no more clang-3.4.
Since clang depends on llvm of same version, check clang only should ensure
us we also have matvhing llvm... *sigh*

3 years agoFix T47939: Install Deps OSL 1.7.1 and clang-3.5
Bastien Montagne [Fri, 25 Mar 2016 23:31:41 +0000 (00:31 +0100)]
Fix T47939: Install Deps OSL 1.7.1 and clang-3.5

Until we officially support llvm3.5 or more, only allow for 3.4 llvm packages,
and build own stuff otherwise...

3 years agoFix T47848: Fix regression in sequencer GL render
Campbell Barton [Mon, 21 Mar 2016 05:36:20 +0000 (16:36 +1100)]
Fix T47848: Fix regression in sequencer GL render

Own changes in 2.77 broke off-screen render with scene render size doesn't match output.

3 years agoCycles: Fix wrong camera in volume check when domain is only visible to camera rays
Sergey Sharybin [Mon, 4 Apr 2016 17:30:38 +0000 (19:30 +0200)]
Cycles: Fix wrong camera in volume check when domain is only visible to camera rays

3 years agoCycles: Fix regression caused by recent camera-in-volume commit
Sergey Sharybin [Mon, 4 Apr 2016 16:24:40 +0000 (18:24 +0200)]
Cycles: Fix regression caused by recent camera-in-volume commit

Stupid me forgot that we don't have stop-element in the stack yet.

3 years agoCycles: Make curves modified by a taper object with modifier considered a deform...
Sergey Sharybin [Mon, 4 Apr 2016 09:39:04 +0000 (11:39 +0200)]
Cycles: Make curves modified by a taper object with modifier considered a deform modified

That might consider a bit more objects to be considered deform modified,
but it covers common case of using taper object without require of doing
recursive checks.

In worst case it'll be just some extra synchronization time, no render
time difference will happen for false-positive because of extra checks
happening in Cycles.

3 years agoFix curve editmode adding 3D primitives w/ 2D curves
Campbell Barton [Mon, 4 Apr 2016 08:34:04 +0000 (18:34 +1000)]
Fix curve editmode adding 3D primitives w/ 2D curves

3 years agoFix curve adding 3D nurbs when 2D is set
Campbell Barton [Mon, 4 Apr 2016 07:47:55 +0000 (17:47 +1000)]
Fix curve adding 3D nurbs when 2D is set

Ctrl-LMB ignored 2D constraint

3 years agoFix curve hide keeping spline active
Campbell Barton [Mon, 4 Apr 2016 07:55:28 +0000 (17:55 +1000)]
Fix curve hide keeping spline active

3 years agoFix curve, missing update on Ctrl-LMB
Campbell Barton [Mon, 4 Apr 2016 08:18:21 +0000 (18:18 +1000)]
Fix curve, missing update on Ctrl-LMB

3 years agoFix T47971: rigid body baking crash due to thread race condition.
Brecht Van Lommel [Sat, 2 Apr 2016 02:24:24 +0000 (04:24 +0200)]
Fix T47971: rigid body baking crash due to thread race condition.

3 years agoFix T48030: Can't zoom VSE properties panel
Campbell Barton [Sat, 2 Apr 2016 07:52:52 +0000 (18:52 +1100)]
Fix T48030: Can't zoom VSE properties panel

3 years agoFix T47505: Cycles OpenCL rendering crash on Windows.
Brecht Van Lommel [Fri, 1 Apr 2016 18:37:24 +0000 (20:37 +0200)]
Fix T47505: Cycles OpenCL rendering crash on Windows.

Restore the boost bug workaround, but without changing the locale.

3 years agoCycles: Fix wrong camera-in-volume stack when camera ray hits volume domain twice
Sergey Sharybin [Fri, 1 Apr 2016 16:03:58 +0000 (18:03 +0200)]
Cycles: Fix wrong camera-in-volume stack when camera ray hits volume domain twice

3 years agoFix T48001: Highlighting selected item in filtered lists.
Bastien Montagne [Fri, 1 Apr 2016 14:54:01 +0000 (16:54 +0200)]
Fix T48001: Highlighting selected item in filtered lists.

active index was not reset to 'nothing' in case actual active item was filtered out.

3 years agoKnife Project: revert fix for T43896
Campbell Barton [Fri, 1 Apr 2016 14:30:57 +0000 (01:30 +1100)]
Knife Project: revert fix for T43896

For now leave precision at half a pixel until we have real fix.
Resolves T48023.

3 years agoCycles: Support deformation motion blur for curves deformed by taper
Sergey Sharybin [Fri, 1 Apr 2016 13:53:40 +0000 (15:53 +0200)]
Cycles: Support deformation motion blur for curves deformed by taper

3 years agoFix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv...
Philipp Oeser [Fri, 1 Apr 2016 12:20:22 +0000 (14:20 +0200)]
Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv panels (t, n)

Epic fail in recent rB2c3985 :/

To be backported to 2.77a!

3 years agoFix When using keying sets, the toggling "all items" in the array target only goes...
Joshua Leung [Thu, 31 Mar 2016 23:44:53 +0000 (12:44 +1300)]
Fix When using keying sets, the toggling "all items" in the array target only goes from the index value down, instead of keying all

3 years agoHide layers from UI in template
Campbell Barton [Thu, 31 Mar 2016 23:23:39 +0000 (10:23 +1100)]
Hide layers from UI in template

3 years agoFix T48012: Knife Project crash
Campbell Barton [Thu, 31 Mar 2016 19:22:30 +0000 (06:22 +1100)]
Fix T48012: Knife Project crash

3 years agoFix NULL check before free
Campbell Barton [Thu, 31 Mar 2016 18:42:15 +0000 (05:42 +1100)]
Fix NULL check before free

3 years agoCycles: Fix wrong initialization order of mesh flags and object transform
Sergey Sharybin [Thu, 31 Mar 2016 15:54:03 +0000 (17:54 +0200)]
Cycles: Fix wrong initialization order of mesh flags and object transform

3 years agoRemove the obsolete windows launcher
Martijn Berger [Thu, 31 Mar 2016 12:07:57 +0000 (14:07 +0200)]
Remove the obsolete windows launcher

3 years agoCMAKE disable building the windows launcher, fix type in delayloading of debug dll
Martijn Berger [Thu, 31 Mar 2016 12:05:38 +0000 (14:05 +0200)]
CMAKE disable building the windows launcher, fix type in delayloading of debug dll

3 years agoCMAKE / msvc openmp, delay loading of openmp dll so we can set environment
Martijn Berger [Thu, 31 Mar 2016 11:45:33 +0000 (13:45 +0200)]
CMAKE / msvc openmp, delay loading of openmp dll so we can set environment
variable before it is loaded

3 years agoCycles: Aligned vector was not covered by guarded stat
Sergey Sharybin [Wed, 30 Mar 2016 08:46:56 +0000 (10:46 +0200)]
Cycles: Aligned vector was not covered by guarded stat

This was making stats printed by the logging being wrong: they did not
include such memory as BVH storage.

3 years agocmake fix full debug builds on msvc
Martijn Berger [Thu, 31 Mar 2016 06:12:41 +0000 (08:12 +0200)]
cmake fix full debug builds on msvc

3 years agoFix T47985: VSE GL-render scene strip hangs
Campbell Barton [Thu, 31 Mar 2016 04:35:47 +0000 (15:35 +1100)]
Fix T47985: VSE GL-render scene strip hangs

Regression in d5f1b9c22,
threading deadlock rendering a scene from the OpenGL preview.

3 years agoFix T47983: Particles - Emit from Verts emits double on one vert.
Bastien Montagne [Wed, 30 Mar 2016 18:59:07 +0000 (20:59 +0200)]
Fix T47983: Particles - Emit from Verts emits double on one vert.

When non-random, particle distribution used a small start offset (to avoid
zero-weight faces), which is fine with "continuous" entities like faces, but not
for discrete ones like vertices - in that case it was generating some undesired
"jump" over a few verts in case step was small enough
(i.e. total number of verts/particles was big enough).

3 years agoPartly fix (unreported) particles not updating correctly when changing settings.
Bastien Montagne [Wed, 30 Mar 2016 15:10:54 +0000 (17:10 +0200)]
Partly fix (unreported) particles not updating correctly when changing settings.

Point-cached particles (those using simulations) would not update at all outside of
first frame, due to PSYS_RECALC_RESET flag being ingnored in `system_step()`...

For some mysterious reasons, udate is still non-fully functional outside of startframe
(e.g. changing face distribution between random and jittered), but at least when choosing
'Vertices' you get particles from verts and not faces!

3 years agoCMake cleanup target_link_libraries_decoupled
Martijn Berger [Wed, 30 Mar 2016 13:15:07 +0000 (15:15 +0200)]
CMake cleanup target_link_libraries_decoupled

3 years agoFix T46623: OSX bpy.app.binary_path_python incorrect
Campbell Barton [Wed, 30 Mar 2016 11:44:44 +0000 (22:44 +1100)]
Fix T46623: OSX bpy.app.binary_path_python incorrect

CMake's PYTHON_EXECUTABLE wasn't set.

3 years agoFix T48000: Eyedropper sample-merged ignored at first
Campbell Barton [Wed, 30 Mar 2016 06:28:01 +0000 (17:28 +1100)]
Fix T48000: Eyedropper sample-merged ignored at first

3 years agoFix T47814: VSE Scene 'Use Sequence' fails
Campbell Barton [Tue, 29 Mar 2016 19:59:36 +0000 (06:59 +1100)]
Fix T47814: VSE Scene 'Use Sequence' fails

Conflict with flags between depsgraph and sequencer caused error.
Now pass state of sequencer parents to avoid recursion.

3 years agoFix T47961: Wipe effects should have 2 inputs
Campbell Barton [Tue, 29 Mar 2016 19:33:35 +0000 (06:33 +1100)]
Fix T47961: Wipe effects should have 2 inputs

3 years agoFix T47967: Select next active fails in some cases
Campbell Barton [Tue, 29 Mar 2016 17:56:18 +0000 (04:56 +1100)]
Fix T47967: Select next active fails in some cases

For cases when there are multiple matches,
find the closest match (with increasingly fuzzy tests) instead of failing.

3 years agoFix T47987: Blender Cycles standalone does not properly read UV coordinates from XML
Sergey Sharybin [Tue, 29 Mar 2016 08:02:17 +0000 (10:02 +0200)]
Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML

3 years agoFix T47986: OBJ Import fails w/ imagepath encoding
Campbell Barton [Tue, 29 Mar 2016 07:22:35 +0000 (18:22 +1100)]
Fix T47986: OBJ Import fails w/ imagepath encoding

3 years agoFix T47958: Crash in Walk or Fly Navigation in Camera mode when invoking from non...
Bastien Montagne [Mon, 28 Mar 2016 16:17:45 +0000 (18:17 +0200)]
Fix T47958: Crash in Walk or Fly Navigation in Camera mode when invoking from non-3DView region

3 years agoFix T47969: Select Random always uses same seed
Campbell Barton [Mon, 28 Mar 2016 14:20:45 +0000 (01:20 +1100)]
Fix T47969: Select Random always uses same seed

Increment the seed on each use,
otherwise calling again selects the same order, unless you manually adjust the seed.

3 years agoFix T47972: Blender crash showing particle system.
Bastien Montagne [Mon, 28 Mar 2016 13:37:08 +0000 (15:37 +0200)]
Fix T47972: Blender crash showing particle system.

Do same as with faces - if no orcodata is available, fill orco with current location...

3 years agoFix T47973: Render stamp ignores font alpha
Campbell Barton [Mon, 28 Mar 2016 13:25:07 +0000 (00:25 +1100)]
Fix T47973: Render stamp ignores font alpha

3 years agoBLF: alpha support for drawing to buffer
Campbell Barton [Mon, 28 Mar 2016 13:23:37 +0000 (00:23 +1100)]
BLF: alpha support for drawing to buffer

3 years agoFix T47931: Missed world shader update when having object dependency
Sergey Sharybin [Mon, 28 Mar 2016 08:45:29 +0000 (10:45 +0200)]
Fix T47931: Missed world shader update when having object dependency

3 years agoFix T47697: Smoke simulation doesn't work in viewport
Sergey Sharybin [Sun, 27 Mar 2016 11:19:09 +0000 (13:19 +0200)]
Fix T47697: Smoke simulation doesn't work in viewport

Seems to be a division by zero error.

Should be safe for an upcoming 'a' release.

3 years agoFix T47962: It's possible to set a Sound strip as a modifier Mask.
Bastien Montagne [Sun, 27 Mar 2016 11:01:58 +0000 (13:01 +0200)]
Fix T47962: It's possible to set a Sound strip as a modifier Mask.

3 years agoFix T47758: rigidbody bug with constraint breaking and disable collisions.
Brecht Van Lommel [Sun, 27 Mar 2016 00:25:25 +0000 (01:25 +0100)]
Fix T47758: rigidbody bug with constraint breaking and disable collisions.

This is a regression in Bullet, reverted the problematic change for now with
a custom patch.

3 years agoFix T47668: Cycles OpenCL glass not rendering correctly on AMD.
Brecht Van Lommel [Sat, 26 Mar 2016 22:44:30 +0000 (23:44 +0100)]
Fix T47668: Cycles OpenCL glass not rendering correctly on AMD.

Work around what appears to be a compiler bug.

3 years agoFix T47935: Hair particles; The display percentage parameter breaks after a render...
Bastien Montagne [Sat, 26 Mar 2016 16:41:56 +0000 (17:41 +0100)]
Fix T47935: Hair particles; The display percentage parameter breaks after a render is done.

Follow same logic in `psys_render_restore` as in `psys_render_set` - if hair and
display percentage is not 100%, we have to recompute particles...

With regular 'emitter' particles just hiding some is fine (though using random here
will not give a precise proportion...).

3 years agoFix T47951: UserId problem on reload.
Bastien Montagne [Sat, 26 Mar 2016 15:22:17 +0000 (16:22 +0100)]
Fix T47951: UserId problem on reload.

readfile.c would increment object usercount in three places, where it should not.
Remember kids: Objects are **only** refcounted by Scene's bases, and Object->proxy!

3 years agoFix Cycles debug panel, being shown in BI as well.
Thomas Dinges [Fri, 25 Mar 2016 18:59:18 +0000 (19:59 +0100)]
Fix Cycles debug panel, being shown in BI as well.

3 years agoFix T47928: Crashing save corruption with dynamic paint drip effector groups.
Bastien Montagne [Fri, 25 Mar 2016 12:15:50 +0000 (13:15 +0100)]
Fix T47928: Crashing save corruption with dynamic paint drip effector groups.

Dynapaint's `foreachIDLink` was mnot handling effector_weights->group pointer...

3 years agoRevert "Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis."
Bastien Montagne [Fri, 25 Mar 2016 11:09:59 +0000 (12:09 +0100)]
Revert "Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis."

This reverts commit fe0ca82b232dcab29030c4a20b8bd1b033d1d346.

This is a design issue, needs more thinking, for now just revert back to old behavior.

3 years agoFix T47910: Knife project fails
Campbell Barton [Thu, 24 Mar 2016 07:27:39 +0000 (18:27 +1100)]
Fix T47910: Knife project fails

Regression in fix for T43896, using screen-space precision here is very problematic,
using lower precision here works for both reports.

3 years agoFix T47838: Walk gravity fails w/ intersecting objects
Campbell Barton [Thu, 24 Mar 2016 06:50:20 +0000 (17:50 +1100)]
Fix T47838: Walk gravity fails w/ intersecting objects

Regression in 3ad0344, fix from @mano-wii.

More comprehensive fix can be done after 2.77a.

3 years agoFix T47900: VSE adjustment crashes on blank frame
Campbell Barton [Wed, 23 Mar 2016 18:17:38 +0000 (05:17 +1100)]
Fix T47900: VSE adjustment crashes on blank frame

3 years agoFix T47893: BGE crashes w/ generated mesh data
Campbell Barton [Wed, 23 Mar 2016 12:37:08 +0000 (23:37 +1100)]
Fix T47893: BGE crashes w/ generated mesh data

3 years agoFix T47890: Vertex mask w/ subsurf select fails
Campbell Barton [Wed, 23 Mar 2016 10:01:21 +0000 (21:01 +1100)]
Fix T47890: Vertex mask w/ subsurf select fails

Regression in GL refactor

3 years agoFix incorrect strncat use
Campbell Barton [Tue, 22 Mar 2016 16:54:04 +0000 (03:54 +1100)]
Fix incorrect strncat use

3 years agoFix T47830: Multi-edit w/ ui-list wont highlight
Campbell Barton [Tue, 22 Mar 2016 16:37:23 +0000 (03:37 +1100)]
Fix T47830: Multi-edit w/ ui-list wont highlight

Regression from 4d6b892.

3 years agoFix for crash of point density textures due to undefined `point_data` on loading.
Lukas Tönne [Tue, 22 Mar 2016 14:07:56 +0000 (15:07 +0100)]
Fix for crash of point density textures due to undefined `point_data` on loading.

3 years agoFix add mesh template
Bassam Kurdali [Mon, 21 Mar 2016 16:51:48 +0000 (03:51 +1100)]
Fix add mesh template

3 years agoFix T47842: UV sculpt brush widgets are available when not in uv sculpt mode.
Philipp Oeser [Mon, 21 Mar 2016 14:45:16 +0000 (15:45 +0100)]
Fix T47842: UV sculpt brush widgets are available when not in uv sculpt mode.

rB5b3af3dd made the poll function here slightly too laxist.

To be backported to 2.77 should we make an 'a' release.

Reviewed By: mont29

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

3 years agoFix T47862: VSE hard cut fails
Campbell Barton [Mon, 21 Mar 2016 08:22:39 +0000 (19:22 +1100)]
Fix T47862: VSE hard cut fails

Regression caused by changing how video length is calculated,
however similar problems could be caused by strip length changing on-disk.

3 years agoGPU: avoid redundant logic for non-spot lamps
Campbell Barton [Mon, 21 Mar 2016 05:06:04 +0000 (16:06 +1100)]
GPU: avoid redundant logic for non-spot lamps

3 years agoFix for non spot lamps calculating spot values
Campbell Barton [Mon, 21 Mar 2016 05:01:26 +0000 (16:01 +1100)]
Fix for non spot lamps calculating spot values

Logical error in D1378, also incorrectly used lamp type as a flag.

3 years agoInclude requests' cacert.pem file
Sybren A. Stüvel [Thu, 10 Mar 2016 15:58:09 +0000 (16:58 +0100)]
Include requests' cacert.pem file

This allows us to verify certificates of HTTPS connections, which is
mandatory for logins like on Blender ID.

Reviewers: campbellbarton

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

3 years agoFix T47670: cycles GLSL incorrect normal map node.
Brecht Van Lommel [Sun, 6 Mar 2016 05:54:40 +0000 (06:54 +0100)]
Fix T47670: cycles GLSL incorrect normal map node.

3 years agoFix T47670: cycles GLSL incorrect layer weight / fresnel.
Brecht Van Lommel [Sat, 5 Mar 2016 13:29:32 +0000 (14:29 +0100)]
Fix T47670: cycles GLSL incorrect layer weight / fresnel.

World space and view space normals were mixed up, we should only convert from
world to view space if a custom normal is connected, otherwise it is already in
view space.

3 years agoBlender 2.77: Point submodules to an updated hashes v2.77
Sergey Sharybin [Fri, 18 Mar 2016 12:34:06 +0000 (17:34 +0500)]
Blender 2.77: Point submodules to an updated hashes

3 years agoRevert "Fix button display clamping values"
Sergey Sharybin [Fri, 18 Mar 2016 11:45:58 +0000 (16:45 +0500)]
Revert "Fix button display clamping values"

This reverts commit e4e21480d6331903c90ab073746484498441e1ac.

3 years agoBlender 2.77; We are now at release cycle
Sergey Sharybin [Fri, 18 Mar 2016 11:43:43 +0000 (16:43 +0500)]
Blender 2.77; We are now at release cycle

3 years agoSequencer: expose GL preview alpha in scene UI
Campbell Barton [Fri, 18 Mar 2016 09:03:24 +0000 (20:03 +1100)]
Sequencer: expose GL preview alpha in scene UI

While this isn't essential, accessing this setting required navigating to each scene and using render menu.
Expose in sequencer UI for more convenient access.

3 years agoFix T47818: GPencil Sculpt Brush settings update when adjusted using scrollwheel...
Joshua Leung [Wed, 16 Mar 2016 12:12:30 +0000 (01:12 +1300)]
Fix T47818: GPencil Sculpt Brush settings update when adjusted using scrollwheel while sculpting

3 years agoFix T47760: Toggling GPencil's "Selection Mask" via Python does not update UI
Philipp Oeser [Sun, 13 Mar 2016 06:13:50 +0000 (19:13 +1300)]
Fix T47760: Toggling GPencil's "Selection Mask" via Python does not update UI

Add rna updates to greasepencil sculpt properties

D1849 by @lichtwerk, reviewed by @aligorith

3 years agoFix missing 'anim_data' in RNA API of Freestyle's linestyle.
Bastien Montagne [Wed, 16 Mar 2016 19:19:57 +0000 (20:19 +0100)]
Fix missing 'anim_data' in RNA API of Freestyle's linestyle.

Reported by Manuel Rais on ML, thanks.

3 years agoFix T47763: 2.77 RC2 (Fluid) Particle Baking slower compared to 2.67b.
Bastien Montagne [Sat, 12 Mar 2016 08:09:29 +0000 (09:09 +0100)]
Fix T47763: 2.77 RC2 (Fluid) Particle Baking slower compared to 2.67b.

Static schedule was responsible here...

Also, made a minor optimization in case adaptative (auto) subframes are enabled,
gives a few percent of speedup here.

3 years agoFix T47807: Toggle header shortcut doesn't work
Campbell Barton [Wed, 16 Mar 2016 00:33:32 +0000 (11:33 +1100)]
Fix T47807: Toggle header shortcut doesn't work

3 years agoFix T47759: Mesh 'Select less', leaves isolated verts
Campbell Barton [Tue, 15 Mar 2016 03:17:54 +0000 (14:17 +1100)]
Fix T47759: Mesh 'Select less', leaves isolated verts

Select less in mesh edit-mode would leave selected vertices/edges
in edge/face mode which don't support selecting these elements.

3 years agoFix T47784: BMesh.from_object broken keyword args
Campbell Barton [Mon, 14 Mar 2016 13:38:33 +0000 (00:38 +1100)]
Fix T47784: BMesh.from_object broken keyword args

3 years agoFix T47772: Randomize stroke has direction bias
Campbell Barton [Mon, 14 Mar 2016 10:27:56 +0000 (21:27 +1100)]
Fix T47772: Randomize stroke has direction bias

3 years agoFix T47788: Symmetrize flips multi-res data
Campbell Barton [Mon, 14 Mar 2016 03:15:56 +0000 (14:15 +1100)]
Fix T47788: Symmetrize flips multi-res data

Symmetrize was unusable with multi-res data,
add an option for the bmesh operator not to flip the multi-res depth.

3 years agoCorrect UI active state w/ bevel-factor
Campbell Barton [Wed, 9 Mar 2016 08:30:12 +0000 (19:30 +1100)]
Correct UI active state w/ bevel-factor

D1838 by @JacquesLucke

3 years agoFix/workaround T47685: Drag keymap slider fails
Campbell Barton [Wed, 9 Mar 2016 06:33:38 +0000 (17:33 +1100)]
Fix/workaround T47685: Drag keymap slider fails

This is a special case where the UI update function re-creases the keymap we're currently editing.
Making it so dragging values fails.

3 years agoFix crash loading some library blend files
Campbell Barton [Mon, 7 Mar 2016 19:49:37 +0000 (06:49 +1100)]
Fix crash loading some library blend files

Blend files with screen but no scene would crash.

3 years agoFix T47827: Single Channel Preview Error
Campbell Barton [Thu, 17 Mar 2016 12:52:49 +0000 (23:52 +1100)]
Fix T47827: Single Channel Preview Error

Fix by @sergey with own fix for big endian.

3 years agoFix T47787: When performing operation 'Make single user' -> 'obj&data', object could...
Bastien Montagne [Mon, 14 Mar 2016 13:44:11 +0000 (14:44 +0100)]
Fix T47787: When performing operation 'Make single user' -> 'obj&data', object could be removed from group.

Similar cause as in T47482, we used to have poor handling of 'user_one' cases of ID usage,
leading to inconsistent behavior depending on order of operations e.g.

Here, was object used by a group but not linked in any scene - once linked in scene,
their usercount would be 2, leading to 'making single copy', when it's actually not needed.
We now have better control here, so let's use it!

Note that other ID 'make single user' code will likely need similar fix (Images, etc.).

Safe to be backported to 2.77.

3 years agoFix T47785: Rendering Crash, Node Connector Crash, Changing Editors Crash
Sergey Sharybin [Mon, 14 Mar 2016 09:16:04 +0000 (14:16 +0500)]
Fix T47785: Rendering Crash, Node Connector Crash, Changing Editors Crash

Regressions after 2.76, to be backported to 2.77.