blender.git
10 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Dec 2018 01:24:37 +0000 (12:24 +1100)]
Merge branch 'master' into blender2.8

10 months agoPyAPI: don't truncate enums in exception messages
Campbell Barton [Thu, 20 Dec 2018 01:19:42 +0000 (12:19 +1100)]
PyAPI: don't truncate enums in exception messages

Not necessary and confusing when only some of the items are displayed.

See: T59044

10 months agoCleanup: remove intermediate menu drawing function
Campbell Barton [Thu, 20 Dec 2018 01:02:21 +0000 (12:02 +1100)]
Cleanup: remove intermediate menu drawing function

10 months agoFix T58937: Appended menus to VIEW3D_MT_editor_menus are not displayed
Campbell Barton [Thu, 20 Dec 2018 01:00:20 +0000 (12:00 +1100)]
Fix T58937: Appended menus to VIEW3D_MT_editor_menus are not displayed

10 months agoUI: add UILayout.direction
Campbell Barton [Thu, 20 Dec 2018 00:59:31 +0000 (11:59 +1100)]
UI: add UILayout.direction

Read only attribute, needed for introspection.

10 months agoUI: add method to draw menu contents
Campbell Barton [Thu, 20 Dec 2018 00:33:08 +0000 (11:33 +1100)]
UI: add method to draw menu contents

This supports expanding menu contents into an existing layout.

Needed to fix T58937.

10 months agoFix possible key collision w/ BKE_id_to_unique_string_key
Campbell Barton [Wed, 19 Dec 2018 22:31:56 +0000 (09:31 +1100)]
Fix possible key collision w/ BKE_id_to_unique_string_key

BKE_id_full_name_get doesn't ensure unique output, use a simple
method to create a unique key, guaranteed not to collide.

10 months agoFix T59626: Outliner rename overlaps icons
Campbell Barton [Wed, 19 Dec 2018 21:56:58 +0000 (08:56 +1100)]
Fix T59626: Outliner rename overlaps icons

Fix for T59219 was using low alpha-light grey for text background
so editing text would always be slightly brighter then the existing
background.

This causes outliner rename to have low alpha making text overlap
icons.

Use solid color to avoid issues with overlapping UI
elements in the future.

10 months agoFix T59579: Grease Pencil copy buffer loses material information
Antonioya [Wed, 19 Dec 2018 21:56:29 +0000 (22:56 +0100)]
Fix T59579: Grease Pencil copy buffer loses material information

10 months agoMesh Batch Cache: Fix uninitialized loop variable
Clément Foucault [Wed, 19 Dec 2018 13:07:44 +0000 (14:07 +0100)]
Mesh Batch Cache: Fix uninitialized loop variable

10 months agoFix crash clicking on trackball widget
Campbell Barton [Wed, 19 Dec 2018 21:13:28 +0000 (08:13 +1100)]
Fix crash clicking on trackball widget

Missing check in newly added gizmo orientations.

10 months agoCleanup: argument wrapping indentation
Campbell Barton [Wed, 19 Dec 2018 21:01:39 +0000 (08:01 +1100)]
Cleanup: argument wrapping indentation

10 months agoUI: expose gizmo orientation as a single enum
Campbell Barton [Wed, 19 Dec 2018 20:43:50 +0000 (07:43 +1100)]
UI: expose gizmo orientation as a single enum

Avoids awkward logic from the popover,
by faking an extra item in the enum.

10 months agoFix T59391: Crash snapping to active
Sebastian Parborg [Wed, 19 Dec 2018 19:51:28 +0000 (06:51 +1100)]
Fix T59391: Crash snapping to active

10 months agoFix T59387: Axis target crash
Sebastian Parborg [Wed, 19 Dec 2018 19:32:51 +0000 (06:32 +1100)]
Fix T59387: Axis target crash

10 months agoGP: Fix error drawing on Camera view for Surface/Stroke
Antonioya [Wed, 19 Dec 2018 18:50:07 +0000 (19:50 +0100)]
GP: Fix error drawing on Camera view for Surface/Stroke

This bug was introduced fixing task T59595

10 months agoGP: Primitive: Add MMB to confirm
Charlie Jolly [Wed, 19 Dec 2018 17:39:37 +0000 (17:39 +0000)]
GP: Primitive: Add MMB to confirm

Based on GP team feedback

10 months agoFix (unreported): Wireframe fails in the sculpt mode on some AMD GPUs.
mano-wii [Wed, 19 Dec 2018 15:24:56 +0000 (13:24 -0200)]
Fix (unreported): Wireframe fails in the sculpt mode on some AMD GPUs.

10 months agoFix T59595: Grease Pencil and CameraView
Antonioya [Wed, 19 Dec 2018 16:07:12 +0000 (17:07 +0100)]
Fix T59595: Grease Pencil and CameraView

The perspective effect deformed the stroke. Now when you are in camera view and the lock axis is not enabled, the stroke is reprojected flat over the view to remove any deformation.

Also fixed reproject operator to use the origin set in topbar and not cursor 3D always.

10 months agoFix T59574: Prop_search fails to set objects from scene.
Bastien Montagne [Wed, 19 Dec 2018 15:59:24 +0000 (16:59 +0100)]
Fix T59574: Prop_search fails to set objects from scene.

Another case where editstr from search button would be used, when we
actually have desired pointer itself already available in button.

Am growing tired of doing bandaids fixes on that search menu stuff,
whole thing would require some real re-coding imho, to get rid of that
tantacular dependency over string 'identifier' only (when we should also
have access to at the very least, the active index, and also probably
active data pointer itself...).
And/or clearly separate string identifier from 'UI' string shown to user.

10 months agoFix T58376: incorrect tooltip in subsurf modifier
Jacques Lucke [Wed, 19 Dec 2018 16:00:20 +0000 (17:00 +0100)]
Fix T58376: incorrect tooltip in subsurf modifier

10 months agoFix T59273: Text object disappears when Fill Mode is set to None
Jacques Lucke [Wed, 19 Dec 2018 14:53:29 +0000 (15:53 +0100)]
Fix T59273: Text object disappears when Fill Mode is set to None

Reviewers: fclem

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

10 months agoFixes for particle system and physics
Sergey Sharybin [Wed, 19 Dec 2018 14:36:09 +0000 (15:36 +0100)]
Fixes for particle system and physics

- Silence harmless error print about relation.

  Object with particle system which doesn't use physics will
  not have point cache component.

- Tag relations for update when particle system physics type
  change.

  This ensures correct state of point cache component.

This is all part of T59258.

10 months agoFix T58739: Camera Location, keyframe Bug
Sergey Sharybin [Wed, 19 Dec 2018 13:59:23 +0000 (14:59 +0100)]
Fix T58739: Camera Location, keyframe Bug

This was originally caused by fix for T53788. Not sure why extra
`where_is` is needed there, the object is supposed to be evaluated
already.

10 months agoBLI_bitmap: add functions operating on the whole bitmask.
Alexander Gavrilov [Sat, 15 Dec 2018 08:47:24 +0000 (11:47 +0300)]
BLI_bitmap: add functions operating on the whole bitmask.

There is no point having operations that iterate over the whole
bit array as macros, so convert BLI_BITMAP_SET_ALL to a function.
Also, add more utilities for copying and manipulating masks.

Reviewers: brecht, campbellbarton

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

10 months agoGP: Primitive: Fix jitter
Charlie Jolly [Wed, 19 Dec 2018 12:18:16 +0000 (12:18 +0000)]
GP: Primitive: Fix jitter

Missing vector calculation.

10 months agoGP: Primitive: Add RMB behaviour to Grab/Move
Charlie Jolly [Wed, 19 Dec 2018 10:17:14 +0000 (10:17 +0000)]
GP: Primitive: Add RMB behaviour to Grab/Move

10 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 19 Dec 2018 11:58:22 +0000 (12:58 +0100)]
Merge branch 'master' into blender2.8

10 months agoBuild info: Ensure hash length is same across all platforms and has no conflicts
Sergey Sharybin [Wed, 19 Dec 2018 11:47:25 +0000 (12:47 +0100)]
Build info: Ensure hash length is same across all platforms and has no conflicts

The original issue was that different platforms will use different
hash lengths, just because defaults on Git client were different.

Now we use explicit length for the hash, and length is the same as
is used for short hashes in Linux -- apparently they started to have
collisions with length of 11.

10 months agoUI: move gizmo orientation settings into popover
Campbell Barton [Wed, 19 Dec 2018 11:36:33 +0000 (22:36 +1100)]
UI: move gizmo orientation settings into popover

Instead of link toggle with enum, use a single popover that contains
both settings. The code for this isn't nice - needing 3x panels for now.

See D4075

10 months agoMerge branch 'master' into blender2.8
Philipp Oeser [Wed, 19 Dec 2018 11:38:31 +0000 (12:38 +0100)]
Merge branch 'master' into blender2.8

10 months agoFix Proportional Edit Projected 2D method skiped center calculation
Philipp Oeser [Wed, 19 Dec 2018 10:46:42 +0000 (11:46 +0100)]
Fix Proportional Edit Projected 2D method skiped center calculation

rBa520e7c85c83 defined T_OVERRIDE_CENTER(1 << 25)
which was already in use T_PROP_PROJECTED(1 << 25)
thus skipping center calculation

Fixes T58882, T59518

Reviewers: campbellbarton, brecht

Maniphest Tasks: T58882, T59518

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

10 months agoFix T59578: enabling "vertex group weights" in edit mode results in crash
Clément Foucault [Wed, 19 Dec 2018 11:32:04 +0000 (12:32 +0100)]
Fix T59578: enabling "vertex group weights" in edit mode results in crash

10 months agoRNA: support setting default values for custom properties.
Alexander Gavrilov [Sat, 15 Dec 2018 19:37:12 +0000 (22:37 +0300)]
RNA: support setting default values for custom properties.

NLA requires a usable default value for all properties that
are to be animated via it, without any exceptions. This is
the real cause of T36496: using the default of 0 for a scale
related custom property obviously doesn't work.

Thus, to really fix this it is necessary to support configurable
default values for custom properties, which are very frequently
used in rigs for auxiliary settings. For common use it is enough
to support this for scalar float and integer properties.

The default can be set via the custom property configuration
popup, or a right click menu option. In addition, to help in
updating old rigs, an operator that saves current values as
defaults for all object and bone properties is added.

Reviewers: campbellbarton, brecht

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

10 months agoFix T59237: Instancing on a path doesn't do anything
Sergey Sharybin [Wed, 19 Dec 2018 10:20:32 +0000 (11:20 +0100)]
Fix T59237: Instancing on a path doesn't do anything

This commit makes it so curve path parent solving accepts an explicit
arguments for both time and curve speed flag, making it so we don't
have to mock around with scene's frame.

One unfortunate issue still is that if the instancing object is used
for something else, we might be running into a threading conflict.
Possible solution would be to create a temp copy of an object, but
then it will be an issue of preventing drivers from modifying other
datablocks.

At least the original issue is fixed now, and things behave same as
in older Blender version. Additionally, the global variable which
was defining curve speed flag behavior is gone now!

10 months agoFix T59500: Weight Smoothing Not Working
Philipp Oeser [Tue, 18 Dec 2018 10:19:57 +0000 (11:19 +0100)]
Fix T59500: Weight Smoothing Not Working

Reviewers: brecht, dfelinto

Maniphest Tasks: T59500

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

10 months agoUI: show panel type in Python tooltips
Campbell Barton [Wed, 19 Dec 2018 10:49:04 +0000 (21:49 +1100)]
UI: show panel type in Python tooltips

Handy when editing UI scripts.

10 months agoRNA: convenience method for orientation name & icon
Campbell Barton [Wed, 19 Dec 2018 10:40:06 +0000 (21:40 +1100)]
RNA: convenience method for orientation name & icon

Avoids RNA introspection at draw time
which is relatively slow (approx 5x).

10 months agoGizmo: optional custom orientations for transform
Campbell Barton [Wed, 19 Dec 2018 09:51:04 +0000 (20:51 +1100)]
Gizmo: optional custom orientations for transform

This aims to resolve a conflict where some users want to keep keyboard
axis setting global, even when the orientation is set to something else.

Move/rotate/scale can optionally each have a separate orientation.

Some UI changes will be made next.

10 months agoTransform: use the scenes transform orientation
Campbell Barton [Wed, 19 Dec 2018 09:44:14 +0000 (20:44 +1100)]
Transform: use the scenes transform orientation

- Use the user orientation when pressing XYZ keys,
  second press switches to global.
- Pressing again switches to global, or local
  if you're have global orientation set.

The option for gizmos to have their own orientations will be added,
see: D4075

10 months agoGP: Update Gizmo position when select
Antonioya [Wed, 19 Dec 2018 08:13:44 +0000 (09:13 +0100)]
GP: Update Gizmo position when select

10 months agoTheme: use menu text color for floating redo panel
Campbell Barton [Wed, 19 Dec 2018 02:09:05 +0000 (13:09 +1100)]
Theme: use menu text color for floating redo panel

blender_light theme was showing black text on dark background.

10 months agostartup: default file selector to empty filename
Campbell Barton [Wed, 19 Dec 2018 01:40:58 +0000 (12:40 +1100)]
startup: default file selector to empty filename

Someone saved startup.blend w/ filename, tsk.

10 months agoFix T57139: Transform overlay shows even when disabled
Campbell Barton [Wed, 19 Dec 2018 01:26:33 +0000 (12:26 +1100)]
Fix T57139: Transform overlay shows even when disabled

Transform bypasses the gizmo API for drawing overlays,
so custom checks are needed.

Also don't draw the gizmo in other windows when transforming.

10 months agoFix invalid string comparison
Campbell Barton [Wed, 19 Dec 2018 00:38:20 +0000 (11:38 +1100)]
Fix invalid string comparison

10 months agoFix invalid string comparison
Campbell Barton [Wed, 19 Dec 2018 00:38:20 +0000 (11:38 +1100)]
Fix invalid string comparison

10 months agoUI: tweak shading popover
Campbell Barton [Wed, 19 Dec 2018 00:23:21 +0000 (11:23 +1100)]
UI: tweak shading popover

Show backface culling option even with rendered shading since it doesn't
yet support meshes two-sided option (noted as TODO).

Also correct bad string comparison.

10 months agoDNA: move back-face culling to shading popover
Campbell Barton [Tue, 18 Dec 2018 23:55:53 +0000 (10:55 +1100)]
DNA: move back-face culling to shading popover

Overlay options shouldn't be used when overlays are disabled.

Move to shading popover, reported as T58070.

10 months agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 18 Dec 2018 23:28:26 +0000 (10:28 +1100)]
Merge branch 'master' into blender2.8

10 months agoCleanup: spelling
Campbell Barton [Tue, 18 Dec 2018 23:16:08 +0000 (10:16 +1100)]
Cleanup: spelling

10 months agoCleanup: use static struct for app-template state
Campbell Barton [Tue, 18 Dec 2018 23:07:30 +0000 (10:07 +1100)]
Cleanup: use static struct for app-template state

10 months agoGP: Add calculation of center for transformation by stroke (WIP)
Antonioya [Tue, 18 Dec 2018 21:56:23 +0000 (22:56 +0100)]
GP: Add calculation of center for transformation by stroke (WIP)

10 months agoGP: Improve z-depth for Blur FX
Antonioya [Tue, 18 Dec 2018 21:54:53 +0000 (22:54 +0100)]
GP: Improve z-depth for Blur FX

Instead to get an average value, use the lower value.

Still some issues when render.

10 months agoMesh Batch Cache: Port loose_edges to batch request
Clément Foucault [Tue, 18 Dec 2018 20:45:46 +0000 (21:45 +0100)]
Mesh Batch Cache: Port loose_edges to batch request

10 months agoEdit Mode: Show loose edges if in draw type is wire
Clément Foucault [Tue, 18 Dec 2018 20:45:06 +0000 (21:45 +0100)]
Edit Mode: Show loose edges if in draw type is wire

10 months agoWireframe Overlay: Make use of colorTransform when transforming an object
Clément Foucault [Tue, 18 Dec 2018 20:39:56 +0000 (21:39 +0100)]
Wireframe Overlay: Make use of colorTransform when transforming an object

10 months agoMesh Batch Cache: Cleanup / Reorder function for more consistency
Clément Foucault [Tue, 18 Dec 2018 20:03:47 +0000 (21:03 +0100)]
Mesh Batch Cache: Cleanup / Reorder function for more consistency

10 months agoFix T58899: Eevee - Material Index missing from panel
Dalai Felinto [Tue, 18 Dec 2018 20:39:50 +0000 (18:39 -0200)]
Fix T58899:  Eevee - Material Index missing from panel

10 months agoWorkbench: Fix crash when sculpting with a multi material mesh
Clément Foucault [Tue, 18 Dec 2018 19:51:32 +0000 (20:51 +0100)]
Workbench: Fix crash when sculpting with a multi material mesh

10 months agoMesh Batch Cache: Port edge_detection to batch request
Clément Foucault [Tue, 18 Dec 2018 18:56:55 +0000 (19:56 +0100)]
Mesh Batch Cache: Port edge_detection to batch request

Also add proper support for mapped meshes (deformed by modifiers in edit
mode). So this fixes the shadows of workbench in edit mode.

10 months agoDRW: Cleanup / Renaming of mesh batch cache functions
Clément Foucault [Tue, 18 Dec 2018 16:10:38 +0000 (17:10 +0100)]
DRW: Cleanup / Renaming of mesh batch cache functions

THis is in order to avoid the jungle of names being different at each
step of the API.

Also removes some unused functions.

10 months agoMesh Batch Cache: Port all_edges batch to batch request
Clément Foucault [Tue, 18 Dec 2018 15:34:32 +0000 (16:34 +0100)]
Mesh Batch Cache: Port all_edges batch to batch request

10 months agoDRW: Fix flat object not being selectable in wireframe view
Clément Foucault [Tue, 18 Dec 2018 14:08:33 +0000 (15:08 +0100)]
DRW: Fix flat object not being selectable in wireframe view

The problem was double. They were not selectable in wireframe view and
they would not display with the right color, thus always appearing
un-selected.

10 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Tue, 18 Dec 2018 19:33:04 +0000 (20:33 +0100)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/editors/transform/transform_conversions.c

10 months agoFix T59104: Snapping: Align rotation to target broken in edit mode.
Bastien Montagne [Tue, 18 Dec 2018 19:27:50 +0000 (20:27 +0100)]
Fix T59104: Snapping: Align rotation to target broken in edit mode.

This has been unbelievably painful to understand... And solution is only
partially good actually, we may even want a single axis for all the
islands in that case? But for now this is giving much better results
already, compared to the random crazyness it used to produce.

10 months agoFix T58335: Grease Pencil Objects in Edit Mode have transform gizmos in wrong location
Charlie Jolly [Tue, 18 Dec 2018 19:18:32 +0000 (19:18 +0000)]
Fix T58335: Grease Pencil Objects in Edit Mode have transform gizmos in wrong location

Original fix P874 with changes from @brecht

10 months agoPotential fix for sculpt mask diffuse color drawing update
Dalai Felinto [Tue, 18 Dec 2018 18:47:55 +0000 (16:47 -0200)]
Potential fix for sculpt mask diffuse color drawing update

The sculpt mask diffuse color is not working right now. But when it does it
should follow on the fix for the sculpt mask drawing update (e113b402bd57).

10 months agoFix Sculpt mask enable/disable does not update drawing immediatelly
Dalai Felinto [Tue, 18 Dec 2018 18:36:58 +0000 (16:36 -0200)]
Fix Sculpt mask enable/disable does not update drawing immediatelly

Reported as part of T59576.

10 months agoFix T59569: crashes when generate rig.
Alexander Gavrilov [Tue, 18 Dec 2018 16:51:05 +0000 (19:51 +0300)]
Fix T59569: crashes when generate rig.

The fix in 9fa408f51b missed one place that needed the
check, causing the assert because of incomplete data.

10 months agoFix for T59325. Constraint to Fcurve in Motion Tracking was broken
Sebastian Koenig [Tue, 18 Dec 2018 16:48:27 +0000 (17:48 +0100)]
Fix for T59325. Constraint to Fcurve in Motion Tracking was broken

The check was wrongly ported from querying selection to setting selection.

Reviewers: sergey, brecht

Subscribers: brecht, ElDirector

Tags: #motion_tracking

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

10 months agoGP: Primitive: Fix flickering when using a noise brush
Charlie Jolly [Tue, 18 Dec 2018 15:51:46 +0000 (15:51 +0000)]
GP: Primitive: Fix flickering when using a noise brush

Previously, the random values were generated every draw, now they are generated once.

10 months agoFix enum icon button size for fractional UI scale.
Brecht Van Lommel [Tue, 18 Dec 2018 14:28:24 +0000 (15:28 +0100)]
Fix enum icon button size for fractional UI scale.

Err on the side of too much padding.

10 months agoFix edit mesh component buttons width not being consistent.
Harley Acheson [Tue, 18 Dec 2018 14:23:01 +0000 (15:23 +0100)]
Fix edit mesh component buttons width not being consistent.

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

10 months agoFix T59536: safe area values were swapped
Jacques Lucke [Tue, 18 Dec 2018 14:19:45 +0000 (15:19 +0100)]
Fix T59536: safe area values were swapped

Reviewers: brecht

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

10 months agoMerge branch 'master' into blender2.8
Philipp Oeser [Tue, 18 Dec 2018 14:10:35 +0000 (15:10 +0100)]
Merge branch 'master' into blender2.8

10 months agoFix T59564: Huion pen pressure not working on Linux, after recent changes.
Brecht Van Lommel [Tue, 18 Dec 2018 13:30:00 +0000 (14:30 +0100)]
Fix T59564: Huion pen pressure not working on Linux, after recent changes.

10 months agoFix T59009: UV unwrapp correct aspect fails on some shapes.
Daniel [Tue, 18 Dec 2018 12:52:39 +0000 (13:52 +0100)]
Fix T59009: UV unwrapp correct aspect fails on some shapes.

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

10 months agoFix T55105: Smoke Emission from particles was ignoring lattice deformer
Philipp Oeser [Tue, 22 May 2018 07:25:23 +0000 (09:25 +0200)]
Fix T55105: Smoke Emission from particles was ignoring lattice deformer
on the particles

10 months agoFix crash with armature custom bone in wireframe mode
Clément Foucault [Tue, 18 Dec 2018 13:50:50 +0000 (14:50 +0100)]
Fix crash with armature custom bone in wireframe mode

10 months agoFix T59484: Particles Lattice deform fails
Philipp Oeser [Tue, 18 Dec 2018 12:48:25 +0000 (13:48 +0100)]
Fix T59484: Particles Lattice deform fails

this was working for object/collection display/render but lattice was
not taken into account for non object/collection display/render types
(halo, axis, cross, circle, ...)

Reviewers: sergey, brecht

Maniphest Tasks: T59484

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

10 months agoFix T59529: Auto smooth not working
Clément Foucault [Tue, 18 Dec 2018 13:27:04 +0000 (14:27 +0100)]
Fix T59529: Auto smooth not working

10 months agoFix T59478: Information Bar Missing Data when in Sculpt Mode
Sergey Sharybin [Tue, 18 Dec 2018 13:19:55 +0000 (14:19 +0100)]
Fix T59478: Information Bar Missing Data when in Sculpt Mode

Display statistics from CCG structure.

This makes values to be different from what is shown in object
mode, since CCG is operating on individual grids, and object
mode will stitch those grids. But on another, those values from
CCG is what sculpt mode is actually "sees" or "uses".

The number of faces should be the same in both sculpt and object
modes.

10 months agoCorrect own error in changes to pose gizmo center
Campbell Barton [Tue, 18 Dec 2018 12:01:38 +0000 (23:01 +1100)]
Correct own error in changes to pose gizmo center

Multi-pose gizmo center calculation from
5d09f5223e63 now works as expected.

10 months agoDRW: Instance: Makes it possible to have instances of a non-init batch
Clément Foucault [Tue, 18 Dec 2018 12:08:08 +0000 (13:08 +0100)]
DRW: Instance: Makes it possible to have instances of a non-init batch

10 months agoArmature: temp workaround for crash caused by custom bone drawing
Clément Foucault [Tue, 18 Dec 2018 12:07:33 +0000 (13:07 +0100)]
Armature: temp workaround for crash caused by custom bone drawing

10 months agoCleanup: Typo in comment
Sergey Sharybin [Tue, 18 Dec 2018 11:55:13 +0000 (12:55 +0100)]
Cleanup: Typo in comment

10 months agoUse proper buffer size for statistics
Sergey Sharybin [Tue, 18 Dec 2018 11:54:34 +0000 (12:54 +0100)]
Use proper buffer size for statistics

10 months agoCleanup: Reduce indentation level
Sergey Sharybin [Tue, 18 Dec 2018 11:46:03 +0000 (12:46 +0100)]
Cleanup: Reduce indentation level

10 months agoTransform: calculate initial depth for axis-target
Campbell Barton [Tue, 18 Dec 2018 11:30:21 +0000 (22:30 +1100)]
Transform: calculate initial depth for axis-target

While the operator needs a depth to work as intended,
it feels buggy if the initial drag does nothing until a depth is found.

If the cursor isn't over any geometry calculate an initial depth.

10 months agoPy Docs: documentation for draw_handler_add/remove
Jacques Lucke [Tue, 18 Dec 2018 11:31:30 +0000 (12:31 +0100)]
Py Docs: documentation for draw_handler_add/remove

10 months agoFix T59496: Movie Clip Editor does not display metadata
Sergey Sharybin [Tue, 18 Dec 2018 11:27:46 +0000 (12:27 +0100)]
Fix T59496: Movie Clip Editor does not display metadata

10 months agoTransform: when snap affect is off for a transform mode, ignore snap settings entirely.
Brecht Van Lommel [Tue, 18 Dec 2018 10:54:02 +0000 (11:54 +0100)]
Transform: when snap affect is off for a transform mode, ignore snap settings entirely.

Ref D4022.

10 months agoFix crash showing footage information for non-animation movie clips
Sergey Sharybin [Tue, 18 Dec 2018 11:06:16 +0000 (12:06 +0100)]
Fix crash showing footage information for non-animation movie clips

10 months agoFix edit-mode wire color being used for other objects
Campbell Barton [Tue, 18 Dec 2018 10:20:04 +0000 (21:20 +1100)]
Fix edit-mode wire color being used for other objects

10 months agoFix T59548: Grease Pencil Primitives ignore the 'draw below' option
Antonioya [Tue, 18 Dec 2018 09:44:13 +0000 (10:44 +0100)]
Fix T59548: Grease Pencil Primitives ignore the 'draw below' option

10 months agoGizmo: exclude overlays from origin-set depth
Campbell Barton [Tue, 18 Dec 2018 09:33:16 +0000 (20:33 +1100)]
Gizmo: exclude overlays from origin-set depth

Setting the light orientation would read depth from the light wireframe.

10 months agoFix 3D view depth buffer ignoring overlay option
Campbell Barton [Tue, 18 Dec 2018 09:23:49 +0000 (20:23 +1100)]
Fix 3D view depth buffer ignoring overlay option

The depth buffer would include lamps, cameras.. etc
event overlays turned off.

10 months agoFix T59519: Grease Pencil stroke with noise modifier crashes blender
Antonioya [Tue, 18 Dec 2018 09:24:21 +0000 (10:24 +0100)]
Fix T59519: Grease Pencil stroke with noise modifier crashes blender

The first point index was wrong calculated.

10 months agoTheme: too low contrast blender_light edit-edge
Campbell Barton [Tue, 18 Dec 2018 07:22:42 +0000 (18:22 +1100)]
Theme: too low contrast blender_light edit-edge

We tried this already for the default theme, but grey edges often don't
stand out against matcaps/solid shading.

10 months agoFix T59535: Select linked delimit doesn't refresh
Campbell Barton [Tue, 18 Dec 2018 06:22:11 +0000 (17:22 +1100)]
Fix T59535: Select linked delimit doesn't refresh