Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4037 / 8462

February 24, 2017, 15:35 (GMT)
Alembic: Renamed parent_map to reader_map

It's a mapping from full path of an Alembic object to an AbcObjectReader*.
The fact that at some point it is used to construct parent-child relations
doesn't matter.
February 24, 2017, 15:35 (GMT)
Alembic: use typedefs to make it easier to handle maps/vectors
February 24, 2017, 15:35 (GMT)
Alembic: more const-ness
February 24, 2017, 15:35 (GMT)
Alembic: fixed importer

The importer was guessing whether an Alembic IXform object was part of a
child object, or should be represented as an Empty in Blender. By reversing
the order in which objects are visited, the children can now claim their
parent as part of the same object (so IPolyMesh claims its parent IXform
as part of the same Blender object). This results in much less guesswork.

I've also removed similar guesswork from the code that sets parent pointers,
by simply searching for the parent in a hierarchical way, instead of trying
to predict (again) which IXforms were turned into empties.

Also, visit_object() now actually visits the object -- previously it only
visited its children, and assumed the object it was called on was already
handled by a previous call.
February 24, 2017, 15:35 (GMT)
Alembic: prevent a couple of unnecessary multiplications
February 24, 2017, 15:35 (GMT)
Alembic: be more explicit in y-up versus z-up variables.
February 24, 2017, 15:35 (GMT)
Alembic: removed a lot of unnecessary & duplicate code from abc_util.cc

create_transform_matrix(float[4][4]) did mostly the same as
create_transform_matrix(Object *, float[4][4]), but more elegant.
However, the former has some inconsistencies with the latter (which
are now merged and made explicit, turned out one was for z-up?y-up
while the other was for y-up?z-up), and was renamed to
copy_m44_axis_swap(...) to convey its purpose more clearly.

Furthermore, "loc" has been renamed to "trans", as matrices don't
store locations but translations; and more variables now have a src_
or dst_ prefix to denote whether they contain a matrix/vector in the
source or destination axis orientation.
February 24, 2017, 15:35 (GMT)
Alembic: added note
February 24, 2017, 15:35 (GMT)
Alembic: allow copy_{z,y}up_from_{y,z}up() to be called with yup=zup

This allows in-place conversion between z-up and y-up, by passing the
same variable to both arguments.
February 24, 2017, 15:35 (GMT)
Alembic: import empties under their own name in Alembic, not their parent's

Before this commit something strange happened, as the m_data_name of
an inherit data-less object was used.
February 24, 2017, 15:35 (GMT)
Alembic: Don't compute world matrix when it's not necessary.
February 24, 2017, 15:35 (GMT)
Alembic: cleaned up hack in AbcObjectReader::read_matrix()
February 24, 2017, 15:35 (GMT)
Alembic: added some clarification
February 24, 2017, 15:35 (GMT)
Alembic: added some getter functions to help debug prints etc.
February 24, 2017, 15:35 (GMT)
Alembic: do not presume to predict the parent name

AbcExporter::createTransformWriter() tries to predict the parent Xform
name, but if it cannot be found has multiple ways of creating it, possibly
under a different name than originally searched for.
February 24, 2017, 15:35 (GMT)
Alembic: Removed AbcTransformWriter::m_parent

It was set, but never read anywhere.
February 24, 2017, 15:35 (GMT)
Alembic: force ALEMBIC_LIB_USES_BOOST=ON when not using C++11

Alembic requires one of ALEMBIC_LIB_USES_BOOST, ALEMBIC_LIB_USES_TR1, or
C++11, and silently defaults to the latter if the former two are OFF.
February 24, 2017, 14:33 (GMT)
Revert "tests: Update hash for OBJ"

This changed commit was never in the release branches.

Not sure why at some point CTest was expecting new hash.

Probably because addons were pointing to a latest revision.

This reverts commit bc27652e574a58755303442b4820620048d87615.
February 24, 2017, 13:58 (GMT)
Fix T50676: Crash on closing while frameserver rendering.

Can't see any reason to call AUD exit early in WM_exit, that's a
low-level module that has no dependency on anything else in Blender, but
is dependency of some other parts of Blender, so it should rather be
exited late in the process!
February 24, 2017, 13:34 (GMT)
Cycles: Fix compilation warning with CUDA on OSX
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021