Commit Graph

80878 Commits

Author SHA1 Message Date
Antonioya be0e58d980 GP: Fix Shadow rotation bug 2018-10-01 11:36:18 +02:00
Alexander Gavrilov 534009098e Remove obsolete weight paint color computation code.
The new weight paint drawing code converts weight to color
directly in the shader, so the old CD_PREVIEW_MLOOPCOL based
code is not needed anymore.
2018-10-01 11:02:24 +03:00
Campbell Barton d64e60340f 3D View: use context mode string for sidebar
When moving panels from the toolbar to the sidebar,
'bl_context' is now used for filtering panels in both places.
2018-10-01 16:58:28 +10:00
Campbell Barton c06333d77b Object Join: use 'selected_editable_objects'
Was using 'selected_editable_bases', which used to save a lookup.
This is no longer the case and complicates access from Python
which cant yet easily access Bases.
2018-10-01 16:45:57 +10:00
Campbell Barton 5fca5c8065 Merge branch 'master' into blender2.8 2018-10-01 14:06:24 +10:00
mano-wii d6ca699d7e BLI_math: add `isect_seg_seg_v3` 2018-10-01 13:52:00 +10:00
mano-wii 9df476ecaa BLI_math: add `isect_seg_seg_v3` function and use in the cloth collision algorith.
In my tests a 4% improvement in performance was achieved by simulating a square cloth over the cube.
2018-10-01 00:16:44 -03:00
Campbell Barton 1f2c4f8809 Cleanup: use standard prefix for boolean settings
Avoid using 'add' as a prefix, it reads like a method.
2018-10-01 12:00:08 +10:00
Campbell Barton 12c49d05c6 Fix freed memory use w/ panel unregister 2018-10-01 10:32:48 +10:00
Campbell Barton bda7a333a3 Cleanup: use tuple unpacking 2018-10-01 09:20:32 +10:00
Campbell Barton 0256d8b4e2 Cleanup: pep8, unused import 2018-10-01 09:20:32 +10:00
Campbell Barton 8ee4fd0bdf Cleanup: style 2018-10-01 09:20:31 +10:00
Bastien Montagne 3cd98d9ef7 Fix T56981: python .scene_raycast returned object is not selectable.
Was returning COW evaluated object, not actual data-block...
2018-09-30 23:54:11 +02:00
Bastien Montagne 3a09ff77a1 Fix T56879: Blender2.8 Crash when Editing Text on Curve.
Moving cursor in 3D text edit mode calls `BKE_vfont_to_curve_ex()`,
which expects to work with evaluated data (curve cache runtime etc.).
2018-09-30 21:37:32 +02:00
Brecht Van Lommel bbd3ac73bc Fix T56396: Cycles wrong object motion blur with deformation blur disabled. 2018-09-30 19:34:34 +02:00
Brecht Van Lommel 0722981e99 Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.
2018-09-30 19:33:41 +02:00
Antonioya 40f10fe11a GP: The primitive line must not enable cyclic mode 2018-09-30 18:45:45 +02:00
Antonioya da032bdf23 GP: Cleanup and remove old debug code 2018-09-30 18:26:50 +02:00
Antonioya 5c184c4fec Fix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work. 2018-09-30 17:36:07 +02:00
Bastien Montagne 0bb9ebd058 io_utils: remove `orientation_helper_factory`.
Now we only use orientation_helper decorator.
2018-09-30 17:30:29 +02:00
Antonioya ec06532cef GP: New option to disable lasso while drawing
Now it's possible to disable the lasso effect of the fill color while drawing with a fill color.

This sometimes is required to see the lines and it's the first step to implement a new lasso brush.
2018-09-30 16:21:28 +02:00
Antonioya 60935cb9d8 GP: Ensure falloff curve is always initializated 2018-09-30 15:59:10 +02:00
Antonioya 8c3077ff94 Fix T56970 GP: Sculpt mode : Grap tool doesn't work 2018-09-30 13:54:23 +02:00
Antonioya 419fd80d46 GP: Fix error in mutiedit if curve is not available 2018-09-30 12:54:17 +02:00
Antonioya 4a72408124 GP: Do not use UI pixel scale for strokes
This scale value only must affect the interface, but never the stroke.
2018-09-30 11:49:02 +02:00
Antonioya f1afa6f6a7 GP: implement Shadow FX (wip)
Initial implementation of effect to create a drop shadow of the strokes
2018-09-30 11:49:02 +02:00
Campbell Barton d9f6fdae4b Add Image Operator: minor tweaks
- Use exception message on error.
- Use 3D view cursor location (for local view).
2018-09-30 17:55:39 +10:00
mano-wii f36efe0e2a Fix mysterious crash when using textureGather on Intel drivers.
The crash occurs in a shader with uniform block of a certain size and misaligned.
2018-09-29 16:56:47 -03:00
Antonioya 7e26991472 GP: Fix Thickness modifier error for strokes with few points 2018-09-29 18:07:54 +02:00
Dalai Felinto 3fe56ee8e7 Fix mixed drawing face and edge checks in draw manager 2018-09-29 12:22:44 -03:00
Antonioya 631ddc5acc GP: New parameters for instance modifier: Material and On Top
Now it's possible to define what material is used in the generated strokes and if the strokes are put in front of the original (default) or keep the original in front.

Before, the generated strokes have been always on top of the original because they were drawn later.
2018-09-29 16:54:16 +02:00
Antonioya 2ca67de960 A new function to move list at the beginning of another list
This is a change of the BLI_movelisttolist but in reverse order.
2018-09-29 16:45:33 +02:00
Dalai Felinto 0f9b7560db Multi-Objects: ARMATURE_OT_switch_direction 2018-09-28 19:11:27 -03:00
Dalai Felinto 3a8b56ce24 Multi-Objects: ARMATURE_OT_armature_layers 2018-09-28 19:06:07 -03:00
Dalai Felinto 1eb26680d4 Expose armature.dissolve to the menu
Following the vertice delete menu logic here, where delete needs no verb
and the special case (dissolve here) gets the full verb + noun)

Note: This operator wasn't even listed in the T54646 task. I suspect other
operators may share the same fate.
2018-09-28 18:53:29 -03:00
Dalai Felinto bfb0ebc3d1 Multiple-Objects: ARMATURE_OT_dissolve 2018-09-28 18:43:23 -03:00
Dalai Felinto 47cf8bd928 Multiple-Objects: ARMATURE_OT_flip_names 2018-09-28 18:23:32 -03:00
Dalai Felinto f4fe3f1975 RNA: Cleanup - remove no longer needed get/set functions
Left over from rBbdbf4471a6c4ba2d444eea5e7f0e6984b3aaafc2.
2018-09-28 16:54:17 -03:00
Dalai Felinto fc96283c1c Fix painting clone ui/rna not working 2018-09-28 16:34:12 -03:00
Antonioya 0c6103557a GP: Fix Fx Wave options panel
The orientation was layout vertical
2018-09-28 18:56:15 +02:00
Dalai Felinto c87d6048b9 Multi-Objects: Fix edit mesh texts drawing in the wrong place
It was always drawing on the active object localspace.
2018-09-28 13:40:51 -03:00
Brecht Van Lommel 637d938c0b Fix T56396: Cycles wrong object motion blur with deformation blur disabled. 2018-09-28 18:24:19 +02:00
Dalai Felinto 62aee662ae Fix errors for show_occlude_wire not in view3d.overlay 2018-09-28 12:31:25 -03:00
Dalai Felinto ffb424c85f Multi-Objects: MESH_OT_sort_elements
Based on D3330 by Falk David
2018-09-28 12:31:25 -03:00
Dalai Felinto 8a06249058 Fix wireframe threshold not active on wireframe mode 2018-09-28 12:31:25 -03:00
Brecht Van Lommel 0e7742d604 Templates: tweaks to 2D animation template from grease pencil team. 2018-09-28 17:28:23 +02:00
Antonioya a01afe04b0 GP: Remove Shader FX use_property_split to keep UI consistency
In order to get the same look and feel of modifiers, we need disable this single column option.
2018-09-28 17:25:35 +02:00
Antonioya 3037acf375 GP: Remove show lines from Pixelate effect
The grid lines get a weird result and it's better keep disabled. Maybe in the future we implement a new shader with a full grid.
2018-09-28 17:20:00 +02:00
Antonioya c78d83bca7 GP: Set pixel shader fx lines to OFF by default 2018-09-28 16:52:20 +02:00
Antonioya 0d2c95a77a GP: Make Layer and Material lists shorter
This reduces UI vertical space.
2018-09-28 15:47:53 +02:00