Age | Commit message (Collapse) | Author |
|
|
|
Refactor the code to draw the roundrect behind outliner icons for active
elements into a single function.
No functional changes.
|
|
Continuing the work of eb9055a572c3, remove remaining unecessary
variables and arguments that were related tabbing and horizontal
alignment of panels. For example, "vertical" was always true, and
removing that exposed other unused variables.
|
|
|
|
Differential Revision: https://developer.blender.org/D8633
|
|
Horizontal panel alignment hasn't been used for years, and we have no
plans to use it in the future. It adds a fair amount of complexity to
the panel code which makes adding features take longer.
This code removes the X closing flag, and all of the logic / variables
unused without it.
This commit includes a file subversion bump.
Differential Revision: https://developer.blender.org/D8601
|
|
This actually found a bug in my previous commit.
|
|
This was creating drawing issues on windows builds.
|
|
|
|
Using C++ exceptions in Blender is difficult, due to the large
number of C functions in the call stack. However, C++ data
structures in blenlib should at least try to be exception safe,
so that they can be used if someone wants to use exceptions
in some isolated area.
This patch improves the exception safety of the Vector, Array
and Stack data structure. This is mainly achieved by reordering
some lines and doing some explicit exception handling.
I don't expect performance of common operations to be affected
by this change.
The three containers are supposed to provide at least the
basic exception guarantee for most methods (except for e.g.
`*_unchecked` methods). So, resources should not leak when
the contained type throws an exception.
I also added new unit tests that test the exception handling
in various cases.
|
|
Available from the usual ID submenu in the Outliner context menu.
The goal of this operator is to re-create the override from the linked
data, while preserving existing defined overrides.
This allows to update local opverrides when relations between datablocks
are changed in source library linked data.
Part of T76555.
|
|
Now by default the selection mode is All keyframes types.
Also removed the icon for All option and renamed from `All Types`to `All`.
UI review by @pablovazquez
|
|
Users may input an invalid scene/view-layer combination via Python. We
can easily detect that and fail gracefully.
Besides checking input parameters in RNA, also assert the
scene/view-layer combination is valid in lower level Depsgraph lookup
function (called by statistics query).
|
|
This RNA/BPY function was removed in c08d84748804. For understandable
reasons really-- getting scene statistics from a string displayed in the
status bar is not exactly the best design. But we have committed to not
changing the RNA API too much for the 2.90 release, so we would like to
keep this functionality.
Differential Revision: https://developer.blender.org/D8604
Reviewd by: Julian Eisel
|
|
After recent code cleanup in rB349eebd7.
|
|
|
|
|
|
|
|
|
|
Ref D7922
|
|
Some errors in comments, references to old function names.
|
|
|
|
|
|
Add to the 2.90 branch to avoid problems if fixes from master use it.
|
|
I only skipped a few loops in the monstrous ui_handle_menu_event
function. Also, I only changed variable names where necessary to
prevent redeclarations.
Differential Revision: https://developer.blender.org/D8586
|
|
|
|
# Conflicts:
# source/blender/editors/space_sequencer/sequencer_draw.c
|
|
|
|
also fix a small issue in GPU_texture_clear.
|
|
|
|
Should not break anything! Huh!
|
|
|
|
|
|
And use manual save/restore mechanism.
The stack method is not used so much to be considered useful.
|
|
This isolate most GL calls to the GL backend. Still a few remains.
|
|
|
|
We now use GPU_blend for enabling / disabling blending and explicitly
set the blend equation.
|
|
|
|
|
|
This make use of the GLStateStack functions for:
- `GPU_blend()`
- `GPU_blend_set_func()`
- `GPU_blend_set_func_separate()`
The goal is to unify them using an explicit state setting.
This will remove the need to use obscure blend functions
|
|
This is just the backend work. It is not plugged in yet because it
needs more external cleanup/refactor.
|
|
We always use 24bit framebuffers nowadays.
|
|
|
|
This allow better debugging inside renderdoc.
|
|
|
|
Use macro to get calling function name. Helps debugging shaders.
|
|
Now error printing only display the line related to the error.
We also put char marker if present.
Example:
```
-- Shader Compilation Errors : MAMaterial --
10414 | node_fresnel(, facingnormal, viewposition, tmp34);
| ^
| error: syntax error, unexpected ',', expecting ')'
----------------------------------
```
|
|
|
|
This is a first step into removing uniforms from GPU_batch and Imm.
|
|
Fix potential issue with nodetree introduced in rB47c6f41b8926.
|