Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5697 / 8462

December 18, 2013, 01:03 (GMT)
Game Engine: Level of detail support and tools

Levels of detail can be added and modified in the object panel. The object
panel also contains new tools for generating levels of detail, setting up
levels of detail based on object names (useful for importing), and
clearing an object's level of detail settings. This is meant as a game
engine feature, though the level of details settings can be previewed in
the viewport.

Reviewed By: moguri, nexyon, brecht

Differential Revision: https://developer.blender.org/D109
December 17, 2013, 20:36 (GMT)
Fix compile on MSVC, we don't use "isfinite" anywhere else inside source/blender ;)
December 17, 2013, 20:18 (GMT)
Fix issue with right aligned number buttons overlapping the label

This also simplifies button clipping which was attempting to detect
offsets that were applied afterwards,
Now apply text clipping after adjusting the button rect margins.
December 17, 2013, 18:07 (GMT)
Code Cleanup: comment unused functions
December 17, 2013, 18:03 (GMT)
UI: Theme Colors for Info space
December 17, 2013, 17:42 (GMT)
Changes to partial update during rendering

Summary:
Mainly addressed to solve old TODO with color managed fallback
to CPU mode when displaying render result during rendering.

That fallback was caused by the fact that partial image update
was always acquiring image buffer for composite output and was
only modifying display buffer directly.

This was a big issue for Cycles rendering which renders layers
one by one and wanted to display progress of each individual
layer. This lead to situations when display buffer was based on
what Cycles passes via RenderResult and didn't take layer/pass
from image editor header into account.

Now made it so image buffer which partial update is operating
with always corresponds to what is set in image editor header.

To make Cycles displaying progress of all the layers one by one
made it so image_rect_update switches image editor user to
newly rendering render layer. It happens only once when render
engine starts rendering next render layer, so should not be
annoying for navigation during rendering.

Additional change to render engines was done to make it so
they're able to merge composite output to final result
without marking tile as done. This is done via do_merge_result
argument to end_result() callback. This argument is optional
so should not break script compatibility.

Additional changes:

- Partial display update for Blender Internal now happens from
the same thread as tile rendering. This makes it so display
conversion (which could be pretty heavy actually) is done in
separate threads. Also gives better UI feedback when rendering
easy scene with small tiles.

- Avoid freeing/allocating byte buffer for render result
if it's owned by the image buffer. Only mark it as invalid
for color management.

Saves loads of buffer re-allocations in cases when having
several image editors opened with render result. This change
in conjunction with the rest of the patch gave around
50%-100% speedup of render time when displaying non-combined
pass during rendering on my laptop.

- Partial display buffer update was wrong for buffers with number
of channels different from 4.

- Remove unused window from RenderJob.

- Made image_buffer_rect_update static since it's only used
in single file.

Reviewers: brecht

Reviewed By: brecht

CC: dingto

Differential Revision: https://developer.blender.org/D98
December 17, 2013, 17:10 (GMT)
Address notes from Campbell's review

- Cleanup naming in some places.
- Get rid of _ex functions with use_threads argument
in scene update routines.

Using Py_BEGIN_ALLOW_THREADS from frame_set and
update_tagged functions seems made the trick.

- Fix for possible uninitialized members of
evaluation context when it's allocated in stack.
December 17, 2013, 16:42 (GMT)
Merge branch 'master' into soc-2013-depsgraph_mt
December 17, 2013, 16:16 (GMT)
Fix T37718: Texture compression missing

Make sure image will saved as (not over) after changing
it's type to Generated by clearing image's path in signal
handler.
December 17, 2013, 13:20 (GMT)
Code Cleanup: comment unused define
December 17, 2013, 13:14 (GMT)
Fix compile after last commit, casting to (bArmature *), kudos to JesterKing
December 17, 2013, 12:04 (GMT)
'Transform' Python Function for armature, curve and lattice.

patch by Paolo Acampora with some edits.
December 17, 2013, 09:47 (GMT)
Fix bplayer broken in own rB51f5c994e9f0.
December 17, 2013, 08:59 (GMT)
Cycles / OpenCL: Fix compile error on OS X

After update to Mac OS X 10.9.1, OpenCL works now on my Intel CPU in the 2013 Macbook Pro (even the entire kernel).
The Intel Iris Pro GPU still segfaults here though, even when all flags are disabled (building "clay like" kernel only).

Maybe we need the -no-missing-prototypes for AMD hardware still, but I couldn't find a way to distuinguish here.
December 17, 2013, 08:51 (GMT)
Fix T37103: Keyframing custom properties issue (FCurve would not reflect Custom props type changes).

Add an helper func to re-compute integer-only fcurve flags, and call it when editing custom props.

Reviewed by aligorith, thanks!

Summary: Proposal fix for "keyframing custom properties issue" (T37103).

Reviewers: aligorith

Maniphest Tasks: T37103

Differential Revision: https://developer.blender.org/D111
December 17, 2013, 08:16 (GMT)
Fix for crash in toolbar tabs with only one tab defined
December 17, 2013, 07:44 (GMT)
Partial fix for T37604: Deadlock when stopping rendered viewport (Blender Internal)

- Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender.
- The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
December 17, 2013, 07:01 (GMT)
Fix crash in freestyle vector parsing (hard to believe nobody noticed)

Vectors were being assigned as an array of classes in Vec2f_ptr_from_PyObject and similar functions,
rather then assigning a number to each axis.
December 17, 2013, 07:00 (GMT)
Fix for obscure freestyle crash when attempting to negate INT_MIN

This gives undefined behavior - in my case stays the same value and crashes.

Check for finite input resolves the issue.
December 17, 2013, 05:40 (GMT)
Py API: use direct access to list/tuple size when type is known
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021