blender.git
8 weeks agoFix T63686: missing data path for 3D cursor location and rotation.
Brecht Van Lommel [Sat, 20 Apr 2019 23:11:12 +0000 (01:11 +0200)]
Fix T63686: missing data path for 3D cursor location and rotation.

8 weeks agoFix T63764: error when using library.users_id() function
Brecht Van Lommel [Sat, 20 Apr 2019 22:58:38 +0000 (00:58 +0200)]
Fix T63764: error when using library.users_id() function

Fix suggested by Vilem Duha.

8 weeks agomake.bat: remove --expand-tabs from "make format" on windows.
Ray Molenkamp [Sat, 20 Apr 2019 19:10:30 +0000 (13:10 -0600)]
make.bat: remove --expand-tabs from "make format" on windows.

following the change on linux.

8 weeks agoCorrect error in last commit
Campbell Barton [Sat, 20 Apr 2019 18:58:52 +0000 (04:58 +1000)]
Correct error in last commit

8 weeks agoUI: remove redundant row for header template
Campbell Barton [Sat, 20 Apr 2019 18:49:19 +0000 (04:49 +1000)]
UI: remove redundant row for header template

If it's members need to be aligned the template can handle it.

8 weeks agoCleanup: add missing macros to clang-format
Campbell Barton [Sat, 20 Apr 2019 18:40:16 +0000 (04:40 +1000)]
Cleanup: add missing macros to clang-format

8 weeks agoGNUMakefile: disable tab expansion for 'make format'
Campbell Barton [Sat, 20 Apr 2019 18:36:16 +0000 (04:36 +1000)]
GNUMakefile: disable tab expansion for 'make format'

This was only needed for initial migration.

8 weeks agoUI Overlays: Align checkbox with slider for Wireframes, X-Ray, Shadows.
Pablo Vazquez [Sat, 20 Apr 2019 17:01:46 +0000 (19:01 +0200)]
UI Overlays: Align checkbox with slider for Wireframes, X-Ray, Shadows.

8 weeks agoUI Overlays: One line layout for Mask opacity.
Pablo Vazquez [Sat, 20 Apr 2019 17:01:03 +0000 (19:01 +0200)]
UI Overlays: One line layout for Mask opacity.

Saves one line of space and matches Wireframe, X-Ray, Shadows.

8 weeks agoFix invalid stack memory use with GPencil drawing
Campbell Barton [Sat, 20 Apr 2019 11:35:14 +0000 (13:35 +0200)]
Fix invalid stack memory use with GPencil drawing

8 weeks agoFix error in recent image preference change
Campbell Barton [Sat, 20 Apr 2019 13:13:04 +0000 (15:13 +0200)]
Fix error in recent image preference change

8 weeks agoNLA: check that properties are animatable.
Alexander Gavrilov [Sat, 20 Apr 2019 11:15:30 +0000 (14:15 +0300)]
NLA: check that properties are animatable.

8 weeks agoGPU: automatically draw images with GLSL shader depending on resolution
Brecht Van Lommel [Sat, 20 Apr 2019 10:47:06 +0000 (12:47 +0200)]
GPU: automatically draw images with GLSL shader depending on resolution

This adds a new "Automatic" image display method which uses GLSL shaders for
most images. It only does CPU side color management for higher res images
where sending big float buffers to the GPU is likely to be a bottleneck or
cause memory usage problem.

Automatic is the default now, previously it was 2D Texture.

8 weeks agoCleanup: remove unused OpenGL functions, rename some for clarity
Brecht Van Lommel [Sat, 20 Apr 2019 10:56:29 +0000 (12:56 +0200)]
Cleanup: remove unused OpenGL functions, rename some for clarity

8 weeks agoUI: correct accidental removal of TOPBAR_PT_name
Campbell Barton [Sat, 20 Apr 2019 11:28:16 +0000 (13:28 +0200)]
UI: correct accidental removal of TOPBAR_PT_name

Mistake in 9573bf432c4b0

8 weeks agoCleanup: re-use test for ELEM & STR_ELEM
Campbell Barton [Sat, 20 Apr 2019 11:02:20 +0000 (13:02 +0200)]
Cleanup: re-use test for ELEM & STR_ELEM

Avoid having same test running at the end of each macro.

8 weeks agoCleanup: quiet warning for NULL pointer use
Campbell Barton [Sat, 20 Apr 2019 10:31:22 +0000 (12:31 +0200)]
Cleanup: quiet warning for NULL pointer use

Warning was false positive but avoid repeating the same check.

8 weeks ago3D View: add opacity for sculpt mask display
Pablo Dobarro [Sat, 20 Apr 2019 09:58:44 +0000 (11:58 +0200)]
3D View: add opacity for sculpt mask display

This matches vertex/texture paint opacity options.

Useful because 0.75 is sometimes too dark to see the surface shading.

Resolves T63746

8 weeks agoCleanup: de-duplicate flag setting macro
Campbell Barton [Sat, 20 Apr 2019 09:39:25 +0000 (11:39 +0200)]
Cleanup: de-duplicate flag setting macro

8 weeks agoCleanup: quiet extra-semicolon warning
Campbell Barton [Sat, 20 Apr 2019 09:28:21 +0000 (11:28 +0200)]
Cleanup: quiet extra-semicolon warning

8 weeks agoFix T63732: GPencil Onion now working with multiwindows
Antonioya [Sat, 20 Apr 2019 08:26:15 +0000 (10:26 +0200)]
Fix T63732: GPencil Onion now working with multiwindows

If you had several windows or, after last changes in topbar, several areas, the swith of overlays or Onion Skin was not working by area, but as whole switch, so it was impossible to have different status by window.

8 weeks agoCleanup: comment line length (tests)
Campbell Barton [Sat, 20 Apr 2019 08:06:01 +0000 (10:06 +0200)]
Cleanup: comment line length (tests)

8 weeks agoCleanup: comment line length (windowmanager)
Campbell Barton [Sat, 20 Apr 2019 08:02:28 +0000 (10:02 +0200)]
Cleanup: comment line length (windowmanager)

8 weeks agoCleanup: formatting, unused args
Campbell Barton [Sat, 20 Apr 2019 07:15:06 +0000 (09:15 +0200)]
Cleanup: formatting, unused args

8 weeks agoOutliner: Simplify logic for parent nesting
Dalai Felinto [Fri, 19 Apr 2019 22:02:05 +0000 (19:02 -0300)]
Outliner: Simplify logic for parent nesting

8 weeks agoEdit Mode: Make edit edges black by default
Clément Foucault [Fri, 19 Apr 2019 17:39:44 +0000 (19:39 +0200)]
Edit Mode: Make edit edges black by default

This is in order to have better contrast now that
the edges are half transparent if not
in edge selection.

8 weeks agoDRW: Expose VBO garbage collection timings
Clément Foucault [Fri, 19 Apr 2019 16:52:38 +0000 (18:52 +0200)]
DRW: Expose VBO garbage collection timings

This adds user side options to tweak the behavior
of the vbo garbage collection.

8 weeks agoT63644: Editing while parented is not rotating correctly
Antonioya [Fri, 19 Apr 2019 15:07:45 +0000 (17:07 +0200)]
T63644:  Editing while parented is not rotating correctly

This commit tries to fix the rotation problem when the parent is at layer level.

The problem was the object location was not used, so all object not in origin got weird transformations.

8 weeks agoFix T63669: Particle editing bypassing occlusion.
mano-wii [Fri, 19 Apr 2019 14:49:17 +0000 (11:49 -0300)]
Fix T63669: Particle editing bypassing occlusion.

The problem occurs because status changes between BackBuffer and Offscreen.

Reviewers: fclem

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

8 weeks agoFix T63648: Missing update when changing particle force fields
Sergey Sharybin [Fri, 19 Apr 2019 13:38:45 +0000 (15:38 +0200)]
Fix T63648: Missing update when changing particle force fields

Force fields requires relations update in the dependency graph.

8 weeks agoCleanup: Remove dead code
Sergey Sharybin [Fri, 19 Apr 2019 13:36:18 +0000 (15:36 +0200)]
Cleanup: Remove dead code

There is no more sorting happening, so the comment is out of date
by manu reasons. If something extra is needed there it would need
to be done differently anyway.

8 weeks agoEdit Mode: Reduce Selected face alpha
Clément Foucault [Fri, 19 Apr 2019 13:18:45 +0000 (15:18 +0200)]
Edit Mode: Reduce Selected face alpha

This is to be less intrusive when doing UV mapping. They remain enough visible
in every select mode

8 weeks agoEdit Mode: Change face mode edges display
Clément Foucault [Fri, 19 Apr 2019 13:08:46 +0000 (15:08 +0200)]
Edit Mode: Change face mode edges display

This improve visibility in edit face select mode by using the face select color
instead of the edge select color (which is in default theme a bit more red). Also
makes the selected edges in this mode a bit more opaque (0.75 instead of  0.4).
Full opacity is still reserved for edge select mode.

8 weeks agoDRW: Add batch garbage collection
Clément Foucault [Fri, 19 Apr 2019 00:22:22 +0000 (02:22 +0200)]
DRW: Add batch garbage collection

This is only working for shading batches for the moment and only if some Custom data layer are not needed anymore.

The collection rate is hardcoded at 60 sec but could be exposed to the user.

This system can be extended and discard most unused batches in the future.

This commit is in prevision of removing BKE_MESH_BATCH_DIRTY_SHADING when changing shader parameters.

8 weeks agoDRW: Make shaded batch validation more correct
Clément Foucault [Thu, 18 Apr 2019 15:25:04 +0000 (17:25 +0200)]
DRW: Make shaded batch validation more correct

This is in order to support garbage collection of unused Custom data layer uploaded to the GPU.

Actual Garbage Collection is not added by this commit.

8 weeks agoCleanup: Remove image preview code
Sergey Sharybin [Fri, 19 Apr 2019 10:05:51 +0000 (12:05 +0200)]
Cleanup: Remove image preview code

Was commented out for literally 10 years.

8 weeks agoCleanup: Remove unneeded compositor update function
Sergey Sharybin [Fri, 19 Apr 2019 09:53:00 +0000 (11:53 +0200)]
Cleanup: Remove unneeded compositor update function

Similar to previous commit.

Compositing with animation on socket values and image sequences
still works fine.

8 weeks agoCleanup: Remove unneeded texture nodes update function
Sergey Sharybin [Fri, 19 Apr 2019 09:11:27 +0000 (11:11 +0200)]
Cleanup: Remove unneeded texture nodes update function

The function was calling update() on the time curve, but there
is no update callback on that node. So, effectively the function
was doing nothing.

8 weeks agoFix error in recently added STR_ELEM macro
Campbell Barton [Fri, 19 Apr 2019 12:49:57 +0000 (14:49 +0200)]
Fix error in recently added STR_ELEM macro

Very bad oversight, using pointer comparison instead of strcmp
for all but the first item.

8 weeks agoCMake: fix Cycles linking with OpenCL
Campbell Barton [Fri, 19 Apr 2019 12:00:16 +0000 (14:00 +0200)]
CMake: fix Cycles linking with OpenCL

8 weeks agoCMake: fix building without smoke enabled
Campbell Barton [Fri, 19 Apr 2019 11:54:43 +0000 (13:54 +0200)]
CMake: fix building without smoke enabled

Was removed when removing sorted libs however it's needed for stubs.

8 weeks agoFix/workaround crash using ED_area_do_msg_notify_tag_redraw
Campbell Barton [Fri, 19 Apr 2019 10:42:09 +0000 (12:42 +0200)]
Fix/workaround crash using ED_area_do_msg_notify_tag_redraw

Temporary workaround for crash when refreshing the active tool.

Currently ED_region_tag_redraw fails, use notifiers until
this is resolved.

8 weeks agoUI: minor layout tweaks to 3D viewport gizmo menu
Brecht Van Lommel [Fri, 19 Apr 2019 10:26:11 +0000 (12:26 +0200)]
UI: minor layout tweaks to 3D viewport gizmo menu

8 weeks agoUI: tweak header context menu, gray out items when they have no effect
Brecht Van Lommel [Fri, 19 Apr 2019 09:53:06 +0000 (11:53 +0200)]
UI: tweak header context menu, gray out items when they have no effect

8 weeks agoKeymap: add 'Adjust Last Operation' as F9
Campbell Barton [Fri, 19 Apr 2019 07:49:36 +0000 (09:49 +0200)]
Keymap: add 'Adjust Last Operation' as F9

Adding this back was a frequent request.

Now the panel can be hidden - some users may prefer only to access this
via a shortcut.

Unfortunately this uses an F-Key we'd intended to keep free for users.

This still keeps the middle block of F-Keys (5..8) free.

8 weeks agoKeymap: add set start/end shortcuts to graph editor
Campbell Barton [Fri, 19 Apr 2019 07:36:44 +0000 (09:36 +0200)]
Keymap: add set start/end shortcuts to graph editor

8 weeks agoKeymap: restore Ctrl-Tab in the dopesheet (removed by accident)
Campbell Barton [Fri, 19 Apr 2019 07:35:53 +0000 (09:35 +0200)]
Keymap: restore Ctrl-Tab in the dopesheet (removed by accident)

Mistake in 6aef124e7d2869a6

8 weeks agoCorrect cleanup marking keyword args unused
Campbell Barton [Fri, 19 Apr 2019 06:26:18 +0000 (08:26 +0200)]
Correct cleanup marking keyword args unused

8 weeks agoCleanup: remove redundant poll functions
Campbell Barton [Fri, 19 Apr 2019 06:13:56 +0000 (08:13 +0200)]
Cleanup: remove redundant poll functions

8 weeks agoCleanup: logical checks in UI scripts
Campbell Barton [Fri, 19 Apr 2019 06:10:39 +0000 (08:10 +0200)]
Cleanup: logical checks in UI scripts

8 weeks agoCleanup: trailing commas
Campbell Barton [Fri, 19 Apr 2019 06:07:46 +0000 (08:07 +0200)]
Cleanup: trailing commas

8 weeks agoCleanup: unused vars
Campbell Barton [Fri, 19 Apr 2019 05:52:53 +0000 (07:52 +0200)]
Cleanup: unused vars

8 weeks agoCleanup: use staticmethod where appropriate
Campbell Barton [Fri, 19 Apr 2019 05:51:14 +0000 (07:51 +0200)]
Cleanup: use staticmethod where appropriate

8 weeks agoMissing from last commit
Campbell Barton [Fri, 19 Apr 2019 05:49:49 +0000 (07:49 +0200)]
Missing from last commit

8 weeks agoCleanup: correct misleading classmethod arg
Campbell Barton [Fri, 19 Apr 2019 05:36:07 +0000 (07:36 +0200)]
Cleanup: correct misleading classmethod arg

8 weeks agoCleanup: mark unused arguments in UI scripts
Campbell Barton [Fri, 19 Apr 2019 05:32:24 +0000 (07:32 +0200)]
Cleanup: mark unused arguments in UI scripts

Quiet's pylint W0613 warning, also remove some unused args.

8 weeks agoUI: move top-bar into the spaces header
Campbell Barton [Thu, 18 Apr 2019 19:13:22 +0000 (21:13 +0200)]
UI: move top-bar into the spaces header

Currently this is only in the 3D viewport however all spaces
that use the tool-system will have this region added.

D4680 by @brecht with own updates.

8 weeks agoArmature: remove remains of the object-level deformation data cache.
Alexander Gavrilov [Thu, 18 Apr 2019 20:17:04 +0000 (23:17 +0300)]
Armature: remove remains of the object-level deformation data cache.

Now that B-Bone shape data is kept in bPoseChannel_Runtime, the
armature level cache only holds one quaternion value per bone.
It can also be moved to runtime, and the structure removed.

This has an additional effect that, as far as I can tell, now
the Armature modifier can run as soon as all of the bones it
actually needs are done, thus making T59848 a purely depsgraph
level problem.

8 weeks agoUI: Revert fix T37463: Y-clamp for header-only spaces
Campbell Barton [Thu, 18 Apr 2019 19:19:49 +0000 (21:19 +0200)]
UI: Revert fix T37463: Y-clamp for header-only spaces

This reverts 91d8519c4782 since I can't redo the reported error
which was in the old header-only info space.

8 weeks agoPyTests: do not load addons in load_py_modules test.
Bastien Montagne [Thu, 18 Apr 2019 19:11:40 +0000 (21:11 +0200)]
PyTests: do not load addons in load_py_modules test.

It makes no sense to load add-ons here, we already do that (in a more
complete way) in load_addons test, this is only adding overhead and
doubling code to maintain).

Also do not try to load-as-modules add-ons that are not 2.8-ready, and
some other misc fix.

load_py_modules test should be passing again now.

Thanks to @sergey who did part of the work here as well.

8 weeks agoFix T63332: backup and restore bPoseChannel_Runtime data during COW.
Alexander Gavrilov [Thu, 18 Apr 2019 18:19:57 +0000 (21:19 +0300)]
Fix T63332: backup and restore bPoseChannel_Runtime data during COW.

8 weeks agoImages: support packing edited images as OpenEXR or PNG.
Brecht Van Lommel [Sat, 20 Feb 2016 13:52:36 +0000 (14:52 +0100)]
Images: support packing edited images as OpenEXR or PNG.

This way float and multilayer images can now be packed without data loss. This
removes the as_png option and always uses the appropriate file format depending
on the image contents.

8 weeks agoCleanup: unused region init functions
Campbell Barton [Thu, 18 Apr 2019 18:02:09 +0000 (20:02 +0200)]
Cleanup: unused region init functions

8 weeks agoUI: collapse 3D view collections visibility panel by default.
Brecht Van Lommel [Thu, 18 Apr 2019 17:14:19 +0000 (19:14 +0200)]
UI: collapse 3D view collections visibility panel by default.

8 weeks agoOpenEXR: add support for writing EXR files to memory.
Brecht Van Lommel [Sat, 20 Feb 2016 13:52:36 +0000 (14:52 +0100)]
OpenEXR: add support for writing EXR files to memory.

8 weeks agoCleanup: deduplicate single/multiview image packing code.
Brecht Van Lommel [Sat, 3 Mar 2018 15:55:08 +0000 (16:55 +0100)]
Cleanup: deduplicate single/multiview image packing code.

8 weeks agoCleanup: move image saving code to blenkernel.
Brecht Van Lommel [Sun, 14 Apr 2019 22:24:00 +0000 (00:24 +0200)]
Cleanup: move image saving code to blenkernel.

8 weeks agoCleanup: make image saving code reusable outside operator.
Brecht Van Lommel [Sat, 20 Feb 2016 21:39:20 +0000 (22:39 +0100)]
Cleanup: make image saving code reusable outside operator.

8 weeks agoCleanup: deduplicate image user initialization, make consistent.
Brecht Van Lommel [Sat, 20 Feb 2016 21:36:02 +0000 (22:36 +0100)]
Cleanup: deduplicate image user initialization, make consistent.

8 weeks agoGPencil: Add option to mix color with texture
Antonioya [Thu, 18 Apr 2019 12:19:00 +0000 (14:19 +0200)]
GPencil: Add option to mix color with texture

This was already supported in Fill, but not in Strokes. This adds more artistic options when use textured strokes.

2 months agoCleanup: add trailing commas to avoid right shift
Campbell Barton [Thu, 18 Apr 2019 15:17:32 +0000 (17:17 +0200)]
Cleanup: add trailing commas to avoid right shift

2 months agoPyTests: do not try to load non-2.8-ready add-ons.
Bastien Montagne [Thu, 18 Apr 2019 15:14:17 +0000 (17:14 +0200)]
PyTests: do not try to load non-2.8-ready add-ons.

2 months agoGPencil: Fix Drawing Path follow error while drawing
Antonioya [Thu, 18 Apr 2019 14:59:01 +0000 (16:59 +0200)]
GPencil: Fix Drawing Path follow error while drawing

The strokes was aligned to drawing path only when the stroke was completed. Now, the stroke is aligned while drawing too.

2 months agoGPencil: Initialize variable to remove console warning
Antonioya [Thu, 18 Apr 2019 14:57:41 +0000 (16:57 +0200)]
GPencil: Initialize variable to remove console warning

2 months agoMissing 2.7x keymap update from last commit
Campbell Barton [Thu, 18 Apr 2019 14:41:38 +0000 (16:41 +0200)]
Missing 2.7x keymap update from last commit

2 months agoUI: replace toggle header with a property
Campbell Barton [Thu, 18 Apr 2019 14:35:11 +0000 (16:35 +0200)]
UI: replace toggle header with a property

2 months agoAlembic: catch weird exceptions from library instead of aborting Blender.
Bastien Montagne [Thu, 18 Apr 2019 14:19:17 +0000 (16:19 +0200)]
Alembic: catch weird exceptions from library instead of aborting Blender.

Similar to what is done e.g. in AbcMeshReader::read_mesh()...

2 months agoAMD glitch: missing changes in f41ab375f38b
mano-wii [Thu, 18 Apr 2019 13:53:00 +0000 (10:53 -0300)]
AMD glitch: missing changes in f41ab375f38b

It was committed an earlier version of the patch which missed these changes.

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

2 months agoCleanup: add 'if 0' comment why code is repeated
Campbell Barton [Thu, 18 Apr 2019 13:16:36 +0000 (15:16 +0200)]
Cleanup: add 'if 0' comment why code is repeated

Avoid potentially adding back the problem in the future.

2 months agoFix T62792: AMD glitch when clipping region in edit mode.
mano-wii [Thu, 18 Apr 2019 12:37:07 +0000 (09:37 -0300)]
Fix T62792: AMD glitch when clipping region in edit mode.

The `AMD Radeon HD 7600M` compiler is usually buggy for Geometry Shaders.
In this case, indexing was causing problems in `gl_in[i].gl_ClipDistance[0]`.

Reviewers: fclem

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

2 months agoPyAPI: remove support for importing text blocks as modules
Campbell Barton [Thu, 18 Apr 2019 12:45:23 +0000 (14:45 +0200)]
PyAPI: remove support for importing text blocks as modules

Allowing direct import of text blocks isn't especially useful,
instead add `text.as_module()` script authors can do this
explicitly if it's needed.

Now the text "Register" option executes
instead of loading as a module.

This removes the need to keep track of the current Main,
and C code to override Python's import & reload.

2 months agoFix T63590: Blender crashes when deleting particle hair keys
Sergey Sharybin [Thu, 18 Apr 2019 12:43:25 +0000 (14:43 +0200)]
Fix T63590: Blender crashes when deleting particle hair keys

2 months agoPython API: allow passing integer to some BGL functions instead of bgl.Buffer
Brecht Van Lommel [Thu, 18 Apr 2019 09:24:39 +0000 (11:24 +0200)]
Python API: allow passing integer to some BGL functions instead of bgl.Buffer

These parameters can be both pointers and offsets into a bound buffer, so we
need to support both even if it's possible to cause crashes this way.

2 months agoFix Embree link error after recent cmake changes
Maruf Sarker [Thu, 18 Apr 2019 12:22:52 +0000 (14:22 +0200)]
Fix Embree link error after recent cmake changes

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

2 months agoUI: option to toggle 'Adjust Last Operation'
Campbell Barton [Thu, 18 Apr 2019 11:49:21 +0000 (13:49 +0200)]
UI: option to toggle 'Adjust Last Operation'

2 months agoCleanup: comments, wrapping
Campbell Barton [Thu, 18 Apr 2019 11:59:59 +0000 (13:59 +0200)]
Cleanup: comments, wrapping

2 months agoUI: Expand Enum Items Over Multiple Rows
Jeroen Bakker [Wed, 17 Apr 2019 13:02:30 +0000 (15:02 +0200)]
UI: Expand Enum Items Over Multiple Rows

Expanding enum items in a small area would render the names with
dots, what is a bad solution. When you use expand directly on a
`grid_flow` or `column_flow`, it will render the items on multiple
lines, giving more control to the developer.

Reviewers: campbellbarton, brecht, mont29

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

2 months agoCleanup: correct comment
Campbell Barton [Thu, 18 Apr 2019 10:52:50 +0000 (12:52 +0200)]
Cleanup: correct comment

2 months agoUI: move region toggling to properties
Campbell Barton [Thu, 18 Apr 2019 10:16:03 +0000 (12:16 +0200)]
UI: move region toggling to properties

Each space had separate operators, duplicating logic.

Use RNA properties instead so adding the ability to toggle other
region types (floating redo region for eg) doesn't need to have an
extra operator per space type.

It's also nicer to show a check-box for something which can be toggled.

2 months agoCMake: correct bad change to ceres linking
Campbell Barton [Thu, 18 Apr 2019 10:30:44 +0000 (12:30 +0200)]
CMake: correct bad change to ceres linking

Revert part of 45055199a2e51

2 months agoFix T63513: Gpencil - Circle guide activation with shortcut "C" is not working properly
Charlie Jolly [Thu, 18 Apr 2019 10:39:13 +0000 (11:39 +0100)]
Fix T63513: Gpencil - Circle guide activation with shortcut "C" is not working properly

Only add missing events after first point is added.

2 months agoDisable clang-format for Libmv
Sergey Sharybin [Thu, 18 Apr 2019 10:33:04 +0000 (12:33 +0200)]
Disable clang-format for Libmv

This is an odd-ball: it's a library which has own style and
guidelines, and just happened to be developed by Blender developers
and also happened to rely on some functionality of intern/ for its
C-API.

Might consider using Google's clang-format in the future (this is
what the style is supposed to be in this library).

2 months agoFix compilation error when using SDL dynamic loading
Sergey Sharybin [Thu, 18 Apr 2019 10:10:08 +0000 (12:10 +0200)]
Fix compilation error when using SDL dynamic loading

2 months agoMerge branch 'blender2.7'
Sergey Sharybin [Thu, 18 Apr 2019 09:57:44 +0000 (11:57 +0200)]
Merge branch 'blender2.7'

2 months agoBuildbot: Attempt to fix wrong branch in buildinfo
Sergey Sharybin [Wed, 10 Apr 2019 13:46:47 +0000 (15:46 +0200)]
Buildbot: Attempt to fix wrong branch in buildinfo

For some reason the buildinfo header was not re-generated. The root
reason is not really clear to me, so simply remove the header similar
to the CMake cache.

2 months agoFix T63663: Object mode proportional editing affects objects which are disabled for...
Sebastian Parborg [Thu, 18 Apr 2019 09:50:00 +0000 (11:50 +0200)]
Fix T63663: Object mode proportional editing affects objects which are disabled for selection

Objects which are not selectable are no longer affected by
proportional transformations.

2 months agoCleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.
Bastien Montagne [Thu, 18 Apr 2019 09:34:53 +0000 (11:34 +0200)]
Cleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.

Legacy depsgraph has been removed from Blender since several months
already...

2 months agoOverlay Engine: Option to Disable AA Ortho Grid
Jeroen Bakker [Wed, 17 Apr 2019 09:35:20 +0000 (11:35 +0200)]
Overlay Engine: Option to Disable AA Ortho Grid

When in Axis alligned orthographic view a grid was always displayed.
With this change the user can enable/disable this grid.

The Grid is always visible and editable, but only rendered active when user is in quad view, or axis aligned ortho view.

Reviewers: brecht, fclem

Maniphest Tasks: T63517

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

2 months agoFix mistake in recent commit.
Jeroen Bakker [Thu, 18 Apr 2019 06:10:38 +0000 (08:10 +0200)]
Fix mistake in recent commit.

Needed to remove footers and not headers

2 months agoclang-format: add statement macro
Campbell Barton [Thu, 18 Apr 2019 06:04:03 +0000 (08:04 +0200)]
clang-format: add statement macro

Disabled for now but corrects syntax when we switch to v8.