Philipp Oeser
bc8f2e9ee4
Fix T59500: Weight Smoothing Not Working
...
Reviewers: brecht, dfelinto
Maniphest Tasks: T59500
Differential Revision: https://developer.blender.org/D4094
2018-12-19 11:51:49 +01:00
Campbell Barton
1a21c0c239
UI: show panel type in Python tooltips
...
Handy when editing UI scripts.
2018-12-19 21:49:04 +11:00
Campbell Barton
543a34a021
RNA: convenience method for orientation name & icon
...
Avoids RNA introspection at draw time
which is relatively slow (approx 5x).
2018-12-19 21:41:39 +11:00
Campbell Barton
f7dc6a63fb
Gizmo: optional custom orientations for transform
...
This aims to resolve a conflict where some users want to keep keyboard
axis setting global, even when the orientation is set to something else.
Move/rotate/scale can optionally each have a separate orientation.
Some UI changes will be made next.
2018-12-19 20:57:51 +11:00
Campbell Barton
231ea39ed1
Transform: use the scenes transform orientation
...
- Use the user orientation when pressing XYZ keys,
second press switches to global.
- Pressing again switches to global, or local
if you're have global orientation set.
The option for gizmos to have their own orientations will be added,
see: D4075
2018-12-19 20:49:13 +11:00
Antonioya
a246604937
GP: Update Gizmo position when select
2018-12-19 09:13:59 +01:00
Campbell Barton
a0cca88899
Theme: use menu text color for floating redo panel
...
blender_light theme was showing black text on dark background.
2018-12-19 13:09:05 +11:00
Campbell Barton
1a98914bb7
startup: default file selector to empty filename
...
Someone saved startup.blend w/ filename, tsk.
2018-12-19 12:42:12 +11:00
Campbell Barton
fd42fe6616
Fix T57139: Transform overlay shows even when disabled
...
Transform bypasses the gizmo API for drawing overlays,
so custom checks are needed.
Also don't draw the gizmo in other windows when transforming.
2018-12-19 12:30:16 +11:00
Campbell Barton
a72220ecf0
DNA: move back-face culling to shading popover
...
Overlay options shouldn't be used when overlays are disabled.
Move to shading popover, reported as T58070.
2018-12-19 10:55:53 +11:00
Campbell Barton
d46d8e831c
Merge branch 'master' into blender2.8
2018-12-19 10:28:26 +11:00
Campbell Barton
5c3953010d
Cleanup: spelling
2018-12-19 10:18:15 +11:00
Campbell Barton
fd235e52a2
Cleanup: use static struct for app-template state
2018-12-19 10:18:15 +11:00
Antonioya
61a816e8ff
GP: Add calculation of center for transformation by stroke (WIP)
2018-12-18 22:56:40 +01:00
Antonioya
0d7fe55d0e
GP: Improve z-depth for Blur FX
...
Instead to get an average value, use the lower value.
Still some issues when render.
2018-12-18 22:56:40 +01:00
Clément Foucault
5b277d7a18
Mesh Batch Cache: Port loose_edges to batch request
2018-12-18 22:17:53 +01:00
Clément Foucault
c29cd41f49
Edit Mode: Show loose edges if in draw type is wire
2018-12-18 22:17:53 +01:00
Clément Foucault
b655bf6363
Wireframe Overlay: Make use of colorTransform when transforming an object
2018-12-18 22:17:53 +01:00
Clément Foucault
2f00e0a37b
Mesh Batch Cache: Cleanup / Reorder function for more consistency
2018-12-18 22:17:53 +01:00
Clément Foucault
5e4677c962
Workbench: Fix crash when sculpting with a multi material mesh
2018-12-18 20:51:52 +01:00
Clément Foucault
604101d262
Mesh Batch Cache: Port edge_detection to batch request
...
Also add proper support for mapped meshes (deformed by modifiers in edit
mode). So this fixes the shadows of workbench in edit mode.
2018-12-18 20:51:52 +01:00
Clément Foucault
99fb654ffd
DRW: Cleanup / Renaming of mesh batch cache functions
...
THis is in order to avoid the jungle of names being different at each
step of the API.
Also removes some unused functions.
2018-12-18 20:51:52 +01:00
Clément Foucault
df88b6a48d
Mesh Batch Cache: Port all_edges batch to batch request
2018-12-18 20:51:52 +01:00
Clément Foucault
45e1d4d9ac
DRW: Fix flat object not being selectable in wireframe view
...
The problem was double. They were not selectable in wireframe view and
they would not display with the right color, thus always appearing
un-selected.
2018-12-18 20:51:52 +01:00
Bastien Montagne
6e5b573dc8
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/transform/transform_conversions.c
2018-12-18 20:33:04 +01:00
Bastien Montagne
1875f9e7d7
Fix T59104: Snapping: Align rotation to target broken in edit mode.
...
This has been unbelievably painful to understand... And solution is only
partially good actually, we may even want a single axis for all the
islands in that case? But for now this is giving much better results
already, compared to the random crazyness it used to produce.
2018-12-18 20:27:50 +01:00
Charlie Jolly
5638db7495
Fix T58335: Grease Pencil Objects in Edit Mode have transform gizmos in wrong location
...
Original fix P874 with changes from @brecht
2018-12-18 19:18:57 +00:00
Dalai Felinto
74b3b81903
Potential fix for sculpt mask diffuse color drawing update
...
The sculpt mask diffuse color is not working right now. But when it does it
should follow on the fix for the sculpt mask drawing update (e113b402bd ).
2018-12-18 16:48:03 -02:00
Dalai Felinto
e113b402bd
Fix Sculpt mask enable/disable does not update drawing immediatelly
...
Reported as part of T59576.
2018-12-18 16:36:58 -02:00
Alexander Gavrilov
1ca7b6ca85
Fix T59569: crashes when generate rig.
...
The fix in 9fa408f51b missed one place that needed the
check, causing the assert because of incomplete data.
2018-12-18 19:52:13 +03:00
Charlie Jolly
12d6c13899
GP: Primitive: Fix flickering when using a noise brush
...
Previously, the random values were generated every draw, now they are generated once.
2018-12-18 15:51:46 +00:00
Brecht Van Lommel
e62368e6c4
Fix enum icon button size for fractional UI scale.
...
Err on the side of too much padding.
2018-12-18 15:30:19 +01:00
Harley Acheson
0497ecd5bc
Fix edit mesh component buttons width not being consistent.
...
Differential Revision: https://developer.blender.org/D4087
2018-12-18 15:30:19 +01:00
Jacques Lucke
5fa749ace2
Fix T59536: safe area values were swapped
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4097
2018-12-18 15:20:42 +01:00
Philipp Oeser
37c2382a49
Merge branch 'master' into blender2.8
2018-12-18 15:10:35 +01:00
Daniel
72456ee198
Fix T59009: UV unwrapp correct aspect fails on some shapes.
...
Differential Revision: https://developer.blender.org/D4095
2018-12-18 15:07:04 +01:00
Philipp Oeser
d542e55b09
Fix T55105: Smoke Emission from particles was ignoring lattice deformer
...
on the particles
2018-12-18 14:58:04 +01:00
Clément Foucault
d4dcad0ad6
Fix crash with armature custom bone in wireframe mode
2018-12-18 14:51:05 +01:00
Philipp Oeser
8e08e323a7
Fix T59484: Particles Lattice deform fails
...
this was working for object/collection display/render but lattice was
not taken into account for non object/collection display/render types
(halo, axis, cross, circle, ...)
Reviewers: sergey, brecht
Maniphest Tasks: T59484
Differential Revision: https://developer.blender.org/D4096
2018-12-18 14:39:45 +01:00
Clément Foucault
8839152abf
Fix T59529: Auto smooth not working
2018-12-18 14:27:13 +01:00
Sergey Sharybin
6ccf961915
Fix T59478: Information Bar Missing Data when in Sculpt Mode
...
Display statistics from CCG structure.
This makes values to be different from what is shown in object
mode, since CCG is operating on individual grids, and object
mode will stitch those grids. But on another, those values from
CCG is what sculpt mode is actually "sees" or "uses".
The number of faces should be the same in both sculpt and object
modes.
2018-12-18 14:22:12 +01:00
Campbell Barton
eb78579bb6
Correct own error in changes to pose gizmo center
...
Multi-pose gizmo center calculation from
5d09f5223e now works as expected.
2018-12-18 23:03:29 +11:00
Clément Foucault
c92cffb56d
DRW: Instance: Makes it possible to have instances of a non-init batch
2018-12-18 13:08:17 +01:00
Clément Foucault
77d9ddc5ea
Armature: temp workaround for crash caused by custom bone drawing
2018-12-18 13:08:17 +01:00
Sergey Sharybin
604f5cf3f4
Cleanup: Typo in comment
2018-12-18 12:55:13 +01:00
Sergey Sharybin
486be2219a
Use proper buffer size for statistics
2018-12-18 12:54:49 +01:00
Sergey Sharybin
e6c531353b
Cleanup: Reduce indentation level
2018-12-18 12:54:49 +01:00
Campbell Barton
4046e55f77
Transform: calculate initial depth for axis-target
...
While the operator needs a depth to work as intended,
it feels buggy if the initial drag does nothing until a depth is found.
If the cursor isn't over any geometry calculate an initial depth.
2018-12-18 22:43:35 +11:00
Jacques Lucke
2dee1772e1
Py Docs: documentation for draw_handler_add/remove
2018-12-18 12:31:37 +01:00
Sergey Sharybin
cef41d0144
Fix T59496: Movie Clip Editor does not display metadata
2018-12-18 12:28:44 +01:00