2 years agoFix T59389: Solidify Modifier does not work with 'beveled' Curve objects.
Bastien Montagne [Thu, 27 Dec 2018 14:01:48 +0000 (15:01 +0100)]
Fix T59389: Solidify Modifier does not work with 'beveled' Curve objects.

Curve modifier eval code was actually doing nothing to ensure we passed
mesh with valid normals when required by the modifier.

This is a bit basic, rough code, but think it should cover all cases,
time will say...

2 years agoUI: fix display of menu buttons without text and icon, and only a down arrow.
Harley Acheson [Thu, 27 Dec 2018 12:58:02 +0000 (13:58 +0100)]
UI: fix display of menu buttons without text and icon, and only a down arrow.

Differential Revision:

2 years agoUI: fix inconsistent icon button widths for popovers and enums.
Harley Acheson [Thu, 27 Dec 2018 11:48:00 +0000 (12:48 +0100)]
UI: fix inconsistent icon button widths for popovers and enums.

Differential Revision:

2 years agoFix T59799: texture paint mode crash for object with no materials.
Brecht Van Lommel [Thu, 27 Dec 2018 11:18:37 +0000 (12:18 +0100)]
Fix T59799: texture paint mode crash for object with no materials.

2 years agoMerge branch 'blender2.7'
Sergey Sharybin [Thu, 27 Dec 2018 10:43:06 +0000 (11:43 +0100)]
Merge branch 'blender2.7'

2 years agoFix T56595: Hair Dynamics stop working after saving new file
Sergey Sharybin [Thu, 27 Dec 2018 10:35:31 +0000 (11:35 +0100)]
Fix T56595: Hair Dynamics stop working after saving new file

The issue was caused by NaN valid of the average spring length being
stored in the file. This caused accumulation in the springs builder
to also deliver NaNs, which then caused solver itself to not do

Not sure why these values where never initialized prior to the
accumulation. Or even, why this runime data is stored in a DNA.

Some sanitizing is possible here, but needs to be done with care
to not disrupt Spring production.

2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Thu, 27 Dec 2018 09:53:02 +0000 (10:53 +0100)]
Merge branch 'blender2.7'

2 years agoCleanup: style
Campbell Barton [Thu, 27 Dec 2018 02:14:37 +0000 (13:14 +1100)]
Cleanup: style

2 years agoCleanup: use unsigned char (change previous commit)
Campbell Barton [Thu, 27 Dec 2018 01:54:31 +0000 (12:54 +1100)]
Cleanup: use unsigned char (change previous commit)

2 years agoCleanup: warnings
Campbell Barton [Thu, 27 Dec 2018 01:52:33 +0000 (12:52 +1100)]
Cleanup: warnings

2 years agoFix T59866: UV editor: no circle select.
Bastien Montagne [Wed, 26 Dec 2018 22:09:34 +0000 (23:09 +0100)]
Fix T59866: UV editor: no circle select.

2 years agoFix T57861: Object.ray_cast (and all RNA functions using "ob->runtime") broken in...
Bastien Montagne [Wed, 26 Dec 2018 21:48:10 +0000 (22:48 +0100)]
Fix T57861: Object.ray_cast (and all RNA functions using "ob->runtime") broken in Blender 2.80

In fact, we can get valid depsgraph 99% of time from current context.

Still added extra optionnal depsgraph parameter just in case (and also
for future, when we might be handling much more temp depsgraphs).

2 years agoGPU: Add another driver to the list of unused_fb_slot_workaround
mano-wii [Tue, 25 Dec 2018 16:36:22 +0000 (14:36 -0200)]
GPU: Add another driver to the list of unused_fb_slot_workaround

I start to think that an automatic detection would be a better solution.

2 years agoFix T59505: Knife tool cut preview line becomes black
mano-wii [Mon, 24 Dec 2018 01:32:56 +0000 (23:32 -0200)]
Fix T59505: Knife tool cut preview line becomes black

The real reason for the problem is still unknown, but this solution adds less overhead than rBdafaa6f22881.

2 years agoRevert "Fix T59505: Knife tool cut preview line becomes black"
mano-wii [Mon, 24 Dec 2018 01:18:07 +0000 (23:18 -0200)]
Revert "Fix T59505: Knife tool cut preview line becomes black"

This reverts commit dafaa6f22881419ac55f2f3fe3de9ac4023aa108.

2 years agoGP: Remove duplicate code moving to single function
Antonioya [Tue, 25 Dec 2018 10:10:05 +0000 (11:10 +0100)]
GP: Remove duplicate code moving to single function

2 years agoFix/cleanup typos and such in UI messages (and some comments).
Bastien Montagne [Mon, 24 Dec 2018 14:02:20 +0000 (15:02 +0100)]
Fix/cleanup typos and such in UI messages (and some comments).

2 years agoBuild script: Don't use external Pugi for OSL
Sergey Sharybin [Mon, 24 Dec 2018 13:36:04 +0000 (14:36 +0100)]
Build script: Don't use external Pugi for OSL

Now, things are becoming REALLY confusing. The script does build
pugi, but is never telling OIIO to use an external one. Which makes
it to use a bundled one.

Trying to link OSL to a different version of pugi causes a lot of
linking errors.

Interestingly enough, that was me who made OSL to use external pugi
to solve configuration problem. But now i can not reproduce that

Ideally we would either link everything against our pugi, or not
compile it at all.

2 years agoFix/cleanup another bunch of UI messages issues.
Bastien Montagne [Mon, 24 Dec 2018 11:31:39 +0000 (12:31 +0100)]
Fix/cleanup another bunch of UI messages issues.

Also (mostly in comments): behaviour -> behavior (we use American English).

2 years agoFix T59722: stencil texture overlay not working on macOS.
Jonathan Merritt [Mon, 24 Dec 2018 11:05:58 +0000 (12:05 +0100)]
Fix T59722: stencil texture overlay not working on macOS.

2 years agoFix T59799: crash entering texture paint mode.
Brecht Van Lommel [Mon, 24 Dec 2018 08:01:21 +0000 (09:01 +0100)]
Fix T59799: crash entering texture paint mode.

2 years agoFix floating panel (HUD) applying DPI incorrectly
Julian Eisel [Sun, 23 Dec 2018 21:31:04 +0000 (22:31 +0100)]
Fix floating panel (HUD) applying DPI incorrectly

ARegion.sizex/y should never have DPI factor applied. For regular panel
regions, DPI will be applied in region_rect_recursive already, causing
it to be applied twice when region size is set dynamically (= based on
content dimensions).

2 years agoFix and workaround for i18n messages extraction code.
Bastien Montagne [Sun, 23 Dec 2018 21:03:12 +0000 (22:03 +0100)]
Fix and workaround for i18n messages extraction code.

2 years agoCleanup: First batch of UI messages fixes (typos, final points...).
Bastien Montagne [Sun, 23 Dec 2018 20:58:59 +0000 (21:58 +0100)]
Cleanup: First batch of UI messages fixes (typos, final points...).

Also contains some code typo fixes (mostly, adtaptative -> adaptive,
former is nearly innexistant in English, let's stick to simple valid
words ;) ).

2 years agoAvoid creating & registering zero sized AZones
Julian Eisel [Sun, 23 Dec 2018 17:04:48 +0000 (18:04 +0100)]
Avoid creating & registering zero sized AZones

Would allocate memory for AZones and register them even if their
coordinates/bounding-box was all 0, meaning they're not visible and not

2 years agoGP: Small changes to help text
Antonioya [Sun, 23 Dec 2018 15:54:14 +0000 (16:54 +0100)]
GP: Small changes to help text

2 years agoGP: Add Shift+F to define strength for primitives
Antonioya [Sun, 23 Dec 2018 15:45:36 +0000 (16:45 +0100)]
GP: Add Shift+F to define strength for primitives

2 years agoFix T59783: Convert GP stroke to geometry menu disabled
Antonioya [Sun, 23 Dec 2018 15:12:28 +0000 (16:12 +0100)]
Fix T59783: Convert GP stroke to geometry menu disabled

The Convert operator works only in Object mode but it was defined in Edit menu.

Now the operator is defined in object menu and in specials menu.

2 years agoFix missing update when deleting animation channels.
Alexander Gavrilov [Sun, 23 Dec 2018 14:31:55 +0000 (17:31 +0300)]
Fix missing update when deleting animation channels.

2 years agoFix missing update when toggling NLA solo mode.
Alexander Gavrilov [Sun, 23 Dec 2018 14:02:38 +0000 (17:02 +0300)]
Fix missing update when toggling NLA solo mode.

2 years agoBLI_math_rotation: properly name the quaternion power function.
Alexander Gavrilov [Sun, 23 Dec 2018 12:25:40 +0000 (15:25 +0300)]
BLI_math_rotation: properly name the quaternion power function.

"angular mult factor" is a completely unintelligible description
for a function that raises a unit quaternion to the scalar power.

2 years agoFix T59782: Replace RMB by MMB in bottom help text
Antonioya [Sun, 23 Dec 2018 09:16:57 +0000 (10:16 +0100)]
Fix T59782: Replace RMB by MMB in bottom help text

2 years agoPoint locale sub-repo to blender2.7 branch.
Bastien Montagne [Sat, 22 Dec 2018 14:10:24 +0000 (15:10 +0100)]
Point locale sub-repo to blender2.7 branch.

Since we start translating for 2.8 very soon, better to archive 2.7x
translations in their own branch. ;)

2 years agoGP: Update Suzanne 2D object
Antonioya [Sat, 22 Dec 2018 09:56:04 +0000 (10:56 +0100)]
GP: Update Suzanne 2D object

Review of the "D Suzanne to reduce number of points and small changes in shapes and colors.

Designed by Matias Mendiola and Daniel M. Lara

2 years agoFix T59505: Knife tool cut preview line becomes black
Clément Foucault [Sat, 22 Dec 2018 00:52:37 +0000 (01:52 +0100)]
Fix T59505: Knife tool cut preview line becomes black

The root of the problem is that KnifeTool_OpData->colors was not init in
some cases. But the reason is unknown as it seems to be random and the
init function was always called.

So instead on init the color only once, we query the colors each time
we draw the knife points.
The overhead of this approach is negligeable.

2 years agoFix T59644: FPS meter not showing in VSE
Richard Antalik [Sat, 22 Dec 2018 00:27:08 +0000 (16:27 -0800)]
Fix T59644: FPS meter not showing in VSE

Issue caused probably by typo

2 years agoCleanup: const cast
Campbell Barton [Fri, 21 Dec 2018 21:14:41 +0000 (08:14 +1100)]
Cleanup: const cast

2 years agoFix T59734: cyclic dependency with drivers on PoseBone.bbone_*.
Alexander Gavrilov [Fri, 21 Dec 2018 19:35:19 +0000 (22:35 +0300)]
Fix T59734: cyclic dependency with drivers on PoseBone.bbone_*.

Allow more flexible use of drivers on B-Bone properties by
connecting the dependencies to the actual operation node that
uses the values, instead of the whole component.

2 years agoFix T58327: Quick Favorites "Remove from Favorites" missing for added
Philipp Oeser [Thu, 20 Dec 2018 12:00:32 +0000 (13:00 +0100)]
Fix T58327: Quick Favorites "Remove from Favorites" missing for added

Since user menu entries from SPACE_BUTS/SPACE_TOPBAR are also shown in
other Editors (SPACE_VIEW3D), also allow these entries to be removed
from Quick Favorites from these Editors.
Match and deduplicate logic from screen_user_menu_draw() and

Reviewers: campbellbarton, brecht

Maniphest Tasks: T58327

Differential Revision:

2 years agoFix T59686: snap to adaptive grid occurs with a "delay"
mano-wii [Fri, 21 Dec 2018 18:56:55 +0000 (16:56 -0200)]
Fix T59686: snap to adaptive grid occurs with a "delay"

In blender 2.8, when you zoom in, the adaptive subdivisions appear earlier than previous versions.
The grid still appears a little before the snap, but since it is very small I see no advantage in snap for this case.

2 years agoGP: Primitive: Changes from gp branch
Charlie Jolly [Fri, 21 Dec 2018 18:47:51 +0000 (18:47 +0000)]
GP: Primitive: Changes from gp branch

F-key to change stroke brush size
Fix random bias for jitter

2 years agoFix T59565: NaN/crash with zero radius tip of hair curves.
Brecht Van Lommel [Fri, 21 Dec 2018 17:51:13 +0000 (18:51 +0100)]
Fix T59565: NaN/crash with zero radius tip of hair curves.

2 years agoCleanup: fix more ATTR_FALLTHROUGH warnings.
Brecht Van Lommel [Fri, 21 Dec 2018 16:23:49 +0000 (17:23 +0100)]
Cleanup: fix more ATTR_FALLTHROUGH warnings.

Ref D3960.

2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Fri, 21 Dec 2018 16:05:56 +0000 (17:05 +0100)]
Merge branch 'blender2.7'

2 years agoCleanup: fix ATTR_FALLTHROUGH warnings.
Brecht Van Lommel [Fri, 21 Dec 2018 16:02:04 +0000 (17:02 +0100)]
Cleanup: fix ATTR_FALLTHROUGH warnings.

Ref D3960.

2 years agoFix T59708: decimate modifier does not show face count before decimation.
Brecht Van Lommel [Fri, 21 Dec 2018 15:53:33 +0000 (16:53 +0100)]
Fix T59708: decimate modifier does not show face count before decimation.

2 years agoFix T59691: Crash when deleting data-block video or audio in a video editor
Sergey Sharybin [Fri, 21 Dec 2018 15:50:59 +0000 (16:50 +0100)]
Fix T59691: Crash when deleting data-block video or audio in a video editor

2 years agoCleanup: Indentation
Sergey Sharybin [Fri, 21 Dec 2018 15:49:55 +0000 (16:49 +0100)]
Cleanup: Indentation

2 years agoFix T59668: UV unwrap pinning bugs.
Brecht Van Lommel [Fri, 21 Dec 2018 10:43:28 +0000 (11:43 +0100)]
Fix T59668: UV unwrap pinning bugs.

With multi object editing it creates the charts twice, which broke some
logic in the unwrapper.

2 years agoWorkbench: Fix crash when using more than one metaball
Clément Foucault [Fri, 21 Dec 2018 14:59:13 +0000 (15:59 +0100)]
Workbench: Fix crash when using more than one metaball

Was caused by recent change in logic

2 years agoFix T59608: Curves invisible in object mode
Clément Foucault [Fri, 21 Dec 2018 14:43:50 +0000 (15:43 +0100)]
Fix T59608: Curves invisible in object mode

2 years agoFix inconsistent/broken Cycles object visibility for instances.
Brecht Van Lommel [Tue, 18 Dec 2018 17:18:00 +0000 (18:18 +0100)]
Fix inconsistent/broken Cycles object visibility for instances.

Object visibility is now handled by the depsgraph iterator, but this API
was incomplete as it made no distinction for visibility of the object itself,
particles and generated instances.

The depsgraph iterator API now includes information about which part of the
object is visible, and this is used by Cycles to replace the old custom logic.
Cycles and EEVEE visibility should now be consistent, which unfortunately does
means some subtle compatibility breakage for both.

Fixes T58956, T58202, T59284.

Differential Revision:

2 years agoMerge branch 'blender2.7' into master.
Brecht Van Lommel [Fri, 21 Dec 2018 14:36:22 +0000 (15:36 +0100)]
Merge branch 'blender2.7' into master.

2 years agoFix T57907: Crash with hair when switching between object and edit mode
Sergey Sharybin [Fri, 21 Dec 2018 13:24:16 +0000 (14:24 +0100)]
Fix T57907: Crash with hair when switching between object and edit mode

Was only visible after going in and out (with some strokes inbetween)
hair edit mode. The edit structure was never freed during Blender
session for some reason. Now we free those when leaving particle
edit mode.

2 years agoFix T59687: Crash when rendering animation
Sergey Sharybin [Fri, 21 Dec 2018 13:23:06 +0000 (14:23 +0100)]
Fix T59687: Crash when rendering animation

The issue was caused by shape keys datablock from evaluated mesh
being added to the main database.

This commit makes it so shape keys are not copied for the mesh
used as cage.

2 years agoUpdate for moving blender2.8 to master.
Brecht Van Lommel [Thu, 20 Dec 2018 13:45:55 +0000 (14:45 +0100)]
Update for moving blender2.8 to master.

2 years agoUpdate .arcconfig for moving master to blender2.7 branch.
Brecht Van Lommel [Fri, 21 Dec 2018 11:12:32 +0000 (12:12 +0100)]
Update .arcconfig for moving master to blender2.7 branch.

2 years agoUpdate for moving master to blender2.7 branch.
Brecht Van Lommel [Thu, 20 Dec 2018 13:42:01 +0000 (14:42 +0100)]
Update for moving master to blender2.7 branch.

2 years agoCorrect orientation pie menu
Campbell Barton [Fri, 21 Dec 2018 10:29:04 +0000 (21:29 +1100)]
Correct orientation pie menu

Missing from recent orientation update.

2 years agoGP: Cleanup weird thickness scale
Antonioya [Fri, 21 Dec 2018 10:26:58 +0000 (11:26 +0100)]
GP: Cleanup weird thickness scale

This code used old factor, but now this only adds complexity and makes code hard to understand.

2 years agoFix T57816: Crash when deleting recently orphaned collection
Dalai Felinto [Tue, 18 Dec 2018 22:36:57 +0000 (20:36 -0200)]
Fix T57816: Crash when deleting recently orphaned collection

We were never removing the parent collection from a collection upon removal
of the parent.

Reviewers: mont29

Differential Revision:

2 years agoFix T59673: wrong B-Bone handle references when duplicating bones.
Alexander Gavrilov [Fri, 21 Dec 2018 09:09:49 +0000 (12:09 +0300)]
Fix T59673: wrong B-Bone handle references when duplicating bones.

Also fix and improve symmetrize behavior.

2 years agoFix T59709: Light target gizmo scaling
Campbell Barton [Fri, 21 Dec 2018 08:17:30 +0000 (19:17 +1100)]
Fix T59709: Light target gizmo scaling

Gizmo was scaling w/ object.

2 years agoGP: Move calculated center only for selected strokes
Antonioya [Fri, 21 Dec 2018 07:44:38 +0000 (08:44 +0100)]
GP: Move calculated center only for selected strokes

2 years agoGP: Cleanup API removing extra ID parameter
Antonioya [Fri, 21 Dec 2018 07:43:00 +0000 (08:43 +0100)]
GP: Cleanup API removing extra ID parameter

2 years agoFix bug selecting verts in mixed edge/vert mode
Campbell Barton [Fri, 21 Dec 2018 07:16:41 +0000 (18:16 +1100)]
Fix bug selecting verts in mixed edge/vert mode

Own regression from 2.7x when adding multi-object select support.

2 years agoRNA: naming, user-preferences -> preferences
Campbell Barton [Fri, 21 Dec 2018 01:47:44 +0000 (12:47 +1100)]
RNA: naming, user-preferences -> preferences

2 years ago3D View: add object color drawing option
Campbell Barton [Fri, 21 Dec 2018 00:40:47 +0000 (11:40 +1100)]
3D View: add object color drawing option

Has some advantages over existing options.

- Using material links color to rendering with no way to vary colors
  if objects share a material.
- Random gives no control, objects may randomly have the same color,
  duplicating an object often changes it's color.

2 years agoCleanup: unused arg
Campbell Barton [Fri, 21 Dec 2018 00:38:38 +0000 (11:38 +1100)]
Cleanup: unused arg

2 years agoCleanup: macro hygiene, line length
Campbell Barton [Thu, 20 Dec 2018 23:46:26 +0000 (10:46 +1100)]
Cleanup: macro hygiene, line length

2 years agoMesh Batch Cache: Fix missing flag for looptris indexbuf generation
Clément Foucault [Thu, 20 Dec 2018 22:42:21 +0000 (23:42 +0100)]
Mesh Batch Cache: Fix missing flag for looptris indexbuf generation

Fix T59637: Crash report - Overlays -> Face Orientation causes crash

2 years agoWorkbench: Fix wrong TEXTURE_DRAWING_ENABLED check and rework drawing logic
Clément Foucault [Thu, 20 Dec 2018 22:23:59 +0000 (23:23 +0100)]
Workbench: Fix wrong TEXTURE_DRAWING_ENABLED check and rework drawing logic

This makes the code easier to follow. Batches are now assumed to be not
NULL as the request system garatees it.

2 years agoUI: use smaller widget for expanding hidden region
Campbell Barton [Thu, 20 Dec 2018 22:08:21 +0000 (09:08 +1100)]
UI: use smaller widget for expanding hidden region

The '+' widget to show a hidden region came too close to overlapping
the viewport navigation gizmo and text editor text.

Reduce size and use an arrow icon.

D4110 by @gnastacast

2 years agoLibrary: correct BKE_id_to_unique_string_key fix
Campbell Barton [Thu, 20 Dec 2018 21:33:36 +0000 (08:33 +1100)]
Library: correct BKE_id_to_unique_string_key fix

2 years agoGP: Use only selected points to calc transform center
Antonioya [Thu, 20 Dec 2018 20:25:29 +0000 (21:25 +0100)]
GP: Use only selected points to calc transform center

2 years agoGP: Enable center for Local Origins only
Antonioya [Thu, 20 Dec 2018 18:32:22 +0000 (19:32 +0100)]
GP: Enable center for Local Origins only

This produces very interesting effects when move using proportional editing.

2 years agoGP: Undo center calculation
Antonioya [Thu, 20 Dec 2018 18:15:01 +0000 (19:15 +0100)]
GP: Undo center calculation

This is breaking the transformation with falloff enabled.

2 years agoGP: Change default parameters for convert curves.
Antonioya [Thu, 20 Dec 2018 16:35:59 +0000 (17:35 +0100)]
GP: Change default parameters for convert curves.

Now the link strokes is disabled by default.

Also some minor changes to adapt to new GP object.

2 years agoFix T59648: Linking material to greasepencil object causes crash
Antonioya [Thu, 20 Dec 2018 16:14:03 +0000 (17:14 +0100)]
Fix T59648: Linking material to greasepencil object causes crash

2 years agoGP: Changes in API to make internal update
Antonioya [Thu, 20 Dec 2018 15:52:03 +0000 (16:52 +0100)]
GP: Changes in API to make internal update

Now, the internal data is recalculated when add or remove a point.

The change in the API affect to stroke.points.add() that now requires a datablock parameter. This parameter is required to identify the datablock affected.

For example:  stroke.points.add(gpencil, 1) instead of  stroke.points.add(1)

This is the second try to fix T59600

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 20 Dec 2018 15:48:41 +0000 (16:48 +0100)]
Merge branch 'master' into blender2.8

2 years agoCycles: Fixes for recent curve robustness
Sergey Sharybin [Thu, 20 Dec 2018 15:45:38 +0000 (16:45 +0100)]
Cycles: Fixes for recent curve robustness

The key indices were wrong: need to offset curve key index
by first curve key index. Also corrected calculation of the
interpolation step.

Annoyingly, can not reproduce this on a simple file, need
production rig. For the possible future look the following
file from Spring was used:

2 years agoFix T59672: UVs are not updating when changed in panel
Jacques Lucke [Thu, 20 Dec 2018 12:39:02 +0000 (13:39 +0100)]
Fix T59672: UVs are not updating when changed in panel

Reviewers: brecht

Differential Revision:

2 years agoRevert "GP: New Python update API functions (WIP)"
Antonioya [Thu, 20 Dec 2018 11:35:06 +0000 (12:35 +0100)]
Revert "GP: New Python update API functions (WIP)"

This reverts commit e79f401ffa7d5354dde01073bbb4b7dd742fd32b.

The new API were against general design rules.

2 years agoFix T59674: context menu for channels not found
Jacques Lucke [Thu, 20 Dec 2018 12:36:25 +0000 (13:36 +0100)]
Fix T59674: context menu for channels not found

2 years agoFix T59083: normal transform orientation ignores absolute grid snap.
Sebastian Parborg [Thu, 20 Dec 2018 11:48:32 +0000 (12:48 +0100)]
Fix T59083: normal transform orientation ignores absolute grid snap.

Absolute grid snap now takes into account the transform local axis.

Differential Revision:

2 years agoFix for camera background images options not showing when using stereoscopy.
Sebastian Koenig [Thu, 20 Dec 2018 10:27:51 +0000 (11:27 +0100)]
Fix for camera background images options not showing when using stereoscopy.

Differential Revision:

2 years agoGP: New Python update API functions (WIP)
Antonioya [Thu, 20 Dec 2018 11:35:06 +0000 (12:35 +0100)]
GP: New Python update API functions (WIP)

For strokes:


For datablock:

gpencil =['gpencil']

Still need a manual refresh of viewport.

2 years agoFix T57777: Decimate modifier face count does not work
Jacques Lucke [Thu, 20 Dec 2018 10:17:45 +0000 (11:17 +0100)]
Fix T57777: Decimate modifier face count does not work

Reviewers: brecht

Differential Revision:

2 years agoFix T57045: Unhandled degenerate case in bevel code
Jacques Lucke [Thu, 20 Dec 2018 09:58:50 +0000 (10:58 +0100)]
Fix T57045: Unhandled degenerate case in bevel code

Reviewers: howardt

Differential Revision:

2 years agoFix T58404: Node/Socket grabbing with Lasso tool
Jacques Lucke [Thu, 20 Dec 2018 09:55:30 +0000 (10:55 +0100)]
Fix T58404: Node/Socket grabbing with Lasso tool

Reviewers: brecht

Differential Revision:

2 years agoCorrect own error in 1ce9a142b6abd
Campbell Barton [Thu, 20 Dec 2018 07:18:42 +0000 (18:18 +1100)]
Correct own error in 1ce9a142b6abd

Enum for scene orientations included default.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Dec 2018 06:53:12 +0000 (17:53 +1100)]
Merge branch 'master' into blender2.8

2 years agoFix T59074: BMesh intersect hangs
Campbell Barton [Thu, 20 Dec 2018 06:50:36 +0000 (17:50 +1100)]
Fix T59074: BMesh intersect hangs

This is a degenerate intersection, exit early instead of hanging.

2 years agoCleanup: naming
Campbell Barton [Thu, 20 Dec 2018 06:30:04 +0000 (17:30 +1100)]
Cleanup: naming

2 years agoCorrect error in last commit
Campbell Barton [Thu, 20 Dec 2018 05:41:40 +0000 (16:41 +1100)]
Correct error in last commit

2 years agoFix context menu w/o an active object
Campbell Barton [Thu, 20 Dec 2018 04:26:27 +0000 (15:26 +1100)]
Fix context menu w/o an active object

Also remove special case when no items are selected,
since this only has one or two menu items, one being the add menu
which can be better accessed from the header or add shortcut.

If the no-selection case is to have it's own alternate menu - it should
be more complete before enabling.

2 years agoKeymap: use action-tweak for node re-route
Campbell Barton [Thu, 20 Dec 2018 03:59:36 +0000 (14:59 +1100)]
Keymap: use action-tweak for node re-route

Avoids same kinds of conflicts as link-cut w/ box select.

2 years agoTool System: default node editor to select tool
Campbell Barton [Thu, 20 Dec 2018 03:26:50 +0000 (14:26 +1100)]
Tool System: default node editor to select tool

With box select you can't cut-links with RMB select.

2 years agoFix T59300: Box select fails in node-editor
Campbell Barton [Thu, 20 Dec 2018 03:00:56 +0000 (14:00 +1100)]
Fix T59300: Box select fails in node-editor