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-14Merge branch 'master' into soc-2016-multiviewTianwei Shen
2017-02-09Use a smaller cross icon for clearing search box contentsJoshua Leung
2017-02-02Fix T50497: prop_search not correctly drew in UI (D2473)raa
2017-02-01Fix T50570: pressing pgup or pgdn in any scrollable area irreversably alters ↵Bastien Montagne
scrolling speed. 'page' prop of scroll up/down operators would get stuck once set once by pageup/down keys... Now only take this prop into account if explicitely set, not when its value is inherited from previous run.
2017-01-29Merge branch 'master' into soc-2016-multiviewTianwei Shen
2017-01-24Fix T50386: Crash when spawning pie menusJulian Eisel
D2455 by @raa, thanks!
2017-01-20Fix/cleanup stupid check on array of char being non-NULL pointer...Bastien Montagne
Reported by coverity scan.
2017-01-20Cleanup/fix some BLI_string_utf8 not using size_t/off_t as expected.Bastien Montagne
2017-01-12UI: Try limiting 'x' icon to search buttonsJulian Eisel
Reusing PROP_TEXTEDIT_UPDATE instead of adding a new property flag just for search strings. Currently it's only used for search strings anyway so seems fine for now. Fixes T50336.
2017-01-10UI Layout: fix some cases mixing fixed and expandable sizesBastien Montagne
When layout has only small buttons (buttons with icon and without label) its size should be fixed. Code was modified to be able to add a new UI_ITEM_MIN flag which indicates that the layout has only small fixed-width buttons. Patch by @raa, with minor style edits by @mont29. Reviewers: Severin, mont29 Reviewed By: mont29 Tags: #bf_blender, #user_interface Differential Revision: https://developer.blender.org/D2423
2016-12-28UI: Make icon-only buttons for enum items with empty label.Bastien Montagne
Patch D2420 by @raa, thanks.
2016-12-18Merge branch 'master' into soc-2016-multiviewTianwei Shen
2016-12-16Fix drawing enum property with icon only flagJulian Eisel
Enum properties with icon only flag should use minimum/fixed width in expanded layouts (alignment=UI_LAYOUT_ALIGN_EXPAND). Differential Revision: https://developer.blender.org/D2415 by @raa (only made some really minor corrections)
2016-12-15Proper fix for strict compiler warningSergey Sharybin
2016-12-15Revert "Cleanup: Remove unused variable"Sergey Sharybin
This reverts commit 743165eb48870f1d68c8df48cc5907dea857b017. Didn't see it is used in debug mode, sorry
2016-12-15Cleanup: Remove unused variableSergey Sharybin
2016-12-13UI: Externally open file and path from context menuJulian Eisel
Adds two buttons to context (RMB) menu of path buttons: * "Open File Externally" to open a file in an external app (only visible if path contains a filename) * "Open Location Externally" to open a path in an external file browser The functionallity for this was already there, just hidden behind Shift/Alt click of file_browse button (folder icon next to path button).
2016-12-08Fix T49872: 3D cursor places with camera shift in ortographic modeJulian Eisel
2016-12-08Fix expanding enum property in sub-layout of pie menusJulian Eisel
//ui_item_enum_expand// function replaces all pie menu's sub-layouts with radial layout. It should replace only root layout. To reproduce the issue paste the code in Blender's text editor and press Run Script button. ``` import bpy class VIEW3D_PIE_template(bpy.types.Menu): bl_label = "Select Mode" def draw(self, context): layout = self.layout.menu_pie() layout.column().prop( context.scene.render.image_settings, "color_mode", expand=True) def register(): bpy.utils.register_class(VIEW3D_PIE_template) def unregister(): bpy.utils.unregister_class(VIEW3D_PIE_template) if __name__ == "__main__": register() bpy.ops.wm.call_menu_pie(name="VIEW3D_PIE_template") ``` Differential Revision: https://developer.blender.org/D2394 by @raa
2016-11-30Cleanup id->newid usage, initial work.Bastien Montagne
This aims at always ensuring that ID.newid (and relevant LIB_TAG_NEW) stay in clean (i.e. cleared) state by default. To achieve this, instead of clearing after all id copy call (would be horribly noisy, and bad for performances), we try to completely remove the setting of id->newid by default when copying a new ID. This implies that areas actually needing that info (mainly, object editing area (make single user...) and make local area) have to ensure they set it themselves as needed. This is far from simple change, many complex code paths to consider, so will need some serious testing. :/
2016-11-30UI: Remove 'x' icon from paths and listsJulian Eisel
2016-11-28UI: Add 'x' icon to text buttons to clear contentJulian Eisel
This is useful e.g. for search buttons to quickly clear the filter string. We might want to make this optional for python scripts.
2016-11-18Fix T50063: Editing driver's expression eliminates "Zero" numberJulian Eisel
Disables trimming of trailing zeros in case button contains an expression.
2016-11-16Remove unused vector iconsMartijn Berger
it seems to me the icons are unused: - VICO_VIEW3D_VEC - VICO_EDIT_VEC - VICO_EDITMODE_VEC_DEHLT - VICO_EDITMODE_VEC_HLT - VICO_DISCLOSURE_TRI_RIGHT_VEC - VICO_DISCLOSURE_TRI_DOWN_VEC - VICO_MOVE_UP_VEC - VICO_MOVE_DOWN_VEC - VICO_X_VEC Since their code contains immediate mode GL calls and they seem to be unused i thought we could remove them. Reviewers: mont29 Reviewed By: mont29 Subscribers: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2356
2016-11-13Fix T50008: camera DOF Distance picking from W key menu not working.Brecht Van Lommel
2016-11-12Sculpt UI: Make DynTopo constant detail a resolution valueJulian Eisel
This should make it easier to sculpt in high resolutions, downside is that the new way to calculate maximum edge length is a bit less intuitive. Maximum edge length used to be calculated as blender_unit * percentage_value, now it's blender_unit / value. Reused old DNA struct member, but had to bump subversion to ensure correct compatibility conversion. Also changed default value slightly (would have had to set to 3.333... otherwise). Was Requested by @monio (see https://rightclickselect.com/p/sculpting/zpbbbc/dyntopo-better-scale-input-in-constant-detail-mode) and I think it's worth testing.
2016-11-01Add 'copy array' for rna buttonsBastien Montagne
ctrl-alt-c/v allows to copy/paste whole RNA array, e.g. location, rotation, etc., from UI buttons. Request from Andy at the studio.
2016-10-31UI: Don't show empty panel right-click menuJulian Eisel
2016-10-28CacheFile: only enable scale property slider if we are editing the cacheKévin Dietrich
through a constraint. It doesn't make sense and is a bit confusing to have this property enabled in the modifier context.
2016-10-27Fix T49829: Removal of custom icon previews during add-on unregister crashes ↵Bastien Montagne
Blender. Issue was happening when removal of custom icons was done while they were still being rendered by preview job. Now add a 'deffered deletion' system, to prevent main thread to delete preview image until loading thread is done with them. Note that ideally, calling `ED_preview_kill_jobs()` on custom icon removal would have been simpler, but we don't have easy access to context here...
2016-10-21Merge branch 'master' into soc-2016-multiviewTianwei Shen
2016-10-20Python API: add full_path parameter for bpy.ops.ui.copy_data_path_button.christian brinkmann
Also use the operator as part of the UI keymap now, to deduplicate code and let users configure a custom shortcut. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2303
2016-10-17Fixup for doversion (rB8d573aa0 and rBa7e74791)Dalai Felinto
2016-10-16More fixes for keyframe theme optionsJulian Eisel
Couple of issues here: * Missing initialization for 3D view keyframe options for "Reset to Default Theme" * Alpha values not reset correctly on "Reset to Default Theme" * Alpha values of timeline keyframe options not reset correctly for old files Also corrected old version patches even though they're overridden later, to avoid more issues in case people copy this code. Corrections to d7af7a1e04c243 and 8d573aa0ecb61
2016-10-14Fix T49601: Material menu length problem.Bastien Montagne
Regression from rB69b66d549bcc8, was supposed to be non-functionnal change, so not sure why search menu was reduced here? For now, restore to 2.77 width.
2016-10-13Fix T49635: column_flow Layout - last column is too small.Bastien Montagne
Column flow layout was abuse ui_item_fit in a weird way, which was broken for last column items. Now rather use own code, which basically spread available width as equally as possible between all columns.
2016-10-13Cleanup: UI layout: remove unsed and confusing parameter.Bastien Montagne
Things are complicated enough like that, no need to add useless noise on top of it!
2016-10-13wrong alpha set for timeline theme (fixup for rBf329ebe3)Dalai Felinto
2016-10-06Fix wrong separator line width after drawing vec iconJulian Eisel
Was visible in Dynamic Context Menu add-on.
2016-10-04Merge branch 'master' into soc-2016-multiviewTianwei Shen
2016-10-03Fix T49506: Remove unused File Browser theme settingsJulian Eisel
If I didn't miss anything these are indeed not used. Old themes should still work (will only print info on redundant theme defines into console), but updated non-contrib themes already.
2016-09-26Merge branch 'master' into soc-2016-multiviewTianwei Shen
- revise code accordingly with the 2.78 release
2016-09-22RNA/UI: Allow displaying in tooltip why RNA property isn't editableJulian Eisel
This commit allows RNA properties to return additional info on their editable state which may then be displayed in tooltips. To show how it works, it also adds some info for the editable check of proxies. For generally un-editable properties or properties of a linked data-block, RNA returns default strings. | {F362785} | {F362786} | {F362787} | Reviewed by brecht, thanks! Differential Revision: https://developer.blender.org/D2243
2016-09-22UI: Theme options for vertex/edge bevel weight colorsPhilipp Oeser
Drawing used colors for select (TH_EDGE_SELECT/TH_VERTEX_SELECT) which was inconsistent with crease, seam, sharp, .. (which all had their own them color -- also was a bit hard to read). NOTE: UI team usually doesn't allow adding more theme options, this is an exception. Differential Revision: https://developer.blender.org/D2234
2016-09-21UI: Make eyedropper shortcut configurableJulian Eisel
It's now possible to change the shortcut for invoking the eyedropper while hovering a button (E by default). Also removed the keymap editor entry for the modal eyedropper keymap, it's now automatically appended to the eyedropper shortcut.
2016-09-21UI: Make button driver and keying set shortcuts configurableJulian Eisel
2016-09-21UI: Configurable shortcuts for keyframe operatorsJulian Eisel
Adds support for editing the shortcuts for inserting (I), deleting (Alt+I) and clearing (Alt+Shift+I) button keyframes.
2016-09-21Make space context cycling a proper screen-level OPJulian Eisel
This is really more of a screen level operation, UI-level is more like button handling etc.
2016-09-21UI: Support UI operators with configurable shortcutsJulian Eisel
After all a super simple solution that allows us to get rid of hardcoded keymap items.
2016-09-21UI: Fix crash using drag-toggle over window bounds with button callbackJulian Eisel
Steps to reproduce: * Go to modifier context in properties editor * Add modifier, collapse it * Press down LMB over collapse button of modifier, hold it * Drag over pin-icon in properties editor (to keep fixed data-block displayed) * Drag outside of window bounds (should crash) Also could've solved by getting space data from callback arguments instead of context, but this fix is much nicer (though not totally un-risky).