Blender Git Commits

Blender Git commits from all branches.

Page: 1550 / 2888

Revision 99ea0a5 by Gaia Clary
April 16, 2018, 19:14 (GMT)
Refactor Collada: Major rewrite of the AnimationExporter

* Mostly reorganized the classes and made them more readable.
* The animation sampler now can be used for any animation curve.
Before the sampler only looked at curves which are supported by
Standard Collada 1.4. However the Collada exporter currently
ignores all animation curves which are not covered by the 1.4.1
Collada Standards. There is still some room for improvements
here (work in progres)
* Removed some unnecessary dependencies and cleaned up many
functions which have become unnecessary and no longer used.
* moved functions between classes to better match the class
responsibilities.
* took care that the functions are kept small and understandable
* removed intermediate structures which are no longer needed
* cleanly separated the Animation sample part from the
Collada part so that they can be treated independently from each
other

Known issues:

* Some exports do currently not work reliably, among those
are the camera animations, material animations and light animations
those animations will be added back next (work in progres)

* Exporting animation curves with keyframes (and tangents)
sometimes results in odd curves (when parent inverse matrix is involved)
This needs to be checked in more depth.

* Export of "all animations in scene" is disabled because the
Collada Importer can not handle this reliably at the
moment (work in progres).
Revision ece21d8 by Gaia Clary
April 16, 2018, 19:13 (GMT)
Fix Collada: replaced nullptr by NULL at various places

To remain compatible with the c++ version used in master
April 16, 2018, 19:08 (GMT)
Fix invalid brush assignments
April 16, 2018, 19:07 (GMT)
Cleanup: unused variables & args
April 16, 2018, 18:52 (GMT)
Cleanup: -Wparentheses & line length
April 16, 2018, 17:09 (GMT)
Initial working drag & drop for workspace tabs

Had to do quite some changes to get this to work, mainly because we'd
want to have the customized order written to files. Also wanted to use
existing wmDrag and wmDropBox code but modify it for our needs.
And of course, this should not just work for a single case, code should
be applicable to other areas as well.

Note that file read/write is not working (yet), neither is versioning, region
copying and deleting workspaces working.
Code is also very WIP, much of it is placed in temporary places and
such.

Once the basics are done, we can add nicer feeback during drag & drop.
April 16, 2018, 17:01 (GMT)
UI Tweak: Rename "Grease Pencil" menu in 3D View to "Strokes"

Menu names in general should be a single word. Having two separate words makes it
visually confusing (i.e. it looked like there were 4 menu items, when in fact there
were only 3). Since the operators here operate on the GP strokes, it's reasonable
to use this term instead.

(Discussed with William as part of an informal UI review of GP branch)
April 16, 2018, 16:57 (GMT)
Fix compile error: Was missing 'const' qualifier
April 16, 2018, 13:26 (GMT)
Merge branch 'blender2.8' into topbar
Revision 8dddabc by Gaia Clary
April 16, 2018, 09:31 (GMT)
Cleanup Collada: Renamed Enum entries for consistency

Minor change: indentation of BC_ANIMATION_TYPE_FROM_NAME was wrong
Revision ff8fd18 by Gaia Clary
April 16, 2018, 09:31 (GMT)
Cleanup Collada: Removed no longer needed method
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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021