Age | Commit message (Collapse) | Author |
|
Thanks to @brita_ for the fix.
|
|
|
|
Code was trying to hide properties by name that may not exist.
Check if it was actually found and add 'files' to the filter,
since it is what WM_OT_studio_lights_install uses.
|
|
Patch by Stefan, with minor tweaks by Brecht.
|
|
|
|
Just basic algebra - because all vectors have the same z coordinate, a lot of terms end up cancelling out.
Not exactly a massive improvement, but it's measurable with Branched PT and a high sample count on the lamp.
Reviewers: brecht, sergey
Reviewed By: brecht
Subscribers: swerner
Differential Revision: https://developer.blender.org/D3540
|
|
|
|
|
|
The GPU context was freed before all framebuffer attached to it were
deleted.
Fix T56117
|
|
|
|
Only enforce origindex to NONE for a generated geometry. For the rest
of geometry rely on CustomData_copy() to set it to the proper value.
This will ensure origindex is set correct for cases when there is an
array modifier prior to subsurf.
|
|
Gathers information about object geometry and textures. Very basic at
this moment, but need to start somewhere.
Things which needs to be included still:
- "Runtime" information, like BVH. While it is not directly controllable
by artists, it's still important to know.
- Device array sizes. Again, not under artists control, but is added to
the overall size.
- Memory peak at different synchronization stages.
At this point it simply prints info to the stdout after F12 is done,
need better control over that too.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3566
|
|
|
|
We use a hidden window for each offscreen context we need.
On X11 (linux) it does not show any other windows in the OS task bar
but it might be the case on other operating systems (untested).
|
|
Replaced the draw world option with a shading.background_type enum.
Where the user can select Theme, World or a Custom color.
World and theme colors do not always work in workbench. We needed to
have an option what the user could control locally (per viewport).
Especially when using linked data.
I removed the world background drawing from the draw_manager. It was never used as EEVEE and Workbench both override the logic.
Not 100% sure about the naming of Theme, World, Viewport.
In other parts of blender's codebase World is sometimes called Scene.
Will stick to the names that describes its location best.
{F3990139}
Reviewers: fclem, campbellbarton
Reviewed By: fclem
Subscribers: venomgfx
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3551
|
|
Fixes T55948, T56016, T55926, T55947.
Differential Revision: https://developer.blender.org/D3564
|
|
|
|
|
|
Note that this was only reported to happen on AMD GPU + windows.
|
|
|
|
Change the default clipend value to match the viewport (1000.0f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is no reason or justification to have helper functions as
class methods: they do not depend on anything in the class itself.
There are probably more cases like that.
|
|
|
|
Allows to catch enumerator values which are missing from being handled.
Also use `const char*`, no need to construct string just to throw it away.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Own regression when moving remove-doubles to kd-tree
(seems to happen only in rare cases).
|
|
Keep UI -> Keep User Interface, and don't use the word UI again in the tooltip.
|
|
Show "Operators Cheatsheet" and Python API link only when developers extra is enabled.
Fix URL for User Communities, Developer Community and Release Notes (which 404s
now just like the wiki anyway since the page for 2.80 is being made).
|
|
|
|
While changing the shading normal is a great way to add additional detail to a model, there are some problems with it.
One of them is that at grazing angles and/or strong changes to the normal, the reflected ray can end up pointing into the actual geometry, which results in a black spot.
This patch helps avoid this by automatically reducing the strength of the bump/normal map if the reflected direction would end up too shallow or inside the geometry.
Differential Revision: https://developer.blender.org/D2574
|
|
|
|
See D3559
|
|
|
|
|
|
|
|
Custom drawing functions were used just to control property display.
Move to poll function.
|
|
|
|
|