eb5cd628bd
Fix T79089: Crash changing themes
...
Regression from 2840782d84 .
2020-07-20 17:52:58 +10:00
b219ae4498
Fix T79077: Off-screen rendering ignores shading argument
...
Thumbnails used the 3D view shading mode when a camera wasn't used.
2020-07-20 11:32:26 +10:00
615af4e239
DRW: draw hook relationship lines
...
This wasn't added back from 2.7x, making "Recenter Hook" applier to
do nothing.
2020-07-20 09:25:26 +10:00
9db4e44961
DRW: overlay engine support for drawing isolated points
...
This matches similar functionality for drawing lines.
2020-07-20 09:19:50 +10:00
Yevgeny Makarov
78e40ad21f
UI: use "Recalculate" instead of "Recalc"
2020-07-20 07:23:16 +10:00
6247ec7827
Fix T78977 GPU: blf fonts are not gamma corrected
2020-07-19 23:00:22 +02:00
3884d78e49
Particles: Make it easier to add attributes internally
2020-07-19 22:06:35 +02:00
5063820c9b
Particles: Emit particles over time
...
This adds a basic internal emitter for every particle simulation.
The emitter cannot be controlled by the user yet. That will
come next.
2020-07-19 13:58:58 +02:00
8c90910dcc
Fix T66937: Blank view on navigation with auto-deph & large clip-end
2020-07-19 21:27:13 +10:00
ccd2af43b3
Fix T78624: Crash running operators from Python in background mode
2020-07-19 18:59:14 +10:00
52a7c724b5
Cleanup: unused argument warning
2020-07-19 17:43:59 +10:00
71d0f6f896
Cleanup: spelling
2020-07-19 17:37:02 +10:00
b8601b64c7
Correct Blender version after last commit
...
c08d847488 incremented the patch version instead of the file subversion
for versioning code when adding new options. This commit resets the patch
version and instead bumps the file subversion.
2020-07-18 12:26:32 -04:00
c08d847488
UI: Status Bar Statistics and Other Options
...
Status Bar can show scene statistics, memory usage, version, etc set by context menu. Part two of T75672.
Differential Revision: https://developer.blender.org/D7557
Reviewed by Julian Eisel
2020-07-18 07:49:25 -07:00
fe49e4139c
Simulation: cleanup deduplicating attribute input nodes
2020-07-18 10:51:38 +02:00
9eaa48f520
Simulation: cleanup how data inputs are handled
2020-07-18 10:19:26 +02:00
fd67b521b9
Simulation: deduplicate code that finds particle simulation names
2020-07-18 10:08:53 +02:00
63db971a00
Simulation: fix memory leak
2020-07-18 10:06:36 +02:00
1dd381828f
UV: edge-ring selection support
...
Matches edit-mesh edge-ring selection.
2020-07-18 16:09:17 +10:00
c48ccb38cb
BMesh: utility for checking shared edge with limit argument
2020-07-18 15:54:04 +10:00
4e73ba2cab
Cleanup: split UV loop select out of mouse picking function
2020-07-18 15:43:37 +10:00
f24ccedc18
UV: utility functions for sticky select setting
...
Support setting vert/edge/face selection, using the sticky option
without performing a second loop over all faces to flush selection.
Existing selection code didn't take advantage of BMesh connectivity
since the logic is from before BMesh was included.
2020-07-18 15:37:33 +10:00
016253a648
Cleanup: spelling
2020-07-18 14:27:53 +10:00
fd08d6f391
Cleanup: unused warning
2020-07-18 14:27:30 +10:00
d99b343b31
Cleanup: UV selection
...
Remove commented code, move penalty calculation into own function.
2020-07-18 14:15:02 +10:00
d9228c557b
Cleanup: KnifeTool: Replace glPolygonOffset by GPU_polygon_offset
2020-07-18 03:46:12 +02:00
4c28b1c74e
Cleanup: GPU: Encapsulate clipDistances
...
This also remove some non functionnal state changes that were left
from legacy code.
2020-07-18 03:43:52 +02:00
59975b0adf
Cleanup: WM: Encapsulate stereo draw buffers binding
2020-07-18 03:43:52 +02:00
8dfc31f61f
Cleanup: GPU: Encapsulate glProvokingVertex
2020-07-18 03:43:52 +02:00
264b1e1e15
Cleanup: GPU: Encapsulate glFrontFace
2020-07-18 03:43:52 +02:00
5993c53a6d
Cleanup: GPU: Encapsulate Backface culling
2020-07-18 03:43:52 +02:00
c14e6cdd56
Cleanup: View3D: Encapsulate OpenGL calls
...
Removes GL_DEPTH_RANGE query as it is not changed anywhere.
2020-07-18 03:43:52 +02:00
1f2edba1fb
Cleanup: GPU: Encapsulate scissor test
2020-07-18 03:43:52 +02:00
d19b3019d9
Cleanup: GPU: Encapsulate glScissor
2020-07-18 03:43:52 +02:00
a6bd7777c2
Cleanup: GPU: Encapsulate glViewport calls
2020-07-18 03:43:52 +02:00
35f1b3e43b
Cleanup: GPU: Wrap GL_UNPACK_ROW_LENGTH in GPU_state
...
Also go back to default value of 0 after usage.
2020-07-18 03:43:52 +02:00
faeaf53255
Cleanup: Sequencer: Use GPUTexture instead of opengl calls
2020-07-18 03:43:52 +02:00
e2305690eb
Cleanup: WM: Use GPUTexture for radial control drawing
2020-07-18 03:43:52 +02:00
2d9eee15c5
Cleanup: GPU: Set default GL_UNPACK_ALIGNMENT to 1
...
Ogl default is 4 but for almost all cases, blender use tightly
packed format. This avoid confusion and state change for the
common case.
The only case that __might__ need alignement is DDS loader
(untested) so leaving this as it is.
2020-07-18 03:43:52 +02:00
0ef57d3fc0
Cleanup: glutil: Use GPUTexture in immDrawPixelsTexScaled_clipping
...
This also cleanup the code for readability.
2020-07-18 03:43:51 +02:00
122d0c8f4b
Cleanup: ClipDraw: Use GPUTexture api and fix a vmem leak
...
Leak was silent as it was an opengl handle.
2020-07-18 03:43:51 +02:00
dcf6e12a60
Cleanup: GPUShader: Remove unused builtin shader
2020-07-18 03:43:51 +02:00
7e66616b7e
Cleanup: ClipDraw: Remove usage of GPU_SHADER_3D_IMAGE_MODULATE_ALPHA
2020-07-18 03:43:51 +02:00
6d160f199c
Cleanup: PaintCursor: Use GPUTexture instead of opengl calls
2020-07-18 03:43:51 +02:00
99b424334d
GPU: Add immBindTexture and immBindTextureSampler
2020-07-18 03:43:51 +02:00
5b4a862f83
GPUTexture: Add better swizzle support
2020-07-18 03:43:51 +02:00
2840782d84
Cleanup: GPU: Make icon drawing use GPUTexture
...
This remove all gl function calls. Adds a new sampler only
for icon drawing.
2020-07-18 03:43:51 +02:00
02c09773ea
Cleanup: GPU: rename bglPolygonOffset to GPU_polygon_offset
...
And move it to GPU module.
2020-07-18 03:43:51 +02:00
acad0d75b1
Cleanup: GPU: Replace glBlendFunc by GPU equivalent
2020-07-18 03:43:51 +02:00
aa8279648e
Simulation: extract node tree parsing code to separate file
2020-07-17 21:20:51 +02:00