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
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
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
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
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
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
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
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
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
Antonioya
c78d83bca7
GP: Set pixel shader fx lines to OFF by default
2018-09-28 16:52:20 +02:00
Dalai Felinto
0f03750f4f
Cleanup: Remove bmo_similar.c and small renaming
2018-09-28 10:32:04 -03:00
Dalai Felinto
75b2091d42
Multi-Objects: Select similar vertex: SIMVERT_VGROUP
...
I'm storing the name of the vertex groups in a gset. This way
we can select vertex groups with the same name across different
objects.
Also this is the last select similar mode that needs porting o/
2018-09-28 10:25:23 -03:00
Jacques Lucke
3341d42ad5
Fix T56947: Copy text from disabled search menu crashed
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3745
2018-09-28 14:12:25 +02:00
Sergey Sharybin
b880c13c3a
Merge branch 'master' into blender2.8
2018-09-28 13:58:30 +02:00
Brecht Van Lommel
45271007cf
Fix T56905: unsupported channel layout error writing AAC audio.
...
This uses same mapping as Audaspace to specify channel layout, which was
missing before.
2018-09-28 12:07:05 +02:00
Brecht Van Lommel
29c8c6cf4f
Fix T56940: crash rendering with OpenGL as engine.
2018-09-28 10:39:20 +02:00
Sergey Sharybin
89264d8c40
Make struct initialization happy for CLang
2018-09-28 10:13:56 +02:00
Sergey Sharybin
c72770d1cb
Subdiv: Return enumerator of proper type
...
Was harmless, that code is never to be reached.
2018-09-28 10:13:18 +02:00
Sergey Sharybin
763c78fccb
Fix/workaround stupidity of CLang
...
Seems there is something wrong with ternary operator
and type deduction.
Copying matrix to a variable with cleaner name seems
to be better solution than to force cast to an array.
2018-09-28 10:11:28 +02:00
Sergey Sharybin
6398e6608f
GPencil: Avoid tautology assignment
...
This is considered a warning which is usually promoted to
error in developers' environment.
Probably worth adding an assert or so, if possible?
2018-09-28 10:10:25 +02:00
Sergey Sharybin
fa6b0cdc79
GPencil: Use proper enumerator type
...
Was using GpencilModifierType in type definition,
but rest of usage was using values from GpencilModifierTypeType.
2018-09-28 10:04:31 +02:00
Sergey Sharybin
e26620337a
Merge branch 'master' into blender2.8
2018-09-28 09:47:02 +02:00
Sergey Sharybin
81f68bbba1
Fix compilation errors and warnings with Clang-6
2018-09-28 09:46:12 +02:00
Sebastian Parborg
a16e5b8efa
Cleanup: remove unused DerivedMesh code.
...
Differential Revision: https://developer.blender.org/D3736
2018-09-27 20:19:28 +02:00
Brecht Van Lommel
6baea955bf
UI: use new 3D viewport navigation icons and image icon in add menu.
...
I had to make the viewport navigation icons a bit smaller in the SVG since
the edges were being clipped off, we only support 16x16 icons currently.
They are a bit blurry because of this.
2018-09-27 20:11:10 +02:00
Brecht Van Lommel
0b4c440baa
UI: add first batch of monochrome icons designed by Andrzej Ambroz.
...
Currently only for simple commands like play, add, zoom, expand, etc.
2018-09-27 18:41:27 +02:00
Brecht Van Lommel
28324143c4
UI: draw mono icons with button type text color, instead of area text color.
2018-09-27 18:39:50 +02:00