Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3374 / 8462

Revision 82b1d80 by Gaia Clary
April 16, 2018, 09:25 (GMT)
Fix Collada: Import of animations for objects with multiple materials

When importing multiple materials for one object,
the imported material animation curves have all been
assigned to the first material in the object.

This fix also improves the console logging whenever the importer
finds a consistency problem with the imported animation data.
April 16, 2018, 09:24 (GMT)
Cleanup: style, doxy headers
April 16, 2018, 09:21 (GMT)
UI: Add accelerator keys to quit confirmation popup
April 16, 2018, 09:21 (GMT)
Fix error where find-next missed None check

Thanks to @nBurn
April 16, 2018, 09:21 (GMT)
Cleanup: use string macros to avoid duplicate args
April 16, 2018, 09:21 (GMT)
BLI_string_utf8: macros that de-duplicate sizeof arg
April 16, 2018, 09:21 (GMT)
Depsgraph: Pull indirect dependencies via pchan constraints

Was missing ID looper for pchan constraint.
April 16, 2018, 09:21 (GMT)
Load metadata from video files and expose via RNA

The MovieSequence and MovieClip classes now have a metadata() function
that exposes the `IDProperty *` holding the video metadata.

Part of: https://developer.blender.org/D2273

Reviewed by: @campbellbarton
April 16, 2018, 09:21 (GMT)
Write the scene render frame range to image/video files

This is useful to create a mapping from the frame range in the video to
frame index in the blend file.

Part of: https://developer.blender.org/D2273

Reviewed by: @campbellbarton
April 16, 2018, 09:21 (GMT)
Write StampData metadata to video files

This is currently only supported by FFmpeg (so not frameserver, AVI RAW,
or AVI JPEG), and only seems to work when using Matroska or Ogg Theora
containers.

Only metadata that doesn't change from frame to frame is written to
video files. This distinction is visible in the UI by looking at the
stamp checkbox tooltips (they either mention "image" or "image/video").

Part of: https://developer.blender.org/D2273

Reviewed by: @campbellbarton
April 16, 2018, 09:21 (GMT)
IMB_metadata improvements

- Metadata handling is now separate from `ImBuf *`, allowing it to be
used with a generic `IDProperty *`.
- Merged `IMB_metadata_add_field()` and `IMB_metadata_change_field()`
into a more robust `IMB_metadata_set_field()`. This new function
doesn't return any status (it now always succeeds, and the previously
existing return value was never checked anyway).
- Removed `IMB_metadata_del_field()` as it was never actually used
anywhere.
- Use `IMB_metadata_ensure()` instead of having
`IMB_metadata_set_field()` create the containing `IDProperty` for
you.
- Deduplicated function declarations, moved `intern/IMB_metadata.h` out
of `intern/`. Note that this does mean that we have some extra
`#include "IMB_metadata.h"` lines now, as the metadata functions are
no longer declared in `IMB_imbuf.h`.
- Deduplicated function declarations, all metadata-related declarations
are now in imbuf/IMB_metadata.h.

Part of: https://developer.blender.org/D2273

Reviewed by: @campbellbarton
April 16, 2018, 09:20 (GMT)
BLI_string: macros that de-duplicate sizeof arg
April 16, 2018, 09:20 (GMT)
Undo: split text undo steps out of the data-block

This moves undo storage into a separate struct which is passed
in from the undo system.
April 16, 2018, 09:20 (GMT)
Undo System: return undo step from undo push init

Also improve logging
April 16, 2018, 09:20 (GMT)
Logging: use -1 log level to log all levels
April 16, 2018, 09:20 (GMT)
ED_undo: use logging
April 16, 2018, 09:20 (GMT)
Fix crash w/ empty text undo operations
April 16, 2018, 09:20 (GMT)
Fix modifier freeing code re. ID refcounting.

Free code should not handle ID refcounting at all. This has to be done
at higher level, since in some case we want to free (temp) data that
actually did not refcount at all its IDs.

This change seems to be working OK, but as usual in that area, only
lots of testing in real-case situation will say whether there are some
hidden bugs or not.
April 16, 2018, 09:20 (GMT)
Depsgraph: Make sure textures used by modifiers are in the graph
April 16, 2018, 09:20 (GMT)
Proper fix for T54337

Accidentally checked the wrong variable in fa01a1738bd1e3a6750ff.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021