Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3943 / 8462

April 6, 2017, 22:03 (GMT)
Remove redundant TODO mark

workspaces.blend file contain nothing but workspaces (mostly), so there's
nothing to skip when reading.
April 6, 2017, 21:46 (GMT)
Don't append temporary screen-layouts with workspaces
April 6, 2017, 21:32 (GMT)
Bundle default workspace user configuration file with Blender

This contains nothing but the old screen-layouts converted into
workspaces (and "Default" layout/workspace is now called "General").

Note that this adds the workspaces.blend directly, no datatoc conversion
is used like for default startup.blend. Mainly for these two reasons:
* Appending only supports regular .blend files
* Regular .blend is much smaller than datatoc one (181kB vs. 1.4MB)
April 6, 2017, 16:46 (GMT)
New build option WITH_LEGACY_OPENGL

This introduces a new CMake option - WITH_LEGACY_OPENGL. Without this option
things may not draw perfectly, however, we should soon be able to build with
OpenGL core profile.

The matrix-related api calls are (still) not handled here (glTranslate, ...).

There seems to be no consensus on whether to make this build option the
default. We can talk about this later. For now two things are the
priority:

(1) To get rid of deprecated calls when WITH_LEGACY_OPENGL is ON
(2) To make core profile work for Mesa/Mac when WITH_LEGACY_OPENGL is OFF

Reviewers: merwin, sergey, campbellbarton

Differential Revision: https://developer.blender.org/D2603

Many thanks for Sergey Sharybin for the help.
April 6, 2017, 15:20 (GMT)
Fix T51135: Cylinder primitive generated bad UVs
April 6, 2017, 15:02 (GMT)
Remove redundant headers
April 6, 2017, 14:58 (GMT)
Depsgraph: Prefer use anonymous structs for unused arguments
April 6, 2017, 14:47 (GMT)
Alembic: rewrapped some lines to fit within 80 chars.
April 6, 2017, 14:47 (GMT)
Alembic import: compatibility with pre-C++11 compilers.
April 6, 2017, 14:47 (GMT)
Alembic import: restructured the importer w.g.t. parenthood

Previously, a GHash was used to store a flattened mapping of parent
information based on the Alembic hierarchy, and then that hash was used to
set parent pointers on Blender objects. This resulted in errors and
some duplicate objects. The new approach stores parent pointers while
traversing the Alembic hierarchy, which means that there is much more
information about the actual context of the Alembic object itself,
producing a more stable import.
April 6, 2017, 14:47 (GMT)
Alembic: rotation mode issue in copy_m44_axis_swap, and added unit tests.
April 6, 2017, 14:47 (GMT)
Added float[][] comparison macros to testing.h

I've moved EXPECT_M3_NEAR from abc_matrix_test.cc to testing.h, as that's
a more suitable location.
April 6, 2017, 14:47 (GMT)
Alembic: Renamed create_rotation_matrix to create_swapped_rotation_matrix and more:

Also replaced the bool param "to_yup" with "AbcAxisSwapMode mode", so that
it's more explicit that axes are swapped.

Also added unittests for create_swapped_rotation_matrix.
April 6, 2017, 14:47 (GMT)
CMake: Fixed order of bf_alembic in SETUP_BLENDER_SORTED_LIBS

bf_alembic depends on bf_bmesh, and should therefore be above it.
April 6, 2017, 14:47 (GMT)
Alembic import: fixed crash on more complex model

There was a problem with parent-child relations not getting set up
correctly when an Alembic object was both the transform for a mesh object
and the parent of other mesh objects.
April 6, 2017, 14:47 (GMT)
Alembic: comment typo/error fixes
April 6, 2017, 14:47 (GMT)
Alembic import: prevented unnecessary vector scaling
April 6, 2017, 14:47 (GMT)
Alembic import: moved import-time scaling to different function

convert_matrix() now only converts from Imath::M44d to float[4][4] (taking
different camera orientations into account). Import-time scaling is now
performed by the caller.
April 6, 2017, 14:47 (GMT)
Alembic: removed unnecessary matrix copy
April 6, 2017, 14:47 (GMT)
Alembic: simplified AbcEmptyReader::readObjectData
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021