Campbell Barton
8326fe7aa5
Gizmo: value2d cancel, snap & precise support
2018-09-13 22:04:54 +10:00
Antonioya
3b8251664e
GP: Improve soft eraser rounded caps
...
When draw segments the rounded cap must be only visible in some situations.
2018-09-13 12:39:02 +02:00
Campbell Barton
09aa446100
Merge branch 'master' into blender2.8
2018-09-13 20:15:18 +10:00
Campbell Barton
254067106e
PyAPI: remove operator methods that leak memory
2018-09-13 20:10:56 +10:00
Campbell Barton
ff432a410a
PyAPI: use brief description for operator repr
...
Only include description in docstring.
Also avoid using op_get_rna.
2018-09-13 19:59:15 +10:00
Bastien Montagne
2c4f091feb
Merge branch 'master' into blender2.8
2018-09-13 11:27:38 +02:00
Campbell Barton
aacdd28edd
PyDoc: add bpy.app.icons to docs
2018-09-13 19:21:08 +10:00
Bastien Montagne
2be1d8bbaf
Tentative fix for T56770: Crash after set language to Simplified Chinese.
...
That bug probably did not affect 2.7x, only 2.8 with COW copying IDs in
threads... But root of the issue is that underlying boost i18n lib does
not support well multi-threaded access. So simply forbid any translation
from non-main thread. This *may* be an annoying limit at some point, but
doubt it will be any issue currently.
2018-09-13 11:20:49 +02:00
Campbell Barton
e8fa13b01e
Fix leak in tool tooltip creation
2018-09-13 18:21:54 +10:00
Campbell Barton
af1cf00003
Merge branch 'master' into blender2.8
2018-09-13 18:19:24 +10:00
Campbell Barton
a6fc718029
PyAPI: add API call to get an operators type
...
Getting the instance leaks memory and was only meant to be used for
generating docs.
2018-09-13 18:16:06 +10:00
Campbell Barton
d538de90a7
Merge branch 'master' into blender2.8
2018-09-13 17:56:32 +10:00
Campbell Barton
9900addf11
Cleanup: _bpy.ops utility to lookup an operator
2018-09-13 17:47:56 +10:00
Campbell Barton
c197c210e4
PyAPI: add bpy.app.icons to sys.modules
2018-09-13 17:20:27 +10:00
Campbell Barton
76d67b4db4
Merge branch 'master' into blender2.8
2018-09-13 17:08:58 +10:00
Campbell Barton
44f719b632
Cleanup: use PyImport_GetModuleDict
...
Replace direct access using PyThreadState_GET
2018-09-13 17:06:07 +10:00
Campbell Barton
1c2358224f
Merge branch 'master' into blender2.8
2018-09-13 16:35:09 +10:00
Campbell Barton
c062d360ca
PyDoc: replace use of deprecated API call
2018-09-13 16:33:34 +10:00
Campbell Barton
0a23d39b9f
Merge branch 'master' into blender2.8
2018-09-13 16:21:56 +10:00
Campbell Barton
99e06af9c8
Cleanup: move 'make help_features' into own file
2018-09-13 16:20:02 +10:00
Campbell Barton
a4e4dc1b75
Merge branch 'master' into blender2.8
2018-09-13 15:39:21 +10:00
Campbell Barton
ffe5b92325
PyDoc: disable ASAN exit code for doc building
...
Prevented docs from building on any minor issue when ASAN was enabled.
2018-09-13 15:37:30 +10:00
Campbell Barton
c2fb0bacb8
Gizmo: code comments
...
Note about limits of new tool-init flag.
2018-09-13 13:35:26 +10:00
Campbell Barton
f65a703cc8
Cleanup: whitespace
2018-09-13 09:26:42 +10:00
Campbell Barton
4c2ac2a02f
UI: show options for smooth and randomize
2018-09-13 09:23:24 +10:00
Campbell Barton
9e5259b043
Tool System: make smooth and randomize interactive
2018-09-13 09:19:30 +10:00
Campbell Barton
1f1802307f
Gizmo: value2d utility to adjust operator values
...
This allows any operator to interactively redo without having to
manually make each operator modal.
2018-09-13 09:10:19 +10:00
Campbell Barton
26a6e58e9a
Cleanup: add editor gizmo doxy group
2018-09-13 08:33:21 +10:00
Campbell Barton
8d3a39ff56
Cleanup: use float name in property range function
2018-09-13 08:17:16 +10:00
Campbell Barton
e103618b28
Cleanup: move cycles addon check out of versioning
2018-09-13 08:00:05 +10:00
Campbell Barton
07ab3eec01
Cleanup: style
2018-09-13 07:51:59 +10:00
Campbell Barton
2a14807f39
Merge branch 'master' into blender2.8
2018-09-13 07:50:45 +10:00
Campbell Barton
6873f47ede
Cleanup: GCC ignored qualifier warning
2018-09-13 07:42:38 +10:00
Antonioya
df289785b3
GP: Delete invisible points when use soft eraser
2018-09-12 21:26:07 +02:00
Ines Almeida
32a461adf2
Shader Editor: tweak when the UI for managing the material is enabled
...
- disable the UI if the currently selected object does not support materials.
- add Metaballs and GPencil as types supporting material.
2018-09-12 20:07:03 +02:00
Bastien Montagne
2ab1063616
Fix T56662: Autocomplete for texture slot Crash (in console).
...
That pointer can be NULL, RNA default string handling does not support
that. (that whole uv_layer prop is quite nasty actually, since it does
not own that string, always borrows it from some other data :((( ).
2018-09-12 18:31:14 +02:00
Bastien Montagne
2e07af36fd
Fix T56763: Removing driver variable crashes Blender.
...
Rebuilding depsgraph is not enough, with COW we also need to ensure COW
copies get updated accordingly.
Had to tweak the generic update system here, since it was always passed
a NULL pointer for the callback arg, this should not change existing
behavior (besides crash fixing ;) )...
2018-09-12 17:48:02 +02:00
Antonioya
6a20e2653e
GP: Reduce factor of thickness for soft eraser
2018-09-12 17:06:37 +02:00
Antonioya
84e9dbe38b
GP: Improve SOFT eraser to affect strength and less to thickness
2018-09-12 16:55:27 +02:00
Sergey Sharybin
57b50f75f9
Cleanup: Spelling mistakes
...
Pointed by John Roper and Ray Molenkamp.
2018-09-12 16:32:18 +02:00
Sergey Sharybin
61462ab2b4
Multires: Use more clear naming
...
There are so many reshapes now, and one more is to come.
Better be explicit.
2018-09-12 16:31:04 +02:00
Antonioya
9d0b7babd9
GP: Fix pressure jitter problem
...
The pressure was not used in jitter factor.
2018-09-12 15:32:22 +02:00
Antonioya
6018a3b4e8
GP: Hide panels for eraser brushes
2018-09-12 15:18:23 +02:00
Antonioya
b172209b4b
GP: Remove brush type from panel
...
The brush type is get from previous brush
2018-09-12 15:18:22 +02:00
Bastien Montagne
0d0e8979ab
FIx T56758: Outliner - Select Hierarchy not working.
...
Reversed logical check on object's visibility...
2018-09-12 15:03:17 +02:00
Dalai Felinto
bf709f9d36
Fix T56759: Status bar not working for multi-objects nor object mode
2018-09-12 09:55:21 -03:00
Sergey Sharybin
f04ddd37ea
Cleanup, fullstops in comments
2018-09-12 14:39:08 +02:00
Sergey Sharybin
39fabaddfd
GPU: Remove residue of OpenSubdiv
...
Was done more like a hack on top of old drawing pipeline.
Should be re-implemented to fit new draw manager closer.
2018-09-12 14:30:28 +02:00
Sergey Sharybin
721c691a27
Merge branch 'master' into blender2.8
2018-09-12 12:29:19 +02:00
Sergey Sharybin
aa844ad676
Cycles: Don't allocate Extra if BSDF allocation failed
...
Failed as in did not allocate due to possibly weight cutoff.
Tryign to allocated Extra storage for closure in such situation
will consfuse Cycles and cause crashes later one due to obscure
values in ShaderData.
2018-09-12 12:28:55 +02:00