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
2020-02-26Cleanup: spellingCampbell Barton
2020-02-25UI: Add theme option for time markers lineMichael Soluyanov
This patch adds the ability to set colors and alpha of dashed line of Time Markers. That way themes can avoid contrast issues and communicate selection better. See screenshots in D6877. Bumps subversion. Reviewed By: William Reynish, Julian Eisel Differential Revision: https://developer.blender.org/D6877
2020-02-25Cleanup: clang-formatBrecht Van Lommel
2020-02-25WM: move cursor refresh tag to the windowCampbell Barton
Avoids having to check the current area is NULL.
2020-02-22Fix crash when open default templateAntonio Vazquez
As soon you select the default template, Blender crash on Winodws. This was introduced in commit {0b626703}
2020-02-22Cleanup: internal changes to cursor resettingCampbell Barton
- Move gizmo cursor check into ED_region_cursor_set so the result of calling this function is the same as flagging for cursor update. - Use tagging in ui_popup_block_remove which avoids adding a mouse-move event in case the cursor needs to be changed again.
2020-02-21Fix T74006: Alt+ clicking (assign to all selected) doesn not work forPhilipp Oeser
bone constraints settings 'UI_context_copy_to_selected_list()' was working fine for constraints on objects (would properly get the path and list of selected objects) and also for bone settings (would properly get the path and list of bones). There was no special case for constraints on bones though, so code would work on selected objects (not selected bones). So we now get the right bones and resolve the path to the constraint setting _from the bones_. Maniphest Tasks: T74006 Differential Revision: https://developer.blender.org/D6897
2020-02-19Theme: Radial gradient background and enum for gradient typePablo Dobarro
This commit replaces the "Use Gradient" checkbox theme option with an enum and implements a radial background. Whith this change, it should be easier to implemet other types of more complex background types, like a world space oriented gradient. Reviewed By: billreynish, fclem, brecht Differential Revision: https://developer.blender.org/D6825
2020-02-19Cleanup: assign Main, use existing assignmentsCampbell Barton
Avoid accessing inline since it's often used multiple times. In some cases it was already defined.
2020-02-17Fix many typos and other issues in UI messages.Bastien Montagne
2020-02-15Cleanup: mixed camel/snake caseCampbell Barton
2020-02-15Revert "Fix T73763: Laggy with nodes Editor + International Fonts"Clément Foucault
This reverts commit a21f5ec56245f7f1fbede4aa3c140a582c3a6a1b.
2020-02-14Cleanup: simplify redundant tests in scrollbar codeNicholas Rishel
Differential Revision: https://developer.blender.org/D6783
2020-02-14Fix T73763: Laggy with nodes Editor + International Fontsmano-wii
Two main reasons for the lag: - Allocation of memory with transfer to GPU. - BLF_cache_clear(); The memory allocation seems to be unnecessary, so I removed it. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6837
2020-02-13Fix T71112: UILayout.activate_init when used in popups that refreshCampbell Barton
2020-02-13Fix crash using 'activate_init' in popup menusCampbell Barton
Reported in T71112
2020-02-10Cleanup: Rename `BKE_library_override_` functions to `BKE_lib_override_library_`Bastien Montagne
pqrt of T72604.
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-10Cleanup: spellingCampbell Barton
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
2020-02-05T73589: Code Quality: Renaming on BKE_material.hAntonio Vazquez
Old Name New Name ========= ========= init_def_material BKE_materials_init BKE_material_gpencil_default_free BKE_materials_exit test_object_materials BKE_object_materials_test test_all_objects_materials BKE_objects_materials_test_all give_matarar BKE_object_material_array give_totcolp BKE_object_material_num give_current_material_p BKE_object_material_get_p give_current_material BKE_object_material_get assign_material BKE_object_material_assign assign_matarar BKE_object_material_array_assign give_matarar_id BKE_id_material_array give_totcolp_id BKE_id_material_num assign_material_id BKE_id_material_assign clear_matcopybuf BKE_material_copybuf_clear free_matcopybuf BKE_material_copybuf_free copy_matcopybuf BKE_material_copybuf_copy paste_matcopybuf BKE_material_copybuf_paste BKE_material_init_gpencil_settings BKE_gpencil_material_attr_init BKE_material_add_gpencil BKE_gpencil_material_add BKE_material_gpencil_get BKE_gpencil_material BKE_material_gpencil_default_get BKE_gpencil_material_default BKE_material_gpencil_settings_get BKE_gpencil_material_settings
2020-02-04Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-04Fix T65306: UI widgets clipped when scaled upCampbell Barton
Normal UI widget and 3D navigation gizmo where clipping at high DPI.
2020-02-03UI: invert toolbar icon colors for light toolbar button backgroundYevgeny Makarov
Fixes T64177. Differential Revision: https://developer.blender.org/D6649
2020-02-03Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-02UI: fix blurring of bitmap icons for the navigation gizmoYevgeny Makarov
2020-02-02Cleanup: clang-formatCampbell Barton
2020-02-01UI: Ellipsis Character for Line ContinuationHarley Acheson
Using ellipsis character for line continuation since that glpyh is now narrower. Differential Revision: https://developer.blender.org/D6728 Reviewed by Brecht Van Lommel
2020-02-01UI: Font Binary Symbol UpdatesHarley Acheson
Font binaries updated with consistent keyboard symbols. Footer events now have per-platform icons. Differential Revision: https://developer.blender.org/D6055 Reviewed by Brecht Van Lommel
2020-01-30Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-30Fix T73495: Missing undo switching active shape-key in edit-modeCampbell Barton
2020-01-29UI: Info Editor Visual ChangesHarley Acheson
Changes to Info Editor making it easier to read. Only visual changes, no functional changes. Differential Revision: https://developer.blender.org/D6491 Reviewed by Julian Eisel
2020-01-29Fix T73487: Crash when opening filebrowser while error is displayedJulian Eisel
More concretly, the crash would happen if a filebrowser is opened while an error popup is visisble **in a different window**. Code assumed the popup to be in the active window/screen, but it may actually be displayed in a non-active window. Temporarily override context to ensure this assumption is correct.
2020-01-29Merge branch 'blender-v2.82-release'Philipp Oeser
2020-01-29Fix T67483: Cannot paste on unit-vector uibutJacques Lucke
Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D6701
2020-01-29Fix T72089: Image Editor - Paint mode, Clone Tool - disfunctional clearPhilipp Oeser
button in the Image slot in the Brush panel Caused/exposed by rBaf9ca138ba7b Also relevant was rB828905190e12 Above commits moved the WM_UI_HANDLER_BREAK around so it would not be returned anymore. We need WM_UI_HANDLER_BREAK, otherwise we wont get through to to KM_RELEASE. There are two places that explicitly check for KM_RELEASE (call to `ui_do_but_extra_operator_icon` in both `ui_do_but_SEARCH_UNLINK` / `ui_do_button`), and without the above we only ever get here with KM_PRESS. This patch restores the behavior regarding WM_UI_HANDLER_BREAK to what is was before the two culprit commits. Checked that both this report (T72089) and T69755 are working. Maniphest Tasks: T72089 Differential Revision: https://developer.blender.org/D6363
2020-01-28Fix T63999: Filepath property won't open filebrowser from a popoverJulian Eisel
To issues caused this: * The code to launch the filebrowser from a button didn't respect popup menus stored in context * There was actually no popup menu region stored in context for this case. Doing so *may* introduce other issues, but the way I did things already fixes all issues I've found.
2020-01-28Merge branch 'blender-v2.82-release'Bastien Montagne
2020-01-28Merge branch 'blender-v2.82-release'Brecht Van Lommel
2020-01-28UI: better preserve icon sharpness at different UI scalesYevgeny Makarov
This changes the GL_TEXTURE_MIN_FILTER parameter from GL_LINEAR_MIPMAP_LINEAR to GL_LINEAR_MIPMAP_NEAREST. It gives a sharper result, since with these settings only down scaling is used. Differential Revision: https://developer.blender.org/D6662
2020-01-28Fix T66699 EEVEE: Material Preview "World" option doesn't workClément Foucault
Just hide the button for now.
2020-01-28Fix T65350: scrolling popovers with trackpad not working on macOSYevgeny Makarov
Differential Revision: https://developer.blender.org/D6483
2020-01-28Fix: icon alpha theme option does not affect toolbar icons correctlyYevgeny Makarov
Differential Revision: https://developer.blender.org/D6535
2020-01-27Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-27Fix T71719: Unrelated menus open on hoverCampbell Barton
Logic to open menus on hover changed since 2.7x for convenience switching between popovers in the top-bar. This also made hover open menus in situations where it isn't useful. Restrict this to buttons placed side-by-side.
2020-01-23UI: Fix Hover Flickering on Selected ItemsHarley Acheson
Removes hover highlight from already-selected UI items to remove unintended flickering. Differential Revision: https://developer.blender.org/D6503 Reviewed by Campbell Barton
2020-01-22Bugfix for T69413Tyler Seacrest
Fixes the invisible scrollbar when opening preferences by 'Editor Type' by always creating scrollbars for V2D_COMMONVIEW_PANELS_UI objects. This removes a fix (T47047) for dpi issues when dragging out the toolbox. The new toolbox in 2.8 does not seem to have the same DPI issues. Exact steps for others to reproduce scrollbar invisible (T69413): change the 3d viewport to preferences and go to addons. The scrollbar will not be visible To verify there are no DPI issues: Apply the patch and open blender. Hide the toolbar. Split the 3d view port into 4 windows, such that one is very small horizontally, another is very small vertically, and a third is small in both directions. Drag out the toolbar arrow on all four viewports. The Toolbar will be the same size in each. For further verification, adjust the scaling and repeat. {F7805968} Also this is my first time submitting a patch. Some instruction is welcome! Reviewed By: #user_interface, Severin Maniphest Tasks: T69413 Differential Revision: https://developer.blender.org/D6050
2020-01-22Cleanup: Rename ED_region_init() -> ED_region_floating_initialize()Julian Eisel
This function is a very special refresh function just for floating regions. _initialize is more consistent with ED_area_initialize() so use that too. Also adds assert.
2020-01-21Fix T71810: Flipping Sidebar with tabs breaks alignmentJulian Eisel
Panel alignment was only updated when panel size changed. Now we can also recognize changes in the category tabs offset and tag panels for alignment updates.
2020-01-20Merge branch 'blender-v2.82-release'Campbell Barton