Campbell Barton
7cd9926fd8
Cleanup: use const for events
2017-10-14 17:30:15 +11:00
Julian Eisel
61fe8e8aca
Hide "Confirm on Release" button from transfor redo options
...
Hide-flag wasn't set so option shows up in keymap editor. But seems like
that flag is ignored there by now anyway.
2017-10-14 01:12:30 +02:00
Bastien Montagne
a51688d0b0
Fix T53052: ID decrement error when deleting a scene, either python or GUI.
...
User count of scenes was inconsistant, screens only have 'user_one' kind
of owning over scenes, which means they shall never increment or
decrement their real user count. And usually, scenes have no real user
at all.
2017-10-12 15:54:43 +02:00
Bastien Montagne
3b4f6996a8
Fix T52999: floating (popup) panels/menus could jump around screen in some cases.
...
Would happen during panel's refresh drawing, if drawing code had to adjust
final panel position compared to the initial one computed based on the
mouse coordinates, and user had dragged the floating panel around.
Issue fixed by adjusting stored mouse coordinates once final panel
position is known, such that they would directly generate those
coordinates. that way, the basic offset applied to those stored mouse
coordinates during panel dragging is valid, and recreating panel based
on those won't make it jump in screen.
Note that panel will still jump in case user dragged it partially out of
view - we could prevent that, but imho it's better to keep that
behavior, since redraw can generate a popup of different size, which
could end up with a totally out-of-view one...
Hopefully this fix does not break anything else!
2017-10-12 14:50:18 +02:00
Campbell Barton
b29e37ed81
Docs: add note for bmesh face_split_edgenet
2017-10-12 23:36:42 +11:00
Campbell Barton
99eb13d3f7
Fix T53040: Vertex paint, texure & symmetry fail
...
Removed old logic for brush texture which was being applied twice.
2017-10-10 23:31:07 +11:00
Campbell Barton
d2326e888a
Vertex Paint: add back missing VertProjHandle free
...
Also avoid passing large struct as value.
2017-10-10 22:32:30 +11:00
Campbell Barton
0592ac09ff
Correct logic for vertex paint smear
...
Swapping gave values from the state before the last.
Thanks to @angavrilov for spotting.
2017-10-10 20:38:52 +11:00
Campbell Barton
582fbda18f
Fix Sculpt 2D falloff, missing brush caused crash
2017-10-10 19:52:11 +11:00
Campbell Barton
caba67c2fa
Recent check for navigation missed NULL check
2017-10-10 02:43:56 +11:00
Aaron Carlisle
e9d06f0866
UI: VSE strip menu reorganization
...
Add Inputs and Transform submenus.
2017-10-09 13:59:49 +11:00
Bastien Montagne
9ea2a7c02d
Fix potential string buffer overruns.
...
Note that our library path handling is still rather dodgy on this
regards, shall take some time at some point to seriously sanitize it...
2017-10-08 16:08:00 +02:00
Campbell Barton
4b3e6cb728
Cleanup: --help text
...
Sync with manual
2017-10-08 18:49:58 +11:00
Brecht Van Lommel
f61c340bc1
Cycles: OpenCL bicubic and tricubic texture interpolation support.
2017-10-08 02:55:44 +02:00
Alexander Gavrilov
d013b56dde
Actually force accumulate mode for the Smear brush in weight/vertex paint.
...
Just removing the checkbox from UI isn't enough for proper behavior.
2017-10-07 13:53:54 +03:00
Alexander Gavrilov
6b8abefcc6
Make weight paint blur thread safe, and fix smear ignoring mirror.
...
Instead of trying to be clever with swaps and lazy updating the weight
data, simply recalculate one single array. To improve performance, use
threading for that.
2017-10-07 12:45:21 +03:00
Campbell Barton
3df139c530
Cleanup: Math lib naming (use v3 suffix)
2017-10-06 21:06:38 +11:00
Sergey Sharybin
70aa33f069
Sequencer: Cleanup, use more BLI utilities where possible
2017-10-06 15:00:22 +05:00
Sergey Sharybin
00eac066f3
Sequencer: Use BLI math functions where possible
2017-10-06 14:36:41 +05:00
Sergey Sharybin
d56f835bff
Sequencer: Avoid re-calculation index offset multiple times
2017-10-06 14:36:41 +05:00
Sergey Sharybin
5bbe818aeb
Sequencer: Use funciton instead of macr oto avoid argument re-evaluation
2017-10-06 14:36:41 +05:00
Sergey Sharybin
c756787694
Fix T52940: VSE Glow Effect Strip on transparent images has no blur
2017-10-06 14:36:41 +05:00
Campbell Barton
55b7adb9e5
Error in falloff_angle range in last commit
2017-10-06 20:20:15 +11:00
Campbell Barton
471be7e7f5
Vertex Paint: move normal falloff into the brush
...
All related settings are already in the brush,
so it's inconvenient to switch panels to change this one option.
2017-10-06 20:15:28 +11:00
Campbell Barton
6c43490616
Vertex Paint: use view normal w/ 2D falloff
...
When projecting to the view, cull faces pointing
away from the view normal.
2017-10-06 19:10:33 +11:00
Campbell Barton
8ef757df3d
Vertex Paint: use brush front-face setting
...
Follow sculpt mode more closely by using the brush front-face option.
2017-10-06 18:57:37 +11:00
Campbell Barton
082987ec74
Sculpt: use tube falloff when calculating normals
...
Also apply 2D clamping for other tools when the option is set.
2017-10-06 18:34:05 +11:00
Campbell Barton
3282218983
Sculpt: clamp normal to plane w/ projected falloff
...
Allows for editing outlines w/o pushing geometry towards/away from
the view.
2017-10-06 17:38:56 +11:00
Campbell Barton
327bb6e543
Fix ruler access from search pop-up
...
D2831 by @1xundoredo
2017-10-06 17:13:44 +11:00
Campbell Barton
c454d816a9
Cleanup: style
2017-10-06 16:56:41 +11:00
Brecht Van Lommel
c82efd3276
Fix T52514: don't clear filename when dropping directory path in file browser.
2017-10-06 00:18:57 +02:00
Brecht Van Lommel
64f8cc3e7d
Fix T52998: disabled menu entries responding to key shortcuts.
2017-10-05 19:12:05 +02:00
Campbell Barton
d8509b349d
Sculpt Mode: 2D falloff option
...
This makes brush influence into a tube instead of a sphere.
It can be used along the outline of a mesh to adjust it's silhouette.
Note that all this takes advantage of changes from vertex paint,
from testing this seems useful so exposing from the brush options.
2017-10-06 01:20:31 +11:00
Campbell Barton
56a07ba706
Vertex Paint: apply when cursor isn't over faces
...
This behavior makes more sense for sculpt, less so for painting.
Restores non PBVH behavior, adding `BKE_pbvh_find_nearest_to_ray` -
similar to ray-cast except it finds the closest point on the surface.
2017-10-05 21:21:01 +11:00
Campbell Barton
0badb6c804
Cleanup: rename dist -> depth
...
Prepare to add code that stores distance to the ray, avoid confusion.
2017-10-05 21:09:12 +11:00
Campbell Barton
21d91de8e7
Cleanup: remove unused struct member
...
Merged with soc-2016-pbvh-painting, no longer needed.
2017-10-05 17:52:05 +11:00
Campbell Barton
82d6a30015
Disable cursor drawing while navigating
...
Was performing ray-casts in sculpt mode on every update.
2017-10-05 17:35:46 +11:00
Campbell Barton
775c773cf4
Fix sculpt secondary color missing some brushes
...
D2841 by @uvwxyz w/ edits
2017-10-05 12:59:22 +11:00
Campbell Barton
3c67efbbc5
Cleanup: use bool for brush checks
2017-10-05 12:59:18 +11:00
Campbell Barton
974053f7e9
Fix brush reset (missing notifier)
...
D2843 by @uvwxyz
2017-10-05 12:32:24 +11:00
Campbell Barton
96477be3b6
PyAPI: fast keyword parsing for bpy modules
...
No functional changes.
2017-10-05 10:52:18 +11:00
Campbell Barton
d27ca066e7
Fix passing the same argument twice to BLI_strncpy
2017-10-05 10:50:51 +11:00
Campbell Barton
ffb190244c
Fix setting the operator name in Py operator API
2017-10-05 10:50:51 +11:00
Ray Molenkamp
57d7e5b6ee
Fix T42489 and T52936: Loading blend with minimized window results in crash or empty screen on windows.
...
Reviewed By: @brecht , @sergey
Differential Revision: http://developer.blender.org/D2866
2017-10-04 11:44:22 -06:00
Campbell Barton
296757804c
Fix error copying smoke modifier uv layer
2017-10-05 02:44:02 +11:00
Bastien Montagne
9609828000
Tssst, we use USA english, not Oxford one... :P
2017-10-04 12:42:33 +02:00
Bastien Montagne
a22af1a84b
Fix i18n messages extraction script, and a few more UI messages...
2017-10-04 12:39:06 +02:00
Sergey Sharybin
b22b2c783d
Fix T52982: Join operator with context override crashes Blender 2.79
2017-10-04 15:00:05 +05:00
Campbell Barton
d1dfed206b
Fix T52923: Circle diameter is in fact radius
2017-10-04 18:01:53 +11:00
Campbell Barton
08f728a3e9
Cleanup: redundant casts
2017-10-04 16:52:55 +11:00