blender.git
20 months agoUI: show confirmation for metaball delete
Campbell Barton [Tue, 9 Oct 2018 22:41:44 +0000 (09:41 +1100)]
UI: show confirmation for metaball delete

Matches other modes.

20 months agoCleanup: avoid for loop
Campbell Barton [Tue, 9 Oct 2018 23:31:00 +0000 (10:31 +1100)]
Cleanup: avoid for loop

20 months agoMulti-Objects: ARMATURE_OT_layers_show_all
Dalai Felinto [Tue, 9 Oct 2018 23:28:17 +0000 (20:28 -0300)]
Multi-Objects: ARMATURE_OT_layers_show_all

20 months agoView3D Header: Display the text "Mix" instead of an icon when more than one snap...
mano-wii [Tue, 9 Oct 2018 23:10:52 +0000 (20:10 -0300)]
View3D Header: Display the text "Mix" instead of an icon when more than one snap element is enabled.

20 months agoDissolve/delete dont need confirmation when called from menu
Dalai Felinto [Tue, 9 Oct 2018 22:39:37 +0000 (19:39 -0300)]
Dissolve/delete dont need confirmation when called from menu

20 months agoMulti-Objects: ARMATURE_OT_reveal
Dalai Felinto [Tue, 9 Oct 2018 22:27:39 +0000 (19:27 -0300)]
Multi-Objects: ARMATURE_OT_reveal

20 months agoMulti-Objects: ARMATURE_OT_hide
Dalai Felinto [Tue, 9 Oct 2018 22:27:24 +0000 (19:27 -0300)]
Multi-Objects: ARMATURE_OT_hide

20 months agoRemove Align to View Operator
Campbell Barton [Tue, 9 Oct 2018 22:19:09 +0000 (09:19 +1100)]
Remove Align to View Operator

This only worked on new objects, which is no longer needed.
It didn't account for:

- Quaternion or axis-angle rotation.
- Parenting.
- Constraints.

If we support object rotation alignment, it might be best to
make it a more general set of alignment operators
(align transform, orientation - not limiting to view).

20 months agoEmpty Image: use draw size instead of object scale
Campbell Barton [Tue, 9 Oct 2018 21:55:23 +0000 (08:55 +1100)]
Empty Image: use draw size instead of object scale

Object scale has implications for parenting, use draw size instead.

Also use add-empty view_align option instead of a separate operator.

20 months agoRemoval of "extend" option for ARMATURE_OT_select_linked
Dalai Felinto [Tue, 9 Oct 2018 21:27:27 +0000 (18:27 -0300)]
Removal of "extend" option for ARMATURE_OT_select_linked

This property (even in 2.7) was not working. In fact it behaves as extended
when extended was FALSE.

Besides all that, the operator is not affected my multi-objects, so it
is good to go.

20 months agoUI: reduce greying out of icons in radio and toggle buttons.
Brecht Van Lommel [Tue, 9 Oct 2018 21:05:43 +0000 (23:05 +0200)]
UI: reduce greying out of icons in radio and toggle buttons.

With the monochrome icons this reduced the contrast too much.

20 months agoCleanup: Remove old shader reference
Clément Foucault [Tue, 9 Oct 2018 18:22:40 +0000 (20:22 +0200)]
Cleanup: Remove old shader reference

20 months agoEevee: Lights: Bump the minimum area light size
Clément Foucault [Tue, 9 Oct 2018 17:07:52 +0000 (19:07 +0200)]
Eevee: Lights: Bump the minimum area light size

This is to avoid visible artifacts with default lamps intensity.

20 months agoEevee: Volume: Fix incorrect Light intensity compared to cycles
Clément Foucault [Tue, 9 Oct 2018 17:06:19 +0000 (19:06 +0200)]
Eevee: Volume: Fix incorrect Light intensity compared to cycles

20 months agoCleanup: Remove old smoke drawing code
Clément Foucault [Tue, 9 Oct 2018 16:34:25 +0000 (18:34 +0200)]
Cleanup: Remove old smoke drawing code

20 months agoGP: Add Shift+F to change Drawing Brush strength
Antonioya [Tue, 9 Oct 2018 17:07:02 +0000 (19:07 +0200)]
GP: Add Shift+F to change Drawing Brush strength

20 months agoFix T57097: Crash when adding a Texture Slot in Texture Paint mode
Clément Foucault [Tue, 9 Oct 2018 15:54:40 +0000 (17:54 +0200)]
Fix T57097: Crash when adding a Texture Slot in Texture Paint mode

Was caused by the use of a batch that was using a discarded index buffer.

20 months agoGP: Add RNA path function for gp brush settings
Antonioya [Tue, 9 Oct 2018 15:45:10 +0000 (17:45 +0200)]
GP: Add RNA path function for gp brush settings

20 months agoGP: Minor changes to canvas panel
Antonioya [Tue, 9 Oct 2018 15:44:16 +0000 (17:44 +0200)]
GP: Minor changes to canvas panel

20 months agoEevee: Fix crash with defered compilation and volumetric shaders
Clément Foucault [Tue, 9 Oct 2018 15:33:49 +0000 (17:33 +0200)]
Eevee: Fix crash with defered compilation and volumetric shaders

20 months agoEevee: Add support/Fix Object Info node
Clément Foucault [Tue, 9 Oct 2018 15:32:13 +0000 (17:32 +0200)]
Eevee: Add support/Fix Object Info node

Caveat: Random output does not yet work with instance (dupli) objects.

20 months agoFix T57122: Sample color during texture painting not working.
Bastien Montagne [Tue, 9 Oct 2018 15:31:04 +0000 (17:31 +0200)]
Fix T57122: Sample color during texture painting not working.

Stupid +1/-1 fiddling of mat indices (between MPolys and object...).

Initial investigation and patch by @dfelinto, thx.

20 months agoPython GPU: Update `shader.from_builtin` and `shader.code_from_builtin` description.
mano-wii [Tue, 9 Oct 2018 15:18:28 +0000 (12:18 -0300)]
Python GPU: Update `shader.from_builtin` and `shader.code_from_builtin` description.

20 months agoGPU Python: Use string literals in `shader.from_builtin` and `shader.code_from_builtin`.
mano-wii [Tue, 9 Oct 2018 15:06:42 +0000 (12:06 -0300)]
GPU Python: Use string literals in `shader.from_builtin` and `shader.code_from_builtin`.

Also, the gpu.shader.builtin submodule becomes obsolete, so it has been removed.

20 months agoGP: Improve center object in viewport when press .
Antonioya [Tue, 9 Oct 2018 14:55:13 +0000 (16:55 +0200)]
GP: Improve center object in viewport when press .

Before when press . (view_select) the object was centered at the dummy, but now it's centered with the strokes bounding box size.

Also fixed some problems in edit mode when the object origin was not in view origin.

20 months agoCleanup
Dalai Felinto [Tue, 9 Oct 2018 13:37:41 +0000 (13:37 +0000)]
Cleanup

20 months agoFix T55202: 3D Cursor Snapping not working correctly in Edit Mode.
mano-wii [Tue, 9 Oct 2018 13:23:31 +0000 (10:23 -0300)]
Fix T55202: 3D Cursor Snapping not working correctly in Edit Mode.

Use `mesh_eval_final` in this case.

20 months agoFix build error on windows/MSVC
Dalai Felinto [Tue, 9 Oct 2018 12:45:00 +0000 (12:45 +0000)]
Fix build error on windows/MSVC

20 months agoFix for assert when sampling color to non-existent palette
Dalai Felinto [Tue, 9 Oct 2018 12:42:02 +0000 (12:42 +0000)]
Fix for assert when sampling color to non-existent palette

20 months agoImage Empties: Usability improvements and fixes
Jacques Lucke [Tue, 9 Oct 2018 12:36:15 +0000 (14:36 +0200)]
Image Empties: Usability improvements and fixes

- new "Align to View" option when loading a new image
- automatically align to view when dropping an image into a viewport
- larger default size for image empties
- fix image empty gizmo in orthographic view
- new "Align Objects to View" operator

Reviewer: brecht

Differential: https://developer.blender.org/D3778

20 months agoFix T57115: buttons drawing wrong after recent icon drawing changes.
Brecht Van Lommel [Tue, 9 Oct 2018 11:36:28 +0000 (13:36 +0200)]
Fix T57115: buttons drawing wrong after recent icon drawing changes.

20 months agoFix Weight Paint display with Subdivision Surface modifier.
Alexander Gavrilov [Tue, 9 Oct 2018 11:21:23 +0000 (14:21 +0300)]
Fix Weight Paint display with Subdivision Surface modifier.

The flag used to be set by the now removed old weight paint coloring code.

20 months agoDRW: Fix volume visibility when object draw type is wire or bbox
Clément Foucault [Tue, 9 Oct 2018 10:09:13 +0000 (12:09 +0200)]
DRW: Fix volume visibility when object draw type is wire or bbox

20 months agoWorkbench: Smoke: Add support for Color Mappping for smoke debugging
Clément Foucault [Tue, 9 Oct 2018 09:19:54 +0000 (11:19 +0200)]
Workbench: Smoke: Add support for Color Mappping for smoke debugging

20 months agoGPUDraw: Smoke: Cleanup/Refactor
Clément Foucault [Tue, 9 Oct 2018 09:13:00 +0000 (11:13 +0200)]
GPUDraw: Smoke: Cleanup/Refactor

20 months agoFix crash in T56064: Blender crashes on selecting text-object.
Bastien Montagne [Tue, 9 Oct 2018 09:07:58 +0000 (11:07 +0200)]
Fix crash in T56064: Blender crashes on selecting text-object.

The root of the issue remains though, see T56172, this is just a quick
bandaid to stop crashing on it, until we find a proper solution.

20 months agoPython API: new GPUShader.format_calc() method
Jacques Lucke [Tue, 9 Oct 2018 09:17:29 +0000 (11:17 +0200)]
Python API: new GPUShader.format_calc() method

Reviewers: mano-wii, fclem, campbellbarton

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

20 months agoEdit Mesh: replace DerivedMesh w/ Mesh
Campbell Barton [Tue, 9 Oct 2018 05:52:46 +0000 (16:52 +1100)]
Edit Mesh: replace DerivedMesh w/ Mesh

DerivedMesh is now removed from edit-mesh modifier evaluation.

20 months agoCleanup: naming
Campbell Barton [Tue, 9 Oct 2018 05:09:59 +0000 (16:09 +1100)]
Cleanup: naming

Use BKE_mesh_* prefix for mesh module.

20 months agoCleanup: remove unused EditDerivedBMesh
Campbell Barton [Tue, 9 Oct 2018 04:57:38 +0000 (15:57 +1100)]
Cleanup: remove unused EditDerivedBMesh

20 months agoEdit Mesh: remove derived-mesh from crazy-space calculation
Campbell Barton [Tue, 9 Oct 2018 04:37:10 +0000 (15:37 +1100)]
Edit Mesh: remove derived-mesh from crazy-space calculation

20 months agoModifier: move edit-mesh calculation from DerivedMesh to Mesh
Campbell Barton [Tue, 9 Oct 2018 04:04:51 +0000 (15:04 +1100)]
Modifier: move edit-mesh calculation from DerivedMesh to Mesh

20 months agoModifier: add non derived mesh modifier wrappers
Campbell Barton [Tue, 9 Oct 2018 02:19:21 +0000 (13:19 +1100)]
Modifier: add non derived mesh modifier wrappers

Rename modifier_deformVerts_ensure_normals &
modifier_applyModifier_ensure_normals with wrappers that match 2.7x
convention.

20 months agoCleanup: naming
Campbell Barton [Tue, 9 Oct 2018 01:23:22 +0000 (12:23 +1100)]
Cleanup: naming

Rename DerivedMesh modifier functions to make room for mesh versions.

20 months agoCleanup: naming
Campbell Barton [Tue, 9 Oct 2018 00:01:50 +0000 (11:01 +1100)]
Cleanup: naming

- immAttrib*    -> immAttr*
- immSkipAttrib -> immAttrSkip

Term 'attr' is a convention for GPU module.

20 months agoCleanup: naming
Campbell Barton [Mon, 8 Oct 2018 23:49:44 +0000 (10:49 +1100)]
Cleanup: naming

20 months agoCleanup: warnings
Campbell Barton [Mon, 8 Oct 2018 23:40:09 +0000 (10:40 +1100)]
Cleanup: warnings

20 months agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 8 Oct 2018 23:41:13 +0000 (10:41 +1100)]
Merge branch 'master' into blender2.8

20 months agoFix misuse of Py_INCREF in module creation.
mano-wii [Mon, 8 Oct 2018 23:01:55 +0000 (20:01 -0300)]
Fix misuse of Py_INCREF in module creation.

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

20 months agoCleanup: spelling
Campbell Barton [Mon, 8 Oct 2018 22:28:36 +0000 (09:28 +1100)]
Cleanup: spelling

20 months agoCleanup: naming
Campbell Barton [Mon, 8 Oct 2018 22:25:33 +0000 (09:25 +1100)]
Cleanup: naming

20 months agoCycles: Fix NLM denoising kernels zeroing the wrong buffer on OpenCL
Lukas Stockner [Mon, 8 Oct 2018 22:03:47 +0000 (00:03 +0200)]
Cycles: Fix NLM denoising kernels zeroing the wrong buffer on OpenCL

Since my temporary buffer commit (about a month ago), the OpenCL device was zeroing the wrong buffer, leading to
completely wrong filtered feature passes and therefore significantly lower-quality results than CPU and CUDA.

20 months agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 8 Oct 2018 21:46:00 +0000 (08:46 +1100)]
Merge branch 'master' into blender2.8

20 months agoGP: New Canvas offset parameters
Antonioya [Mon, 8 Oct 2018 21:21:44 +0000 (23:21 +0200)]
GP: New Canvas offset parameters

Now the canvas can me moved in X/Y axis.

20 months agoCleanup: style
Campbell Barton [Mon, 8 Oct 2018 20:58:06 +0000 (07:58 +1100)]
Cleanup: style

20 months agoFix T57103: Subdivide smooth results in NAN verts
Campbell Barton [Mon, 8 Oct 2018 20:47:35 +0000 (07:47 +1100)]
Fix T57103: Subdivide smooth results in NAN verts

20 months agoCycles: Clean up extra minus in previous commit
Lukas Stockner [Mon, 8 Oct 2018 20:22:05 +0000 (22:22 +0200)]
Cycles: Clean up extra minus in previous commit

Forgot to add that change, sorry for the noise.

20 months agoCycles: Reuse existing buffer in the NLM denoising kernels on CPU
Lukas Stockner [Mon, 8 Oct 2018 20:17:06 +0000 (22:17 +0200)]
Cycles: Reuse existing buffer in the NLM denoising kernels on CPU

20 months agoCycles: Use existing shared temporary memory in reconstruction step of the denoiser
Lukas Stockner [Mon, 8 Oct 2018 20:13:40 +0000 (22:13 +0200)]
Cycles: Use existing shared temporary memory in reconstruction step of the denoiser

Previously the code allocated its own temporary memory, but it's possible to just use the existing shared one instead.

20 months agoSplash: add themes to first time setup in splash screen.
Brecht Van Lommel [Mon, 8 Oct 2018 17:19:05 +0000 (19:19 +0200)]
Splash: add themes to first time setup in splash screen.

* Add default theme as Blender Dark.
* Rename Flatty Light to Blender Light.
* When setting theme, reset to default first for consistent results.

20 months agoUI: layout tweaks for headers.
William Reynish [Mon, 8 Oct 2018 17:10:10 +0000 (19:10 +0200)]
UI: layout tweaks for headers.

* Move all copy & paste operators into the menus. There was no real reason
  why these particular operators should be in the header and not in the menus,
  like all other operators
* Move ‘Update Automatically’ toggle from UV/Image Editor header into menu.
* Move the pin toggle next to the ID blocks, because it is related.
* Move OpenGL render from sequence header into View menu.
* Sequence editor display mode and channels are now not expanded.

20 months agoUI: add icon color coding for different data types in the outliner.
Brecht Van Lommel [Tue, 2 Oct 2018 17:04:38 +0000 (19:04 +0200)]
UI: add icon color coding for different data types in the outliner.

For now we have categories collection, object, object data, modifiers &
constraints, and shading. The icons can be categorized by adding e.g.
DEF_ICON_OBJECT() in UI_icons.h.

Light themes will need to be updated to use darker colors to keep icons
visible in the outliner.

20 months agoUI: new icon set by Andrzej Ambroz.
Brecht Van Lommel [Mon, 1 Oct 2018 08:45:50 +0000 (10:45 +0200)]
UI: new icon set by Andrzej Ambroz.

This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.

20 months agoFix incorrect alpha blending for icon drawing outside buttons.
Brecht Van Lommel [Mon, 8 Oct 2018 11:28:14 +0000 (13:28 +0200)]
Fix incorrect alpha blending for icon drawing outside buttons.

This was not so noticeable for old icons with black outline, but with
white outline it's problematic.

20 months agoFix tool panel not refreshing when updating color
Dalai Felinto [Mon, 8 Oct 2018 15:40:18 +0000 (15:40 +0000)]
Fix tool panel not refreshing when updating color

20 months agoGP: New automatic adaptative UVs parameter
Antonioya [Mon, 8 Oct 2018 16:33:26 +0000 (18:33 +0200)]
GP: New automatic adaptative UVs parameter

Now by default the UVs are calculated with a fixed size and this makes easier to add patterns for drawings like Manga. Before, the texture changed depending of the stroke size.

20 months agoWorkbench: Smoke: Port back Flame display
Clément Foucault [Mon, 8 Oct 2018 15:20:02 +0000 (17:20 +0200)]
Workbench: Smoke: Port back Flame display

The appearance is a bit different than 2.79 where the flame was just added
on top of the smoke without correct blending.

Now it's much more realistic and using volumetric integration. You can see
the smoke actually masking the flame.

The other difference is that the flame color was not using proper color
managed blending. Now with the use of filmic it shows bright yellow.
This could be adjusted and displayed as a user parameter in the future.

20 months agoEEVEE: Fix unpremultiplied alpha in render result
Clément Foucault [Mon, 8 Oct 2018 15:07:09 +0000 (17:07 +0200)]
EEVEE: Fix unpremultiplied alpha in render result

Fix T57102

20 months agoWorkbench: Smoke: Fix display
Clément Foucault [Mon, 8 Oct 2018 09:25:24 +0000 (11:25 +0200)]
Workbench: Smoke: Fix display

Includes the following fixes
- Fix smoke texture creation: data was interpreted as Byte instead of Floats.
- Fix Velocity texture not being free after draw: also was causing crashes.
- Fix display_thickness not being copied during COW.
- Fix Blending and general volume rendering algorithm.
- Add Volume Shadowing support.

20 months agoImplement display of weight isoline contours in the fragment shader.
Alexander Gavrilov [Thu, 27 Sep 2018 15:38:07 +0000 (18:38 +0300)]
Implement display of weight isoline contours in the fragment shader.

Add an option to display contour lines tracing through points with the
same interpolated weight value in weight paint mode. This can be useful
for working on gentle gradients over a relatively high resolution mesh,
where the difference in color between adjacent vertices is very small.

The contour grid has 3 levels of detail going down to step 0.001,
which automatically fade in or out based on the weight gradient.

Fade out works by capping both screen space and weight space line
width, and reducing alpha when the screen space width becomes too
small for moire and noise-less rendering.

Reviewers: fclem

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

20 months agoFix T57083: Grease Pencil / Texture Paint Crash in 2.8
Antonioya [Mon, 8 Oct 2018 08:32:41 +0000 (10:32 +0200)]
Fix T57083: Grease Pencil / Texture Paint Crash in 2.8

The brush of texture paint hadn't gp_icon

20 months agouse keyword argument for template_node_socket()
Philipp Oeser [Mon, 8 Oct 2018 07:14:25 +0000 (09:14 +0200)]
use keyword argument for template_node_socket()

20 months agoEdit Mesh: basic show in edit mode support
Campbell Barton [Mon, 8 Oct 2018 06:29:59 +0000 (17:29 +1100)]
Edit Mesh: basic show in edit mode support

Note this is just using the derived-mesh data at the moment,
to support this properly we'll need to remove derived-mesh.

20 months agoEdit Mesh: use deformed mesh w/ face-dot & normals
Campbell Barton [Mon, 8 Oct 2018 01:18:45 +0000 (12:18 +1100)]
Edit Mesh: use deformed mesh w/ face-dot & normals

20 months agoCleanup: extract cache calculation from derived-mesh
Campbell Barton [Mon, 8 Oct 2018 00:35:01 +0000 (11:35 +1100)]
Cleanup: extract cache calculation from derived-mesh

20 months agoCleanup: use DRW_object_is_* for object checks
Campbell Barton [Sun, 7 Oct 2018 23:43:34 +0000 (10:43 +1100)]
Cleanup: use DRW_object_is_* for object checks

Also use const qualifier for object's.

20 months agoCleanup: rename checks for Python struct strings
Campbell Barton [Sun, 7 Oct 2018 21:37:32 +0000 (08:37 +1100)]
Cleanup: rename checks for Python struct strings

Using 'format' prefix made this read as if t was for string formatting.

Use 'PyC_StructFmt' prefix instead since these values are compatible
with formatting from Python's 'struct' module.

20 months agoCPython: use format char utilities in idprop_py_api
mano-wii [Sun, 7 Oct 2018 15:24:47 +0000 (12:24 -0300)]
CPython: use format char utilities in idprop_py_api

20 months agoCPython: py_capi_utils: format char utilities do not need to be inline.
mano-wii [Sun, 7 Oct 2018 15:22:17 +0000 (12:22 -0300)]
CPython: py_capi_utils: format char utilities do not need to be inline.

20 months agoCPython: py_capi_utils: use more descriptive names for format string utilities.
mano-wii [Sun, 7 Oct 2018 15:21:09 +0000 (12:21 -0300)]
CPython: py_capi_utils: use more descriptive names for format string utilities.

20 months agoCleanup: style
Campbell Barton [Sun, 7 Oct 2018 06:49:22 +0000 (17:49 +1100)]
Cleanup: style

20 months agoTests: Support parallel execution of render tests
Lukas Stockner [Sat, 6 Oct 2018 20:12:28 +0000 (22:12 +0200)]
Tests: Support parallel execution of render tests

Previously, parallel tests would overwrite each others temporary outputs.

20 months agoCycles: Implement vectorized NLM kernels for faster CPU denoising
Lukas Stockner [Sat, 6 Oct 2018 18:39:01 +0000 (20:39 +0200)]
Cycles: Implement vectorized NLM kernels for faster CPU denoising

20 months agoFix crash unregistering parent panel before children.
Brecht Van Lommel [Sat, 6 Oct 2018 18:56:08 +0000 (20:56 +0200)]
Fix crash unregistering parent panel before children.

This caused crashes with addon enabling/disabling and template loading.

20 months agoVertex Paint: support switching to secondary color temporarily holding Ctrl
Philipp Oeser [Sat, 6 Oct 2018 12:56:49 +0000 (14:56 +0200)]
Vertex Paint: support switching to secondary color temporarily holding Ctrl

while it is possible to permanently flip the colors using the 'X' button, this makes it consistent with Texture Paint.

fixes T56994

Reviewers: campbellbarton, brecht

Reviewed By: brecht

Subscribers: JulienKaspar

Tags: #sculpting_and_painting

Maniphest Tasks: T56994

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

21 months agoCleanup: use the naming convention in py_capi_utils
mano-wii [Sat, 6 Oct 2018 04:15:15 +0000 (01:15 -0300)]
Cleanup: use the naming convention in py_capi_utils

And use inline functions instead of preprocessor directives.

21 months agoCleanup: use new format string utility
mano-wii [Sat, 6 Oct 2018 03:13:54 +0000 (00:13 -0300)]
Cleanup: use new format string utility

21 months agopy_capi_utils: add utilities for format string in `struct` module style syntax.
mano-wii [Sat, 6 Oct 2018 03:13:40 +0000 (00:13 -0300)]
py_capi_utils: add utilities for format string in `struct` module style syntax.

21 months agoPseudo-fix for ARMATURE_OT_autoside_names and x-mirror
Dalai Felinto [Fri, 5 Oct 2018 22:41:48 +0000 (19:41 -0300)]
Pseudo-fix for ARMATURE_OT_autoside_names and x-mirror

It now works like 2.7x. That said this operator is kind of incompatible with
x-mirror (the way it is implemented anyways). But if people were happy with
this in 2.7x they will be multi-object happier.

That said, do turn off x-mirror before using this or select all bones, or just
stop using this operator altogether ;)

Jokes aside, the operator can also be fixed. It shouldn't be hard.

21 months agoFix for ARMATURE_OT_flip_names and x-mirror
Dalai Felinto [Fri, 5 Oct 2018 22:28:04 +0000 (19:28 -0300)]
Fix for ARMATURE_OT_flip_names and x-mirror

There was a reason this was using CTX_DATA_BEGIN in the first place.
Issue introduced on 47cf8bd92847c6837e7af5bd0edbfe1d62fdcaf5.

21 months agoMulti-Objects: ARMATURE_OT_parent_clear
Dalai Felinto [Fri, 5 Oct 2018 21:42:55 +0000 (18:42 -0300)]
Multi-Objects: ARMATURE_OT_parent_clear

21 months agoMulti-Objects: ARMATURE_OT_symmetrize
Dalai Felinto [Fri, 5 Oct 2018 21:27:05 +0000 (18:27 -0300)]
Multi-Objects: ARMATURE_OT_symmetrize

21 months agoMulti-Objects: ARMATURE_OT_separate
Dalai Felinto [Fri, 5 Oct 2018 21:13:17 +0000 (18:13 -0300)]
Multi-Objects: ARMATURE_OT_separate

21 months agoMulti-Objects: ARMATURE_OT_split
Dalai Felinto [Fri, 5 Oct 2018 20:55:54 +0000 (17:55 -0300)]
Multi-Objects: ARMATURE_OT_split

21 months agoSilence warning
Dalai Felinto [Fri, 5 Oct 2018 20:55:34 +0000 (17:55 -0300)]
Silence warning

21 months agoARMATURE_OT_fill: cleanup
Dalai Felinto [Fri, 5 Oct 2018 20:49:26 +0000 (17:49 -0300)]
ARMATURE_OT_fill: cleanup

Remove nonsensical insanity check.
Remove FIXME that would never be addressed anyways.

21 months agoMulti-Objects: ARMATURE_OT_merge
Dalai Felinto [Fri, 5 Oct 2018 20:30:56 +0000 (17:30 -0300)]
Multi-Objects: ARMATURE_OT_merge

Also removed the insane insanity check. This would fail in the
poll function. No point in that level of paranoia.

And return OPERATOR_FINISHED regardless. Since this has a parameter
(though not used) you may get want to tweak REDO (in the future).

21 months agoGPU Python: optionally init the vertexformat in the vertexbuffer itself.
mano-wii [Fri, 5 Oct 2018 20:21:10 +0000 (17:21 -0300)]
GPU Python: optionally init the vertexformat in the vertexbuffer itself.

21 months agoMulti-Objects: ARMATURE_OT_autoside_names
Dalai Felinto [Fri, 5 Oct 2018 20:02:37 +0000 (17:02 -0300)]
Multi-Objects: ARMATURE_OT_autoside_names

21 months agoAdd and use a utility for computing B-Bone roll from custom handles.
Alexander Gavrilov [Fri, 5 Oct 2018 18:02:57 +0000 (21:02 +0300)]
Add and use a utility for computing B-Bone roll from custom handles.

This also fixes a stability problem with the start handle
due to an incorrect matrix multiplication order.