Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1891 / 5574

January 29, 2018, 21:00 (GMT)
DRW / Render: Add support for render pipeline in drawmanager.

For simplicity we choose to execute the rendering of Opengl engines in the main thread and block the interface.
This might be addressed in the future at least for video rendering.

A drawmanager wrapper (DRW_render_to_image) is called by the render pipeline to set up the Opengl state and then call the specific draw_engine->render_to_image function.
January 29, 2018, 21:00 (GMT)
DRW: Add "hardcoded" stipples for sun ray display.
January 29, 2018, 20:01 (GMT)
Outliner: Moving object context menu to Python, and adding hierarchy

As suggested by Pablo Vazquez, though I think we can refine it a bit with icons.
I will wait for his feedback on it.
January 29, 2018, 18:56 (GMT)
uvedit_draw: Ensure first if it has any UV to draw

Otherwise an assert could be launched
January 29, 2018, 17:51 (GMT)
Deduplicate GLSL frag code in particle drawing

Differential Revision: D2993
January 29, 2018, 16:54 (GMT)
Fix T53598: OpenGL Render Animation does not update shadows

General idea of the fix: skip the whole draw manager callback madness which
was used to tag object's engine specific data as dirty. Use generic recalc
flag in ObjectEngineData structure instead. This gives us the following
benefits;

- Sovles mentioned bug report.
- Avoids whole interface lookup for opened viewports for EVERY changed ID.
- Fixes missing updates when viewport is temporarily invisible.

Reviewers: dfelinto, fclem

Differential Revision: https://developer.blender.org/D3028
January 29, 2018, 16:53 (GMT)
Refactor object engine data storage

Main idea is to make specific engine types be a subclass of generic
ObjectEngineData structure.

This required following changes:

- Have extra size argument to engine data allocation function.

Not sure whether there is less error-prone way of doing this.

- Add init() callback to engine data allocation function.

Additionally, added some extra checks to Eevee's engine data getters, so we do
not silently cast lamp data to lightprobe data.

Reviewers: dfelinto, fclem

Differential Revision: https://developer.blender.org/D3027
January 29, 2018, 16:07 (GMT)
Fix Cycles viewport render not updating when tweaking displacement shader.

This was disabled to avoid updating the geometry every time when the
material includes displacement, because there was no way to distinguish
between surface shader and displacement updates.

As a solution, we now compute an MD5 hash of the nodes linked to the
displacement socket, and only update the mesh if that changes.

Differential Revision: https://developer.blender.org/D3018
January 29, 2018, 16:07 (GMT)
Fix Cycles allocating too much device memory, after recent memory refactoring.

Spotted by Ha Hyung-jin, thanks!
January 29, 2018, 16:07 (GMT)
Revert "Fix T53914: Volumetric scattering now goes correctly through transparent surfaces."

This reverts commit 3c852ba0741f794a697f95073b04921e9ff94039. This is breaking
the regression tests, and maybe requires some deeper changes to really fix.
January 29, 2018, 15:01 (GMT)
Fix nan problem in previous bevel commit.

For chains, access to g_prod[0] was undefined.
And two minor style (whitespace) changes.
January 29, 2018, 14:06 (GMT)
Depsgraph: Correction for previous fix

Original fix only worked when there is one custom property.
January 29, 2018, 14:05 (GMT)
Outliner: Remove Toggle options from object RMB

Task suggested by Pablo Vazquez (venomgfx).
January 29, 2018, 13:53 (GMT)
Depsgraph: Fix missing update when property from proxy rig drives something
January 29, 2018, 13:45 (GMT)
Depsgraph: Disable labels on relations

This code was disable a while back and got re-enabled by some previous debug
process. Having relation names in dot file helps understanding what's going
on in one cases, but makes things spread too far away in others.
January 29, 2018, 13:43 (GMT)
Depsgraph: Cleanup, line wraps
January 29, 2018, 11:50 (GMT)
Fix more filebrowser not refreshing correctly after new message bus system.

This does not affect current blender2.8, but is mandatory for asset
engine branch.

Bottom line being, we also need to 'survey' changes in actual
SpaceFileBrowser struct, not only its FileSelectParams sub-struct.
January 29, 2018, 09:24 (GMT)
Fix filebrowser not refreshing correctly after new message bus system.

Generic ED_area_do_msg_notify_tag_refresh callback only tags area for
refresh, not redraw. This was not updating view e.g. when changing
ordering options in top region, until you'd mouse-over main filelisting
region...

So now, always tag area for redraw in filbrowser's refresh callback.
January 29, 2018, 06:40 (GMT)
Manipulator: ignore mouse location w/ view widgets

When pressing on a button to zoom for eg,
using zoom-to-mouse-position doesn't make any sense.

There is also zoom speed scaling which increases the closer the cursor
is to the top-edge of the screen, which was noticable since the
navigation widget is currently at the top of the screen.
January 29, 2018, 06:32 (GMT)
Merge branch 'master' into blender2.8
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021