e16e17486b
Gizmo: use spin widgets by default
...
- Now the spin tool has a persistent gizmo.
- Uses scene orientation, with additional view orientation.
- Uses the cursor center, ignoring the pivot since the
selection center is rarely useful.
- Disable most of the redo gizmo's for now since they overlap,
only allow adjusting the angle.
Note: mixing new action with adjusting previous is confusing,
we'll want to have design guidelines regarding this.
2018-09-18 13:44:41 +10:00
67f3f31f00
Cleanup: spin redo naming changes
2018-09-18 13:22:14 +10:00
8b41cd5b96
FIX: linker error with a 'make deps' library set and opencollada enabled.
...
PCRE_LIBRARIES was not being set if the pcre library was found but not the headers.
2018-09-17 18:06:02 -06:00
2ca7d14814
Cleanup: spin redo naming changes
2018-09-18 09:58:27 +10:00
2f8994f4af
Cleanup: spin redo naming changes
2018-09-18 09:55:20 +10:00
03bccd0010
Cleanup: move editmesh spin gizmo into own file
...
To mix both initial spin and redo ends up being more involved,
move into own file.
2018-09-18 09:51:12 +10:00
5b221f1a6e
Gizmo: minor tweak to spin tool
...
Make main angle adjustment radius larger since it's the most useful.
2018-09-18 09:41:54 +10:00
16b8d223b7
Cycles: Fix usage of AVX2 intrinsics in AVX kernel
...
While building the AVX kernel, util_avxf.h/avxb.h were using some AVX2 intrinsics,
these were never called, so it wasn't a run-time issue, but the intrinsics headers
on centos excluded the AVX2 prototypes when building the AVX kernel causing build errors.
This commit cleans up the improper usage of the AVX2 intrinsics and provides AVX
fallback implementations for future use.
Differential Revision: https://developer.blender.org/D3696
2018-09-17 16:27:13 -06:00
51ac494f21
build_files: bump python version in FindPythonLibsUnix.cmake to 3.7 now that all platforms have been updated
2018-09-17 13:45:12 -06:00
d2161d6463
build_environment: linux/python, help python find ffi.
...
we were building ffi, but python wasn't finding it.
2018-09-17 13:13:17 -06:00
683d0f0a7e
GP: Remove duplicate clean menu
2018-09-17 20:39:40 +02:00
9e4f44ad30
build_environment: ffi/linux force predictable lib path.
...
ffi stubbornly wants to put libs in lib64 even when you tell it not to on some linux distributions.
patch based on sed fix the gentoo guys did [1]
[1] https://bugs.gentoo.org/462814
2018-09-17 11:58:13 -06:00
91e87f5cf2
Merge branch 'master' into blender2.8
2018-09-17 19:40:39 +02:00
39c18c5413
Install_deps: workaround building bloody broken OpenEXR release.
2018-09-17 19:40:12 +02:00
284cd1375b
Cycles: Cleanup, remove dead code
2018-09-17 18:07:22 +02:00
81f1f9c85e
Cycles: Remove unused malformed function
...
This isn't really possible to do the shuffle which was attempted to do.
While it's possible to achieve expected behavior, the function needs to
be rewritten. Since it's not used anyway, it's simpler to remove it for
now.
2018-09-17 18:05:32 +02:00
82e729d986
Cycles: Use proper mask for vectrorized boolean print
2018-09-17 18:02:01 +02:00
8c97cdd6a8
build_environment: force a consistent libdir across Linux distributions.
...
on some distributions libs ended up in lib64 confusing the cmake builder.
2018-09-17 08:13:08 -06:00
731d0d8d0f
Eevee: Fix shader linking error with volumetric shaders
2018-09-17 15:08:14 +02:00
3da5b03b8a
Eevee: Fix crash when using refraction with alpha clip blend mode
2018-09-17 14:46:22 +02:00
a738586810
Fix object selection with eyerdropper not respecting property poll function.
2018-09-17 12:36:31 +02:00
68f139db0d
Fix T56800: Reflection Plane in Eevee crashes Blender
2018-09-17 12:20:51 +02:00
ad8b187a53
Fix T56803: Indirect lightning bake crashes Blender
2018-09-17 12:20:51 +02:00
5bf32f3337
Fix T56801: Enabling smoke crashes Blender.
2018-09-17 12:20:51 +02:00
dc1e03b4a2
Depsgraph: Cleanup, indentation
2018-09-17 11:19:42 +02:00
f87fbf9cce
Depsgraph: Gnuplot, put heaviest objects at the top
2018-09-17 11:19:42 +02:00
231a384587
Merge branch 'master' into blender2.8
2018-09-17 10:23:55 +02:00
640fcc25a4
Fix T56811: Do not show cancel button for jobs when UI is locked.
...
Since that button is then totally useless and unusable...
2018-09-17 10:22:00 +02:00
7b11558aa8
UI: show steps for spin tool
2018-09-17 14:52:54 +10:00
2997f11941
Gizmo: start spin gizmo dragging
...
- Only respond to drag event, so placing the cursor is possible.
- Start off with zero rotation, dragging adjusts.
2018-09-17 14:34:51 +10:00
b8592b656b
Gizmo: Functions to re-initialize a group type
...
Partially re-initializing a gizmo is often more trouble then removing
and re-adding.
2018-09-17 14:30:46 +10:00
f409c1ec93
Gizmo: only respond to mouse-move events
...
Missed in recent update to event handling.
2018-09-17 14:30:41 +10:00
9759059d58
Cleanup: use SCE_GIZMO_ prefix for gizmo_flag
2018-09-17 12:51:32 +10:00
ae3754838a
Cleanup: rename gizmo group data
...
Abbreviate to 'ggd', replacing manipulator reference.
2018-09-17 12:47:45 +10:00
75980f4af2
Revert "Cleanup: use tuples in python according to feedback"
...
This reverts commit b1f0e4c2d6 .
Sets are typically preferred for __contains__ checks
when order doesn't matter.
2018-09-17 09:01:00 +10:00
a06d803a5a
Fix T56817: Assert because of invalid framebuffer
2018-09-16 21:22:55 +02:00
8c87e681a5
Fix driver expression bytecode validation crash if parsing fails.
...
Another NULL pointer access: nothing to validate if it already failed.
2018-09-16 10:46:28 +03:00
db0c37f2f7
GP: Rename select group color to materials
2018-09-16 09:32:54 +02:00
9901679ce8
Fix a crash when a driver expression evaluates to NaN.
...
The debug logging statement was accessing a NULL pointer.
Also happens in 2.79.
2018-09-16 09:06:57 +03:00
1079da9deb
GP: Initialize new brush factors
2018-09-15 19:26:01 +02:00
b1f0e4c2d6
Cleanup: use tuples in python according to feedback
2018-09-15 17:28:20 +02:00
ca3628ba0c
Cleanup: style
2018-09-15 10:35:03 +10:00
83d4328ce7
PyDoc: add gpu.shader
...
Also some syntax corrections.
2018-09-15 10:35:03 +10:00
3f20b3b585
Cleanup: use r_ prefix for return args
2018-09-15 10:34:59 +10:00
b3a9069170
GPUTexture: Fix problem with glGenerateMipmap
...
Fix T56789: There was issue with certain driver with glGenerateMipmap and
GPU_DEPTH_COMPONENT24.
In this case we just create a complete texture with mipmaps manually
without downsampling / initializing the data.
2018-09-15 00:11:25 +02:00
6b024c7e1a
GP: Improve errase panel and toolbars
...
Some names were not clear enough and some parameters were missing.
2018-09-14 22:54:19 +02:00
54f1375e29
GP: Add pressure option to eraser size
2018-09-14 22:54:18 +02:00
460731f39e
GP: Some changes to eraser panel
2018-09-14 22:54:18 +02:00
424aeda112
Object Mode: Draw object center after the floorgrid
2018-09-14 18:32:04 +02:00
1f1d5e1dd2
Object Mode: Make Flat object selectable in ortho view ...
...
... when wireframe is enabled
2018-09-14 18:32:04 +02:00