f827e3c84b
Subdiv: Cache Subdiv in CCG surface
...
Allows to do re-shaping easier, since we will know for sure
what was the limit surface the CCG is created for.
2018-09-14 14:43:56 +02:00
e37479ad89
GPUBuffers: Rework support for pbvh grids + fast navigate
...
Flat shaded grids are now rendered as a long triangle strip with
degenerate triangles.
Smooth shaded grids are not changed.
Also add back fast navigate. The only difference with 2.79 is that fast
navigate + flat shading will show slitly "incorrect" smooth face. But that's too
much effort to fix for what it is.
2018-09-14 12:20:01 +02:00
1d76fbf3df
GP: Add thickness and stregth factor to UI
...
Now it's possible change the factors for soft eraser.
2018-09-14 10:31:47 +02:00
18141863b2
GP: Fix armature deformation weight problem
...
The armature was using only weight 1 or 0, but not the real value.
Also removed unused parm in UI panel.
2018-09-14 08:57:46 +02:00
d6f896da22
GP: Add strength factor for eraser brush
...
This gives more control.
2018-09-13 18:34:34 +02:00
74a3519a15
GP: More tweaks in soft eraser
...
Follow with the changes to get a good feeling using the eraser.
2018-09-13 17:04:35 +02:00
a273e432cc
GP: Add pressure button for eraser brushes
2018-09-13 16:52:27 +02:00
379225d2bc
GP: More changes to improve soft eraser
...
Small changes to improve "feeling" of the soft eraser.
2018-09-13 16:06:45 +02:00
1e3d6ae09b
Gizmo: only use mousemove for generic gizmos
...
This caused slow performance for spin/bisect for eg.
2018-09-14 00:10:59 +10:00
3e6f37b936
Fix a crash with duplivert, and move to evaluated mesh in object_dupli.c
...
There are still lots of issues/TODOs here though, like missing 'cage'
for editmesh, etc.
2018-09-13 15:56:46 +02:00
a2325495f9
Merge branch 'master' into blender2.8
2018-09-13 23:38:53 +10:00
1a4aca1b69
WM: move mousemove out of internal undo function
...
This causes a feedback loop in 2.8x,
where gizmo redo caused fake mousemove that executed gizmo again.
Move the mousemove into the undo/redo operator.
2018-09-13 23:28:02 +10:00
e082fc7c77
Workspaces: reference count screens, otherwise they are never freed.
...
They are not directly accessible in the UI anymore, it's the workspaces
that we always keep until they are manually deleted now.
2018-09-13 14:44:36 +02:00
80f083f993
Gizmo: avoid redundant value2d updates
2018-09-13 22:25:15 +10:00
00bdd04570
Gizmo: set header text when editing the value
2018-09-13 22:15:44 +10:00
5a90ebc278
GP: Sample points in both sides for soft eraser
...
Now the soft eraser use the previous point and not only current and next. This makes the transition smoother.
2018-09-13 13:55:33 +02:00
8326fe7aa5
Gizmo: value2d cancel, snap & precise support
2018-09-13 22:04:54 +10:00
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
09aa446100
Merge branch 'master' into blender2.8
2018-09-13 20:15:18 +10:00
254067106e
PyAPI: remove operator methods that leak memory
2018-09-13 20:10:56 +10:00
2c4f091feb
Merge branch 'master' into blender2.8
2018-09-13 11:27:38 +02:00
aacdd28edd
PyDoc: add bpy.app.icons to docs
2018-09-13 19:21:08 +10:00
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
af1cf00003
Merge branch 'master' into blender2.8
2018-09-13 18:19:24 +10:00
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
d538de90a7
Merge branch 'master' into blender2.8
2018-09-13 17:56:32 +10:00
9900addf11
Cleanup: _bpy.ops utility to lookup an operator
2018-09-13 17:47:56 +10:00
c197c210e4
PyAPI: add bpy.app.icons to sys.modules
2018-09-13 17:20:27 +10:00
76d67b4db4
Merge branch 'master' into blender2.8
2018-09-13 17:08:58 +10:00
44f719b632
Cleanup: use PyImport_GetModuleDict
...
Replace direct access using PyThreadState_GET
2018-09-13 17:06:07 +10:00
c2fb0bacb8
Gizmo: code comments
...
Note about limits of new tool-init flag.
2018-09-13 13:35:26 +10:00
9e5259b043
Tool System: make smooth and randomize interactive
2018-09-13 09:19:30 +10:00
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
26a6e58e9a
Cleanup: add editor gizmo doxy group
2018-09-13 08:33:21 +10:00
8d3a39ff56
Cleanup: use float name in property range function
2018-09-13 08:17:16 +10:00
e103618b28
Cleanup: move cycles addon check out of versioning
2018-09-13 08:00:05 +10:00
07ab3eec01
Cleanup: style
2018-09-13 07:51:59 +10:00
2a14807f39
Merge branch 'master' into blender2.8
2018-09-13 07:50:45 +10:00
6873f47ede
Cleanup: GCC ignored qualifier warning
2018-09-13 07:42:38 +10:00
df289785b3
GP: Delete invisible points when use soft eraser
2018-09-12 21:26:07 +02:00
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
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
6a20e2653e
GP: Reduce factor of thickness for soft eraser
2018-09-12 17:06:37 +02:00
84e9dbe38b
GP: Improve SOFT eraser to affect strength and less to thickness
2018-09-12 16:55:27 +02:00
57b50f75f9
Cleanup: Spelling mistakes
...
Pointed by John Roper and Ray Molenkamp.
2018-09-12 16:32:18 +02:00
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
9d0b7babd9
GP: Fix pressure jitter problem
...
The pressure was not used in jitter factor.
2018-09-12 15:32:22 +02:00
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
f04ddd37ea
Cleanup, fullstops in comments
2018-09-12 14:39:08 +02:00