blender.git
2 years agoOutliner: support dragging multiple collections, same as objects.
Brecht Van Lommel [Wed, 29 Aug 2018 16:07:14 +0000 (18:07 +0200)]
Outliner: support dragging multiple collections, same as objects.

2 years agoGP: Undo previous Subdivide edit operator and reformat code
Antonioya [Thu, 30 Aug 2018 11:45:12 +0000 (13:45 +0200)]
GP:  Undo previous Subdivide edit operator  and reformat code

The previous commit reusing the subdivide modifier code was not taking in account the selected points, so the subdivide was wrong.

2 years agoUI: check prop-separate before adding black decorator
Campbell Barton [Thu, 30 Aug 2018 10:41:40 +0000 (20:41 +1000)]
UI: check prop-separate before adding black decorator

This caused the blank icon to be added to menus (ndof menu for eg).

2 years agoCleanup: warnings
Campbell Barton [Thu, 30 Aug 2018 10:47:46 +0000 (20:47 +1000)]
Cleanup: warnings

2 years agoGP: New Armature modifier and tools to handle weights
Antonioya [Thu, 30 Aug 2018 10:22:55 +0000 (12:22 +0200)]
GP: New Armature modifier and tools to handle weights

This commit adds a new armature modifier for grease pencil. The deformations are done reusing the mesh deform routines.

There is also a new operator in weight paint mode to help the artist to generate weights base on armatures. This operator is required because 2D animation workflow is not equal to meshes when parent an object to armatures.

In the drawing engine has been added the option to handle the Fade object parameter used in armatures to see the strokes while move the bones.

When rename bones, all related data of grease pencil is renamed too. This not only affect new armature code, but also layers parented and hook modifiers.

Thanks @aligorith for his review and help.

2 years agoCleanup: Remove line introduced by error in previous commit
Antonioya [Thu, 30 Aug 2018 09:18:04 +0000 (11:18 +0200)]
Cleanup: Remove line introduced by error in previous commit

2 years agoGP: Add weights while drawing strokes
Antonioya [Thu, 30 Aug 2018 09:11:10 +0000 (11:11 +0200)]
GP: Add weights while drawing strokes

Now it's possible to add the weight of the current selected vertex group to any new stroke created.

This is very handy when add drawings after the weight paint was done and it will be required with Armatures.

2 years agoGP: Improve Subdivide and Simplify
Antonioya [Thu, 30 Aug 2018 09:06:44 +0000 (11:06 +0200)]
GP: Improve Subdivide and Simplify

Now the weights are managed in the operators.

The subdivide operator and modifier code have been replaced with a shared function.

Some cleanup also.

2 years agoUI: fix glitch redrawing after redo panel collapse
Campbell Barton [Thu, 30 Aug 2018 08:58:18 +0000 (18:58 +1000)]
UI: fix glitch redrawing after redo panel collapse

2 years agoGP: Add small offset to stroke over surface.
Antonioya [Thu, 30 Aug 2018 08:17:29 +0000 (10:17 +0200)]
GP: Add small offset to stroke over surface.

This small offset helps to keep the stroke over the surface and avoid the stoke is "inside" the face of the surface.

We could add this as a parameter in the UI, but after doing a lot of test, the valid values are very limited and don't worth the change, so a hardcoded value works fine.

2 years ago3D View: option to always show center in face mode
Campbell Barton [Thu, 30 Aug 2018 06:21:03 +0000 (16:21 +1000)]
3D View: option to always show center in face mode

This matches 2.7x behavior

2 years ago3D View: use thicker edges when in edge-mode
Campbell Barton [Thu, 30 Aug 2018 05:45:58 +0000 (15:45 +1000)]
3D View: use thicker edges when in edge-mode

Without this there is no visual differentiation between face/edge mode.

2 years ago3D View: scale edit-mesh drawing by pixel size
Campbell Barton [Thu, 30 Aug 2018 04:28:50 +0000 (14:28 +1000)]
3D View: scale edit-mesh drawing by pixel size

2 years agoCleanup: inline icon conditional
Campbell Barton [Thu, 30 Aug 2018 03:47:27 +0000 (13:47 +1000)]
Cleanup: inline icon conditional

2 years agoUI: show workspace panel last & use a parent panel
Campbell Barton [Thu, 30 Aug 2018 03:30:16 +0000 (13:30 +1000)]
UI: show workspace panel last & use a parent panel

2 years agoUI: move workspace panels to tool settings
Campbell Barton [Thu, 30 Aug 2018 03:06:03 +0000 (13:06 +1000)]
UI: move workspace panels to tool settings

While this isn't the most logical place, there are very few workspace
options and they don't need to be in such a prominent location.

2 years agoTransform: fix redundant gizmo constraint axis
Campbell Barton [Wed, 29 Aug 2018 23:15:19 +0000 (09:15 +1000)]
Transform: fix redundant gizmo constraint axis

Setting the constraint caused the redo to show
redundant XYZ constraints UI.

2 years agoUI: use property split for mesh options
Campbell Barton [Wed, 29 Aug 2018 23:05:48 +0000 (09:05 +1000)]
UI: use property split for mesh options

2 years agoUI: add active tool panel to tool settings
Campbell Barton [Wed, 29 Aug 2018 22:55:34 +0000 (08:55 +1000)]
UI: add active tool panel to tool settings

2 years agoMSVC: Set the warning C4189 from level 4 to level 3
mano-wii [Wed, 29 Aug 2018 16:08:00 +0000 (13:08 -0300)]
MSVC: Set the warning C4189 from level 4 to level 3

This is a useful warning and there is an equivalent used in `GNUC` and `clang` compilers.

Reviewed on IRC by @brecht and @LazyDodo

2 years agoFix Freestyle build error after recent merge.
Brecht Van Lommel [Wed, 29 Aug 2018 16:53:15 +0000 (18:53 +0200)]
Fix Freestyle build error after recent merge.

2 years agoCleanup: add file doxy comments
Campbell Barton [Wed, 29 Aug 2018 15:56:08 +0000 (01:56 +1000)]
Cleanup: add file doxy comments

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 29 Aug 2018 15:36:52 +0000 (01:36 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: indentation
Campbell Barton [Wed, 29 Aug 2018 15:31:20 +0000 (01:31 +1000)]
Cleanup: indentation

2 years agoCleanup: use simple early exit for common case
Campbell Barton [Wed, 29 Aug 2018 15:19:44 +0000 (01:19 +1000)]
Cleanup: use simple early exit for common case

Caused MSVC warning, may as well do simple check.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 29 Aug 2018 15:05:46 +0000 (01:05 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: trailing space
Campbell Barton [Wed, 29 Aug 2018 15:05:13 +0000 (01:05 +1000)]
Cleanup: trailing space

2 years agoCleanup: trailing space
Campbell Barton [Wed, 29 Aug 2018 15:02:44 +0000 (01:02 +1000)]
Cleanup: trailing space

2 years agoCleanup: correct header guard
Campbell Barton [Wed, 29 Aug 2018 15:02:26 +0000 (01:02 +1000)]
Cleanup: correct header guard

2 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 29 Aug 2018 14:42:32 +0000 (16:42 +0200)]
Merge branch 'master' into blender2.8

2 years agoFix Cycles CUDA build after recent changes.
Brecht Van Lommel [Wed, 29 Aug 2018 14:35:21 +0000 (16:35 +0200)]
Fix Cycles CUDA build after recent changes.

2 years agoCleanup: remove unused build environment patches.
Brecht Van Lommel [Wed, 29 Aug 2018 12:33:42 +0000 (14:33 +0200)]
Cleanup: remove unused build environment patches.

2 years agoCleanup: consistent includes.
Brecht Van Lommel [Wed, 29 Aug 2018 11:54:26 +0000 (13:54 +0200)]
Cleanup: consistent includes.

2 years agoBuildbot: Some inital work to support newer chroot environment
Sergey Sharybin [Wed, 29 Aug 2018 14:29:25 +0000 (16:29 +0200)]
Buildbot: Some inital work to support newer chroot environment

2 years agoPython / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
Brecht Van Lommel [Wed, 29 Aug 2018 13:02:21 +0000 (15:02 +0200)]
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.

2 years agoCleanup: rename files from group to collection to match contents.
Brecht Van Lommel [Wed, 29 Aug 2018 13:32:50 +0000 (15:32 +0200)]
Cleanup: rename files from group to collection to match contents.

2 years agoCMake: Allow specifying custom LIBDIR on Unix
Sergey Sharybin [Wed, 29 Aug 2018 14:15:54 +0000 (16:15 +0200)]
CMake: Allow specifying custom LIBDIR on Unix

Works similar to how maxOS deals with this.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 29 Aug 2018 14:09:59 +0000 (16:09 +0200)]
Merge branch 'master' into blender2.8

2 years agoTool System: hide paint options for non brush tools
Campbell Barton [Wed, 29 Aug 2018 13:58:44 +0000 (23:58 +1000)]
Tool System: hide paint options for non brush tools

2 years agoCMake: Comply with include path reported by FindOpenGL.cmake
Sergey Sharybin [Wed, 29 Aug 2018 13:08:28 +0000 (15:08 +0200)]
CMake: Comply with include path reported by FindOpenGL.cmake

The script clearly states:

  This makes the presumption that you are include al.h like
  #include "al.h"
  and not
  #include <AL/al.h>
  The reason for this is that the latter is not entirely portable.
  Windows/Creative Labs does not by default put their headers in AL/ and
  OS X uses the convention <OpenAL/al.h>.

This commit makes default precompiled OpenAL to be properly detected
and also removes hack on MacOS which was finding the OpenAL package but
then was overwriting include directory.

Note, that new audaspace in 2.8 is using expected #include <al.h>.

2 years agoCMake: Make sure zlib folder comes first for precompiled Linux libraries
Sergey Sharybin [Wed, 29 Aug 2018 13:05:03 +0000 (15:05 +0200)]
CMake: Make sure zlib folder comes first for precompiled Linux libraries

Without this find_package(ZLIB) will find ZLib from OpenCollada folder,
which has older ABI and is not what was used to link PNG against.

2 years agoCycles: Add BVH8 and packeted triangle intersection
Sergey Sharybin [Wed, 14 Feb 2018 10:23:30 +0000 (11:23 +0100)]
Cycles: Add BVH8 and packeted triangle intersection

This is an initial implementation of BVH8 optimization structure
and packated triangle intersection. The aim is to get faster ray
to scene intersection checks.

    Scene                BVH4      BVH8
barbershop_interior    10:24.94   10:10.74
bmw27                  02:41.25   02:38.83
classroom              08:16.49   07:56.15
fishy_cat              04:24.56   04:17.29
koro                   06:03.06   06:01.45
pavillon_barcelona     09:21.26   09:02.98
victor                 23:39.65   22:53.71

As memory goes, peak usage raises by about 4.7% in a complex
scenes.

Note that BVH8 is disabled when using OSL, this is because OSL
kernel does not get per-microarchitecture optimizations and
hence always considers BVH3 is used.

Original BVH8 patch from Anton Gavrikov.
Batched triangles intersection from Victoria Zhislina.
Extra work and tests and fixes from Maxym Dmytrychenko.

2 years agoTool System: tool to extrude along normals
Campbell Barton [Wed, 29 Aug 2018 12:59:49 +0000 (22:59 +1000)]
Tool System: tool to extrude along normals

2 years agoBuild environment: Fix compilation of boost on Linux 32bit
Sergey Sharybin [Wed, 29 Aug 2018 12:11:32 +0000 (14:11 +0200)]
Build environment: Fix compilation of boost on Linux 32bit

2 years agoMissed last commit
Campbell Barton [Wed, 29 Aug 2018 08:43:32 +0000 (18:43 +1000)]
Missed last commit

2 years agoCleanup: rename manipulator -> gizmo
Campbell Barton [Wed, 29 Aug 2018 08:40:32 +0000 (18:40 +1000)]
Cleanup: rename manipulator -> gizmo

2 years agoIcons: update to r62135
William Reynish [Wed, 29 Aug 2018 08:31:09 +0000 (18:31 +1000)]
Icons: update to r62135

- Added icon for To Sphere
- Added icon for Shear
- Added icons for adding mesh objects
- Added icon for Curve Draw
- Add Curve Extrude to Cursor icon
- Tweak Curve Draw icon
- Simplified Hair Cut icon. Was hard to read
- Tweaks to Hair Puff and Smooth icons
- Added icon for Extrude Along Normals
- Updated Extrude Individual icon to become clearer and more consistent
  with "Extrude Along Normals". Now it's easy to see the difference.
- Rip Edge and Rip Region icon tweaks

Note, many icons are regenerated in this commit which
weren't intended to be changed, in some cases this looks to be caused
by material color. Generating again doesn't modify so it
shouldn't be changing every time in future.

2 years agoTool System: only show select tool w/ paint mask
Campbell Barton [Wed, 29 Aug 2018 06:21:48 +0000 (16:21 +1000)]
Tool System: only show select tool w/ paint mask

2 years agoUI: disable brush popover in particle mode
Campbell Barton [Wed, 29 Aug 2018 05:47:06 +0000 (15:47 +1000)]
UI: disable brush popover in particle mode

This currently duplicates the same settings.

2 years agoUI: refactor particle panel/topbar logic
Campbell Barton [Wed, 29 Aug 2018 05:45:51 +0000 (15:45 +1000)]
UI: refactor particle panel/topbar logic

Similar logic for panel & topbar, use same checks.

2 years agoUI: use icons for sculpt mode toolbar
Campbell Barton [Wed, 29 Aug 2018 05:28:56 +0000 (15:28 +1000)]
UI: use icons for sculpt mode toolbar

Re-order some enums so plus is always first.

2 years agoTool System: add curve extrude
Campbell Barton [Wed, 29 Aug 2018 05:14:41 +0000 (15:14 +1000)]
Tool System: add curve extrude

2 years agoTool System: show radius for circle select
Campbell Barton [Wed, 29 Aug 2018 05:03:50 +0000 (15:03 +1000)]
Tool System: show radius for circle select

2 years agoFix T56517: 2D gizmo hotspot fails
Campbell Barton [Wed, 29 Aug 2018 04:39:58 +0000 (14:39 +1000)]
Fix T56517: 2D gizmo hotspot fails

Regression from 80c9cd13dad

2 years agoWeight Paint: use black for unselected vertices
Campbell Barton [Wed, 29 Aug 2018 02:14:54 +0000 (12:14 +1000)]
Weight Paint: use black for unselected vertices

Contrast for selected vertices mode wasn't very strong.

2 years agoUI: disable decorators when not used
Campbell Barton [Wed, 29 Aug 2018 01:38:45 +0000 (11:38 +1000)]
UI: disable decorators when not used

2 years agoKeymap: check modal keymap item poll function
Campbell Barton [Wed, 29 Aug 2018 01:29:29 +0000 (11:29 +1000)]
Keymap: check modal keymap item poll function

Fixes T56591: Vertex/Edge slide C-Key fails

2 years agoTool System: make armature extrude use drag event
Campbell Barton [Wed, 29 Aug 2018 01:11:11 +0000 (11:11 +1000)]
Tool System: make armature extrude use drag event

Extrude tool was calling click-extrude.

2 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Tue, 28 Aug 2018 17:15:08 +0000 (19:15 +0200)]
Merge branch 'master' into blender2.8

2 years agoBuild environment: Ensure Python is using static ffi
Sergey Sharybin [Tue, 28 Aug 2018 16:53:59 +0000 (18:53 +0200)]
Build environment: Ensure Python is using static ffi

Surely, need to compile ffi first :)

Good news are: Python seems static enough now!

2 years agoBuild environment: Make sure Python is linkign against static Zlib
Sergey Sharybin [Tue, 28 Aug 2018 16:28:05 +0000 (18:28 +0200)]
Build environment: Make sure Python is linkign against static Zlib

There is system-wide libz development package installed by default,
needed for some other dependencies. This patch ensures Python will
use our own self-compiled Zlib.

2 years agoFix some UI script errors after recent keyword changes.
Roel Koster [Tue, 28 Aug 2018 16:01:53 +0000 (18:01 +0200)]
Fix some UI script errors after recent keyword changes.

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

2 years agoFix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"
Antonioya [Tue, 28 Aug 2018 14:21:35 +0000 (16:21 +0200)]
Fix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"

2 years agoFix space text script - keyboard for labels
Dalai Felinto [Tue, 28 Aug 2018 13:17:58 +0000 (10:17 -0300)]
Fix space text script - keyboard for labels

I guess multi-line ui elements were not covered in the cleanup scripts.

2 years agoRNA: make mesh add methods use required arg 'count'
Campbell Barton [Tue, 28 Aug 2018 12:35:09 +0000 (22:35 +1000)]
RNA: make mesh add methods use required arg 'count'

2 years agoCleanup: pep8
Campbell Barton [Tue, 28 Aug 2018 11:00:25 +0000 (21:00 +1000)]
Cleanup: pep8

2 years agoFix T56530, T56523: collection visiblity toggling wrong after recent changes.
Brecht Van Lommel [Tue, 28 Aug 2018 10:43:13 +0000 (12:43 +0200)]
Fix T56530, T56523: collection visiblity toggling wrong after recent changes.

2 years agoCleanup: compiler warnings.
Brecht Van Lommel [Tue, 28 Aug 2018 09:47:16 +0000 (11:47 +0200)]
Cleanup: compiler warnings.

2 years agoCleanup: remove debug code.
Brecht Van Lommel [Fri, 24 Aug 2018 09:11:06 +0000 (11:11 +0200)]
Cleanup: remove debug code.

2 years agoTool System: use release_confirm for gpencil
William Reynish [Tue, 28 Aug 2018 10:43:34 +0000 (20:43 +1000)]
Tool System: use release_confirm for gpencil

Also rename some grease pencil tools.

2 years agoTool System: add shear and to-sphere tools
William Reynish [Tue, 28 Aug 2018 10:41:48 +0000 (20:41 +1000)]
Tool System: add shear and to-sphere tools

2 years agoBuild environment: Enable bzip2, lzma and sqlite for Python on Linux
Sergey Sharybin [Tue, 28 Aug 2018 10:17:04 +0000 (12:17 +0200)]
Build environment: Enable bzip2, lzma and sqlite for Python on Linux

2 years ago3D View: split object/pose box & lasso select
Campbell Barton [Tue, 28 Aug 2018 06:17:37 +0000 (16:17 +1000)]
3D View: split object/pose box & lasso select

Also fix error in lasso select with multiple pose objects.

2 years ago3D View: split object/pose border select
Campbell Barton [Tue, 28 Aug 2018 04:04:37 +0000 (14:04 +1000)]
3D View: split object/pose border select

No functional change, duplicate function for easy diffing.

Changes coming next.

2 years agoGP: Use custom api to get material
Antonioya [Tue, 28 Aug 2018 06:17:53 +0000 (08:17 +0200)]
GP: Use custom api to get material

2 years agoGP: Revert replace custom function by standard API
Antonioya [Tue, 28 Aug 2018 06:16:30 +0000 (08:16 +0200)]
GP: Revert replace custom function by standard API

Using custom api breaks material at object level

2 years agoPyRNA: all optional args now must be keyword args
Campbell Barton [Tue, 28 Aug 2018 03:50:24 +0000 (13:50 +1000)]
PyRNA: all optional args now must be keyword args

In some cases the RNA API should be updated to make arguments use the
'required' flag, instead of adjusting Python scripts.

See T47811

2 years agoRNA: use required args for internal popup end API
Campbell Barton [Tue, 28 Aug 2018 03:48:01 +0000 (13:48 +1000)]
RNA: use required args for internal popup end API

2 years agoRNA: make template_list list_id a required arg
Campbell Barton [Tue, 28 Aug 2018 03:42:30 +0000 (13:42 +1000)]
RNA: make template_list list_id a required arg

Prepare for keyword only args.

2 years agoUI: use keyword arguments
Campbell Barton [Tue, 28 Aug 2018 03:41:47 +0000 (13:41 +1000)]
UI: use keyword arguments

Prepare for keyword only args.

2 years agoCycles: use fields for property definitions
Campbell Barton [Tue, 28 Aug 2018 03:16:04 +0000 (13:16 +1000)]
Cycles: use fields for property definitions

2 years agoRNA: UILayout.split(..) 'percentage' to 'factor'
Campbell Barton [Tue, 28 Aug 2018 02:38:54 +0000 (12:38 +1000)]
RNA: UILayout.split(..) 'percentage' to 'factor'

Misleading name since it's between 0..1.

Use as a keyword argument to prepare for keyword only args.

Also document that leaving unset has special behavior.

2 years agoUI: text keyword argument to label
Campbell Barton [Tue, 28 Aug 2018 02:34:51 +0000 (12:34 +1000)]
UI: text keyword argument to label

Prepare for keyword only args

2 years agocmake: adjustments required for lib-upgrade on windows.
Ray Molenkamp [Tue, 28 Aug 2018 01:37:55 +0000 (19:37 -0600)]
cmake: adjustments required for lib-upgrade on windows.

2 years agobuild_environment: llvm only copy lib files for the debug build.
Ray Molenkamp [Tue, 28 Aug 2018 01:23:45 +0000 (19:23 -0600)]
build_environment: llvm only copy lib files for the debug build.

2 years agoCleanup: indentation
Campbell Barton [Tue, 28 Aug 2018 01:01:29 +0000 (11:01 +1000)]
Cleanup: indentation

2 years agoCleanup: warnings
Campbell Barton [Tue, 28 Aug 2018 00:53:35 +0000 (10:53 +1000)]
Cleanup: warnings

2 years agoGP: Replace custom function by standard API
Antonioya [Mon, 27 Aug 2018 21:16:02 +0000 (23:16 +0200)]
GP: Replace custom function by standard API

Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index

2 years agoFix T56577: Crash when using Grease Pencil Fill Brush
Antonioya [Mon, 27 Aug 2018 21:04:58 +0000 (23:04 +0200)]
Fix T56577: Crash when using Grease Pencil Fill Brush

If the brush had assigned a color not present in the object material slots, the fill crashed.

Now, the material is added to the object slot before using it.

2 years agotransform_snap_object: Add a small offset to the clip plane
mano-wii [Mon, 27 Aug 2018 19:00:20 +0000 (16:00 -0300)]
transform_snap_object: Add a small offset to the clip plane
This prioritizes the vertex and edge snap over raycast.

2 years agoFix T56557: wrong hash in Windows buildbot builds.
Brecht Van Lommel [Mon, 27 Aug 2018 17:35:46 +0000 (19:35 +0200)]
Fix T56557: wrong hash in Windows buildbot builds.

2 years agoBuild Environment: fix Windows Alembic build.
Brecht Van Lommel [Mon, 27 Aug 2018 17:06:00 +0000 (19:06 +0200)]
Build Environment: fix Windows Alembic build.

Ideally we should remove this difference between platforms, but for now
just do the simple fix.

2 years agoBuild environment: Enable SSL for Python on Linux
Sergey Sharybin [Mon, 27 Aug 2018 16:09:30 +0000 (18:09 +0200)]
Build environment: Enable SSL for Python on Linux

This involved getting SSL compiled from sources first, ensuring
it is a static library placement independent code. Configuration
is based on what Debian is using. CFlags required to have own
configuration file, which i didn't find a better place that next
to the corresponding CMake file.

It is OpenSSL btw.

It is set to Python via --with-openssl= configuration argument.
This works fine in a clean chroot, but having libssl-dev installed
might make Python to prefer system wide library, This was worked
around by using libssl_pic.a name for the library and modifying
setup.py. Would be cool to ensure system wide libraries are not
a problem, but official release builder is safe against this,
since it will catch possible non-static dependencies.

There is also a new map file which shadows bunch of Python
symbols. Without this Python's shared libraries might bring
conflicting symbols to Blender namespace at runtime.

Hopefully this doesn't break other platforms.

2 years agoRevert "DRW: Remove unecessary GL calls"
Clément Foucault [Mon, 27 Aug 2018 16:02:48 +0000 (18:02 +0200)]
Revert "DRW: Remove unecessary GL calls"

This reverts commit f8c857ad72e29eb509bd04067f94cd3df8a54aa4.

2 years agoDNA: Deprecate gridview
mano-wii [Mon, 27 Aug 2018 15:16:34 +0000 (12:16 -0300)]
DNA: Deprecate gridview

2 years agoDraw Manager: Remove unused function
mano-wii [Mon, 27 Aug 2018 14:59:57 +0000 (11:59 -0300)]
Draw Manager: Remove unused function

Signed-off-by: fclem
2 years agoFix T56547: Single column properties not aligned
Campbell Barton [Mon, 27 Aug 2018 14:59:15 +0000 (00:59 +1000)]
Fix T56547: Single column properties not aligned

2 years agoFix unreported: the gridview is no longer computed, so the snapping functions have...
mano-wii [Mon, 27 Aug 2018 14:40:48 +0000 (11:40 -0300)]
Fix unreported: the gridview is no longer computed, so the snapping functions have to use the actual grid scale.

2 years agoGP: New operator to copy layers between objects
Antonioya [Mon, 27 Aug 2018 14:29:19 +0000 (16:29 +0200)]
GP: New operator to copy layers between objects

The operator allows to copy a complete layer with all frames or only active frame to a new object.

Can be found in edit specials menu (W key) or in Layers specials menu (last button near layer list).

2 years agoImplement BMesh Operator string enumerators and docs generation.
Andrew Hale [Mon, 27 Aug 2018 13:51:27 +0000 (15:51 +0200)]
Implement BMesh Operator string enumerators and docs generation.

Partial implementation of T56496 for review.

Reviewers: campbellbarton

Reviewed By: campbellbarton

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