Blender Git Commits

Blender Git "master" branch commits.

Page: 2214 / 5574

February 10, 2017, 10:54 (GMT)
Alembic: fixed mistake in bounding box computation

By performing the Z-up to Y-up conversion, the change in sign of the
Z-coordinate swaps "minimum" and "maximum".
February 10, 2017, 10:52 (GMT)
Alembic: fixed mistake in bounding box computation

By performing the Z-up to Y-up conversion, the change in sign of the
Z-coordinate swaps "minimum" and "maximum".
February 10, 2017, 10:52 (GMT)
Alembic: using Base* instead of Object* to get selection

I also added some remarks & TODOs to indicate work in progress.
February 10, 2017, 10:52 (GMT)
Alembic: don't use parent_selected() to determine which object to export

The parent_selected() function mixed semantics of "needs to be exported"
and "is selected", which is confusing. Now just selected objects are
exported to Alembic; any parent transforms that are required were already
taken care of by other code.
Revision 0c0bdd8 by Julian Eisel
February 9, 2017, 23:20 (GMT)
Cleanup: Use const for array argument
Revision 4b36506 by Julian Eisel
February 9, 2017, 23:17 (GMT)
Remove most (maybe all?) remaining yellow text

Decided to request the text color as argument for UI_fonstyle_draw
functions, rather than keeping it being another state to keep track of.
February 9, 2017, 21:25 (GMT)
Do not overide text
February 9, 2017, 21:18 (GMT)
Fix T50629 -- Add remove doubles to the cleanup menu

Also move it up in the verticies menu
Revision 0ce76a4 by Julian Eisel
February 9, 2017, 20:26 (GMT)
Fix missing highlights in 3D View

Things like selection outlines didn't work at all.

Caused by rBc973e8d2da5cf3f.
When splitting up bitflags, the equivalent to `foo->flag & (bar1 + bar2)` is
`(foo->flag1 & bar1) || (foo->flag2 & bar2)`, *not*
`(foo->flag1 & bar1) && (foo->flag2 & bar2)`.
Also, let's please avoid using '+' operator for bitwise operations, a
binary addition is a binary OR *with* cary, which can cause quite some damage.
Revision ca9c1de by Julian Eisel
February 9, 2017, 19:49 (GMT)
Fix object selection in 3D View
Revision 9e3cf0c by Julian Eisel
February 9, 2017, 19:39 (GMT)
Draw buttons for editing collections in outliner
Revision c80f982 by Julian Eisel
February 9, 2017, 19:31 (GMT)
Support activating collections from outliner
February 9, 2017, 16:52 (GMT)
Main fix for outliner, but still need changes

Fix outliner related crashes. Basically in some functions bContext was
not passed around, so CTX_data_scene_layer(C) was crashing.

Right now we still rely on ob->flag SELECT in some places. In order to use the base flag we will need to bring back the Bases to the outliner.
Revision 1bcf199 by Julian Eisel
February 9, 2017, 16:25 (GMT)
Support displaying collections in outliner

Adds a new outliner display mode "Collections" which draws the active
collection. We might want to rename it to "Active Collection" if we don't
plan to support showing other collections there.
Also added the buttons for restricting visibility and selectability.

@dfelinto, code in restrictbutton_collection_hide_cb and
restrictbutton_collection_hide_select_cb is duplicated from
rna_LayerCollection_hide_update and
rna_LayerCollection_hide_select_update, maybe utility functions would be
handy for this?
February 9, 2017, 15:46 (GMT)
Depsgraph fix for scene layers

Objects can be moved around freely now
February 9, 2017, 15:34 (GMT)
More housecleaning (BASACT > BASACT_NEW)
February 9, 2017, 14:57 (GMT)
Layers: set active object in doversion for all render layers
February 9, 2017, 14:51 (GMT)
Update get_camera_with_movieclip
February 9, 2017, 14:26 (GMT)
Cleanup: Remove commented code

Code has been commented from before 2010 and relates to old Background image code.
February 9, 2017, 14:26 (GMT)
Change ITER_BEGIN to work in C++ (include object type in the macro)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021