Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2203 / 5574

February 23, 2017, 21:08 (GMT)
Fix stupid mistake in previous commit for release builds of API doc.
February 23, 2017, 20:45 (GMT)
Update py API doc generation tools to comply to new name scheme on server.

- for rc/release: /api/2.79c/, zip file named blender_python_reference_2.79c_release.zip
- for dev: /api/master/, zip file named blender_python_reference_2_79_4.zip
February 23, 2017, 20:10 (GMT)
Usual UI messages fixes...
Revision 2e83814 by Luca Rood
February 23, 2017, 19:12 (GMT)
OpenGl immediate mode: clip_draw.c and clip_graph_draw.c fixes

Fixed little typo in clip_draw.c and special case assert in
clip_graph_draw.c (track segments with single point).

Part of T49043
February 23, 2017, 16:30 (GMT)
Cycles: Fix compilation error on 32bit Linux
February 23, 2017, 13:46 (GMT)
Cycles: Fix wrong render results with texture limit and half-float textures
February 23, 2017, 13:42 (GMT)
Cycles: Add utility function to convert float to half

handles overflow and underflow, but not NaN/inf.
February 23, 2017, 10:54 (GMT)
Rework of BKE's mesh_render to support BMesh directly.

Note that since there is no (efficient) ways to get arrays of
MVert/MEdge/etc. out of a BMesh, I refactored quite heavily internals of
BKE_mesh_render.

Now, when you do need acess to mesh data to generate cached batches, you
create an abstract struct from mesh (either Mesh or BMesh if available),
and then use advanced helpers to extract needed data, on a per-item
basis (no more handling of arrays of verts/edges/... in batches code).

This allows to:
* Avoid having to create arrays of BMesh elements.
* Take advantage of existing advanced BMesh topology and connectivity data.

Reviewers: dfelinto, fclem, merwin

Differential Revision: https://developer.blender.org/D2521
February 23, 2017, 10:23 (GMT)
Fix T50656: Compositing node editor is empty, no nodes can be added
February 23, 2017, 10:03 (GMT)
Fix building full.
February 23, 2017, 09:56 (GMT)
Merge branch 'master' into blender2.8
February 23, 2017, 09:51 (GMT)
Fix T50748: Render Time incorrect when refreshing rendered preview in GPU mode
February 23, 2017, 09:39 (GMT)
Fix T50736: Zero streaks in Glare node.

Please never, ever use same DNA var for two different things. Even worse
if they do not have same type and ranges!

This is only ensuring issues (as described in report, but also if
animating both RNA props using same DNA var... yuck).

And we were not even saving any byte in DNA, could reuse some padding
there to store the two new needed vars (yes, two, since we cannot re-use
existing one if we want to keep backward *and* forward compatibility).
February 23, 2017, 09:24 (GMT)
Silence "defined but not used" warnings
Revision 3b3ed19 by Luca Rood
February 23, 2017, 06:21 (GMT)
OpenGl immediate mode: remove imm_draw_line

Replaced all calls to `imm_draw_line` by plain `immVertex2f` calls, and
removed `imm_draw_line`, as that function was not supposed to exist in
the first place, and causes unnecessary calls to `immBegin`/`immEnd`.

Part of T49043
Revision 3042084 by Luca Rood
February 23, 2017, 03:27 (GMT)
OpenGl immediate mode: fix screen_draw.c

* Fix several wrong coordinates, causing things to be drawn in the wrong places.
* Remove unexpected return.
* Slight peformance improvement, by reducing number of shader binds.
* Minor code style stuff.

Part of T49043
Revision 7359cc1 by Julian Eisel
February 23, 2017, 01:14 (GMT)
Fix possible crash in various 3D View operators

Was actually harmeless and not crashing, but I'd say more or less only
by luck: the NULL-check for region data would only evaluate to true for
the correct 3D View region. However, if we were to add region data to a
different region type in future, this would lead to undefined behavior
if executed in the wrong region.
Revision a8d6e41 by Julian Eisel
February 22, 2017, 23:09 (GMT)
Fix issues when reordering nested collections

Item was inserted at the head of the top-level collection list, instead
of parent-level one.
February 22, 2017, 21:06 (GMT)
Columns should be expandable by default
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).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021