Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4042 / 8462

February 22, 2017, 20:56 (GMT)
Fix T50745: Shape key editing on bezier objects broken with Rendered Viewport Shading

So... Curve+shapekey was even more broken than it looked, this report was
actually a nice crasher (immediate crash in an ASAN build when trying to
edit a curve shapekey with some viewport rendering enabled).

There were actually two different issues here.

I) The less critical: rB6f1493f68fe was not fully fixing issues from
T50614. More specifically, if you updated obdata from editnurb
*without* freeing editnurb afterwards, you had a 'restored' (to
original curve) editnurb, without the edited shapekey modifications
anymore. This was fixed by tweaking again `calc_shapeKeys()` behavior in
`ED_curve_editnurb_load()`.

II) The crasher: in `ED_curve_editnurb_make()`, the call to
`init_editNurb_keyIndex()` was directly storing pointers of obdata
nurbs. Since those get freed every time `ED_curve_editnurb_load()` is
executed, it easily ended up being pointers to freed memory. This was
fixed by copying those data, which implied more complex handling code
for editnurbs->keyindex, and some reshuffling of a few functions to
avoid duplicating things between editor's editcurve.c and BKE's curve.c

Note that the separation of functions between editors and BKE area for
curve could use a serious update, it's currently messy to say the least.
Then again, that area is due to rework since a long time now... :/

Finally, aligned 'for_render' curve evaluation to mesh one - now
editing a shapekey will show in rendered viewports, if it does have some
weight (exactly as with shapekeys of meshes).
February 22, 2017, 20:56 (GMT)
Cleanup: remove unused orig_nu from keyIndex ghash of editcurves.
February 22, 2017, 17:54 (GMT)
Cleanup: Style
February 22, 2017, 17:20 (GMT)
OpenGL immediate mode: paint_stroke.c
February 22, 2017, 16:50 (GMT)
Disallow renaming master collection from Outliner

Shows warning when trying to do so.
February 22, 2017, 16:25 (GMT)
UI: Support drag & drop reordering of collections

This adds initial support for reordering collections from the Outliner
using drag & drop.
Although drag & drop support is limited to collections for now, this
lays most foundations for general drag & drop reordering support in the
Outliner. There are some design questions to be answered though:
* Would reordering of other data types (like objects) be a purely visual change or would it affect the order in which they are stored? (Would that make a difference for the user?)
* Should/can we allow mixing of different data types? (e.g. mixing render layers with objects)
* How could we realize this technically?

Notes:
* "Sort Alphabetically" has to be disabled to use this ("View" menu).
* Reordering only works with collections on the same hierarchy level.
* Added some visual feedback that should work quite well, it's by far not a final design though: {F493806}
* Modified collection orders are stored in .blends.
* Reordering can be undone.
* Did minor cleanups here and there.
February 22, 2017, 16:22 (GMT)
OpenGl immediate mode: uvedit_smart_stich.c

This is a quick fix. A better fix should be to store the batches inside the StitchPreviewer struct.
February 22, 2017, 16:19 (GMT)
Use new api doc links


Differential Revision: https://developer.blender.org/D2522
February 22, 2017, 15:58 (GMT)
Fix T50687: Cycles baking time estimate and progress bar doesn't work / progress when baking with high samples
February 22, 2017, 15:48 (GMT)
Fix T50512: Linked Backround scene with animation not updating with new depsgraph

Was missing relations for the set scenes.

Perhaps not ideal solution, but should be good enough for now.
February 22, 2017, 15:46 (GMT)
Blender 2.78c: Fix crash with material preview and image sequences

Don't use built-in API for image sequences since it's not really
finished in RNA API.

Fixes issue reported in T50616.
February 22, 2017, 15:34 (GMT)
Blender 2.78c: Fix wrong render result with pointiness

The issue was caused by pointiness being calculated after
faces split now. Ported all fixes we did here.

Should be safe, pointiness is used all over the barbershop.
February 22, 2017, 14:57 (GMT)
Cleanup
February 22, 2017, 14:56 (GMT)
Cycles: Seperate kernel loading time from render time
February 22, 2017, 14:56 (GMT)
Cycles: Add names to buffer allocations

This is to help debug and track memory usage for generic buffers. We
have similar for textures already since those require a name, but for
buffers the name is only for debugging proposes.
February 22, 2017, 14:56 (GMT)
Cycles: CUDA implementation of split kernel
February 22, 2017, 14:55 (GMT)
Cycles: CPU implementation of split kernel
February 22, 2017, 14:52 (GMT)
Cycles: Remove ccl_fetch and SOA
February 22, 2017, 14:52 (GMT)
Cycles: Report device maximum allocation and detected global size
February 22, 2017, 14:52 (GMT)
Cycles: Workaround for driver hangs

Simple workaround for some issues we've been having with AMD drivers hanging
and rendering systems unresponsive. Unfortunately this makes things a bit
slower, but its better than having to do hard reboots. Will be removed when
drivers have been fixed.

Define CYCLES_DISABLE_DRIVER_WORKAROUNDS to disable for testing purposes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021