Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-11OpenGL immediate mode: uvedit_draw.cLuca Rood
Still has one `UI_ThemeColor` call, because drawing is happening in a DM drawing callback which hasn't been converted yet. Also has some old gl calls that are #ifdef'ed out. This also changes active face drawing in UVs from stippled to a solid color, which makes active faces much more visible, and also looks nicer. The same should probably be done for active face drawing in the 3d view. (has been discussed with merwin on IRC) Part of T49043
2017-02-10Use OBACT_NEW to show the object edit modeDalai Felinto
2017-02-10Complete immUniform functions to support 2float and 3floatAntonio Vazquez
2017-02-10Alembic: fixed mistake in bounding box computationSybren A. Stüvel
By performing the Z-up to Y-up conversion, the change in sign of the Z-coordinate swaps "minimum" and "maximum".
2017-02-10Alembic: using Base* instead of Object* to get selectionSybren A. Stüvel
I also added some remarks & TODOs to indicate work in progress.
2017-02-10Alembic: don't use parent_selected() to determine which object to exportSybren A. Stüvel
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.
2017-02-10Cleanup: Use const for array argumentJulian Eisel
2017-02-10Remove most (maybe all?) remaining yellow textJulian Eisel
Decided to request the text color as argument for UI_fonstyle_draw functions, rather than keeping it being another state to keep track of.
2017-02-09Fix missing highlights in 3D ViewJulian Eisel
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.
2017-02-09Fix object selection in 3D ViewJulian Eisel
2017-02-09Support activating collections from outlinerJulian Eisel
2017-02-09Main fix for outliner, but still need changesDalai Felinto
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.
2017-02-09Support displaying collections in outlinerJulian Eisel
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?
2017-02-09Depsgraph fix for scene layersDalai Felinto
Objects can be moved around freely now
2017-02-09More housecleaning (BASACT > BASACT_NEW)Dalai Felinto
2017-02-09Layers: set active object in doversion for all render layersDalai Felinto
2017-02-09Update get_camera_with_movieclipDalai Felinto
2017-02-09Change ITER_BEGIN to work in C++ (include object type in the macro)Dalai Felinto
2017-02-09Fix widget not showing upDalai Felinto
(and more Scene.base > SceneLayer.object_bases changes in transforma code)
2017-02-09Temporary fix for object panelDalai Felinto
2017-02-09Fix logic in CollectionEngineSetting updateDalai Felinto
Now Clay engine can show different materials per collection o/
2017-02-09Clay Engine : fixClément Foucault
2017-02-09CollectionEngineSettings calculate: set COLLECTION_PROP_USE for combined ↵Dalai Felinto
property This way the render engines can have a fallback value (scene or layer default value) for the shader values that were never set.
2017-02-09Clay Engine: support for overrides (not working yet)Clément Foucault
2017-02-09Fix crashes on outliner (fixup for rB2a16a4ee)Dalai Felinto
FOREACH_SCENE_OBJECT was wrong (skipping an object), but rB2a16a4ee made it crash. Things should be better now.
2017-02-09Fix active object name not showing in viewportDalai Felinto
2017-02-09OpenGL: outliner_draw_tree_element uses new imm modeCyrax
D2438 by @cyrax review by @merwin part of T49043
2017-02-09added UI_GetThemeColorShade4ubv functionCyrax
And updated UI_ThemeColorShade to use it. Part of D2438 by @cyrax
2017-02-08Update outliner_draw_hierarchy_lines to use new imm modeCyrax
Patch D2437 by @cyrax review by @merwin
2017-02-08OpenGL: outliner_draw_highlights uses new imm modeCyrax
Patch D2433 by @cyrax, part of T49043 reviewed by @merwin
2017-02-08Cleanup: warningsCampbell Barton
2017-02-08Fix uninitialized var with FOREACH_SCENE_OBJECTCampbell Barton
2017-02-08Fix breakage when saving files from the UIDalai Felinto
The problem was with offscreen buffer rendering
2017-02-08create BKE_scene_layer_activeDalai Felinto
2017-02-08Bring back Lasso and Circle selection backDalai Felinto
(and replace more instances of BaseLegacy/scene->base with Base/sl->object_bases) Still need mouse selection, box selection, and menu selection Also, there is still a problem with BA_WAS_SEL, at the moment only the objects centers are highlighted.
2017-02-08Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/blenloader/intern/writefile.c
2017-02-08Fix T49249: Alembic export with multiple hair systems crash blenderSybren A. Stüvel
Removed unnecessary call to DM_update_tessface_data(). This call is already performed by DM_ensure_tessface(dm). The call being performed twice caused a failing BLI_assert(). Reviewed by: Kévin Dietrich
2017-02-08Alembic export: avoid infinite loops trying to find parent objects.Sybren A. Stüvel
Also added some assertions for debugging purposes Reviewed by: Kévin Dietrich
2017-02-08Alembic export: only create transform writer if the object should be exportedSybren A. Stüvel
Reviewed by: Kévin Dietrich
2017-02-08Alembic: #undef'ed the correct macroSybren A. Stüvel
TEST_RET is not defined anywhere in Blender's sources, and LAYER_CMP is no longer used after this function ends.
2017-02-08Alembic: Use getXForm() in check, because it's used in rest of the function tooSybren A. Stüvel
This makes the code within the function consistent.
2017-02-08Alembic: Renamed copy_zup_yup to copy_yup_from_zup (and same for zup_from_yup)Sybren A. Stüvel
With the new names the arguments (yup, zup) are in the same order as they appear in the function name. The old names used copy_src_dst(dst, src), which I found very confusing. Furthermore, now it is clear from where to where the copy is made. This makes the function names a little bit longer, though. If that is a real issue, we can just name them zup_from_yup(zup, yup). Reviewed by: Kévin Dietrich
2017-02-07Partial "fix" for objects not being selectedDalai Felinto
To bring this fix a step further we need to address all the BA_WAS_SEL instances, and make sure they follow the new design. This commit allow you to see the object selected (its center anyways) when you do select all. Note: in the clay engine selection (a) was already working fine.
2017-02-07Cleanup: Use const qualifier in some of color management codeSergey Sharybin
2017-02-07Sequencer: Some extra speedup in color space conversionSergey Sharybin
Use the new utility from coloranagement which multi-threads byte to float conversion. Gives extra 10% speedup from quick tests.
2017-02-07Color management: Add utility function to convert byte to float with ↵Sergey Sharybin
processor applied
2017-02-07Sequencer: Speedup conversion to sequencer spaceSergey Sharybin
Speedup is mainly gained by multi-threading. Gives about 3x fps gain on an edit shot file. There is still some room for improvements, will happen in one of the upcoming commits.
2017-02-07Color management: Implement threaded byte buffer conversionSergey Sharybin
The title says it all actually: now we can convert byte buffer directly, without need of temporary float buffer.
2017-02-07Layers: get/update CollectionEngineSettings (depsgraph placeholder)Dalai Felinto
Every time: * A collection settings is set * A collection visibility changes * An object is added/removed/ ... We need to recalculate the "accumulated" CollectionEngineSettings that the render engine should use for an object. This is to be handled by the depsgraph. Meanwhile this code should allow us to start using those settings in the render engines. Note: We are storing this in the objects, which means we can only have one active calculated option every time. This is intended to get the conversation with the Depsgraph department going.
2017-02-07Param `is_cached` not being used in` bvhtree_from_mesh_edges_setup_data`Germano Cavalcante
This could cause bugs in the memory release