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
2018-12-03Fix T58594: Modal circle select can't select & de-selectCampbell Barton
2018-12-01WM: Optimization: Don't clear the window color bufferClément Foucault
This is not needed and is rather costly. Can be reverted if that causes problem.
2018-11-30Fix file browsers thumbnail selection with tablet failing, after recent changes.Brecht Van Lommel
2018-11-30PyAPI: add load_factory_startup_post handlerCampbell Barton
Needed so we can apply changes to the startup file, only in the case when it's load loaded from a user-saved startup.
2018-11-30Merge branch 'master' into blender2.8Campbell Barton
2018-11-30Cleanup: unused return argCampbell Barton
2018-11-29New splash image for Beta.Brecht Van Lommel
This one focuses on the development fund campaign. We plan to do more more splash updates during the Beta.
2018-11-28Merge branch 'master' into blender2.8Sergey Sharybin
2018-11-28Tweaks for threading schedule for Threadripper2 and EPYCSergey Sharybin
The idea is to make main thread and job threads to be scheduled on CPU dies which has direct access to memory (those are NUMA nodes 0 and 2). We also do this for new EPYC CPUs since their NUMA nodes 1 and 3 do have access but only to a higher range DDR slots. By preferring nodes 0 and 2 on EPYC we make it so users with partially filled DDR slots has fast memory access. One thing which is not really solved yet is localization of memory allocation: we do not guarantee that memory is allocated on the closest to the NUMA node DDR slot and hope that memory manager of OS is acting in favor of us.
2018-11-28UI: rename settings back to preferences.Brecht Van Lommel
This distinguishes it better for the many other types of settings. Ref T54115.
2018-11-28Fix assert opening file selectorCampbell Barton
2018-11-28WM: remove tool initialization codeCampbell Barton
Area initialization handles these cases now.
2018-11-28Fix tool not being initialized switching windowsCampbell Barton
2018-11-28Print filepath in message when saving userprefsCampbell Barton
Was just printing 'ok' on success.
2018-11-27Tool System: use tools for node editorCampbell Barton
2018-11-27Keymap: share annotation tool keymaps between spacesCampbell Barton
Not sharing caused duplication in the keymap and required a factory class generator. Simplify tool & keymap definitions by sharing them. It's highly unlikely we will ever want these to use different keys once they're set as the active tool.
2018-11-27WM: add print for missing tool keymapCampbell Barton
Also correct function name (gizmo -> tool).
2018-11-26Timer: Generic BLI_timer with Python wrapperJacques Lucke
There is a new `bpy.app.timers` api. For more details, look in the Python API documentation. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3994
2018-11-26Fix view layer set in the outliner of child window not syncing to parent window.Brecht Van Lommel
2018-11-26Keymaps: don't do CLICK event when PRESS was already handled.Brecht Van Lommel
This fixes conflicts where the tool and editor keymap use different event types. Tools need to be able to mouse buttons on PRESS without triggering CLICK events in the editor keymap.
2018-11-26Keymaps: keep Select Box as default tool.Brecht Van Lommel
2018-11-26Fix gizmos not using same tweak threshold as other places.Brecht Van Lommel
The low hardcoded threshold made clicking on the navigation gizmo difficult on tablets.
2018-11-25Tools: add Select tool, with transform tweak on drag and no click delay.Brecht Van Lommel
For users that want the 2.7 LMB keymap behavior, this provides a way of working without tools interfering. For RMB select this operator is quite redundant with the Cursor tool, we may have to find a solution for that. Note that we also might later add transform tweak to the transform tools, when nothing is selected. But this is important for existing users who preferred the existing workflow.
2018-11-25UI: Initial User-Preferences redesignJulian Eisel
Implements the first changes for T54115: * Rename "User Preferences" window to "Settings" in the UI. We'll likely put workspace settings in there, separate from the global user settings. System settings should become separate from user settings in future to allow settings for specific hardware. * Add sidebar region for navigation (scrolls independently). Addresses space problems, so we can add more categories as needed now. * Increase size of Settings window to compensate new navigation bar. * Group sections into User Preferences and System. Icons for section groups by Andrzej Ambroz. Thanks! * Bumps subversion for file compatibility. Screenshot: https://developer.blender.org/F5715337 I also added categories for future work, but commented them out. We may also want to redesign contents of each section now. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D3088 Design Task: https://developer.blender.org/T54115
2018-11-24Fix T58022: Changing workspace may change layout of User Pref windowJulian Eisel
Logic to update child windows on workspace changes should simply ignore temporary child windows. Users opened those for a specific purpose (i.e. edit user preferences or show render result). Blender should not come in and repurpose it.
2018-11-23Fix uv lasso/box multi-object select logicCampbell Barton
Was de-selecting all UV's on each iteration.
2018-11-23Tool System: uv lasso/box select optionsCampbell Barton
These tools now support (new, add, subtract), (xor, and) could be supported but are complicated by UV's sticky selection modes.
2018-11-23Keymap: add Keymap.keymap_items.new_from_itemCampbell Barton
Needed to copy keymap items from other keymaps.
2018-11-22Keymaps: make click event detection use a larger distance threshold.Brecht Van Lommel
Previously this was hardcoded to 2 pixels, which is too low for tablets and not taking into account DPI. Now we set it equal to the tweak threshold, so you either always do click or drag. The default distance of 10 pixels may be quite far for something to be considered a click, and we'll need to see how well it works. But I find this to help a lot when selecting vertices in quick succession. Thanks to Julien for spotting this.
2018-11-22Merge branch 'master' into blender2.8Campbell Barton
2018-11-22Fix T57989: File loaded as startupCampbell Barton
The file contents was used to check if the file was a startup file. Now pass in an argument from startup loading code instead.
2018-11-22Fix factory-settings using stale preferencesCampbell Barton
We need to reload defaults on factory startup because the defaults now have preferences that may have changed.
2018-11-21Keymaps: take into account DPI for tweak/drag/pie thresholds.Brecht Van Lommel
The intention is to fix a too low default threshold on high DPI screen. Users with high DPI screens that have increased the threshold to fix this or liked the lower threshold will need to lower it again. This is still somewhat of a guess, ideally this would be based on the physical distance travalled, and maybe different per type of input device. However we do not have access to this information, and hope this gives a better default.
2018-11-21Implement basic global tablet pressure curve options.Alexander Gavrilov
Grease Pencil already implements support for full-featured per-brush pressure curves, but it is useful to have some basic global settings that affect all brushes and tools. This adds two simple options: - Raw pressure required to achieve full brush intensity. - Softness control, using a gamma curve internally. The most important one is the max pressure setting, because it is critical for ergonomics, but the Linux Wacom driver lacks it. The softness option internally converts to gamma = 4^-softness. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D3967
2018-11-21Gizmo: run invoke_prepare even when the gizmo isn't modalCampbell Barton
This is useful for setting up state for gizmos that run operators too.
2018-11-20Keymap: only use delete confirmation for X-keyCampbell Barton
Only use confirmation w/ X-key since this is more likely to be pressed by accident. Delete-key delete doesn't confirm. Part of D3953 by @Zachman w/ edits
2018-11-19Cleanup: use define for key-config stringCampbell Barton
2018-11-19Fix keymap loading multiple timesCampbell Barton
Blender defaults data-file was loading it's own key-map with a capital 'B', the preset would load it again w/ a lowercase name. Use lowercase key-map names.
2018-11-18Keymap: move left click select to a preferenceCampbell Barton
2018-11-18Keymaps: make click event use position on button press rather than release.Brecht Van Lommel
This may improve reliability with left click select and pen input, assuming that the place where the pen first touched the surface is closer to the intended location than where it was released from the surface. I'm not sure if this will make a significant difference in practice, but it seems worth a try.
2018-11-16Keymap: add support for key-config preferencesCampbell Barton
This is needed for keymaps to define their own options, which can include left/right mouse select. This can also help to us to provide popular keymap tweaks as options, so users can easily fit blender to their workflow with well supported adjustments which don't give the overhead of having to maintain your own keymap, which become out-dated when operators change.
2018-11-16Cleanup: remove 27X defineCampbell Barton
2018-11-16Keymaps: left click select keymap changesBrecht Van Lommel
Both the active tools and selection are now on LMB, which leads to various conflicts. For that reason the LMB keymap now has a couple of differences compared to before. These changes do not affect the RMB keymap. * Context Menu: W -> RMB * Select Tool activate: None -> W * Set Cursor: RMB -> Shift+RMB * Loop Select: Alt+LMB -> double click LMB * Mask Feather Vertex Slide: Shift+RMB -> Ctrl+Shift+RMB * Node Select: only with LMB now, no RMB The idea behind the W key Select Tool shortcut is that various tools can't be combined with selection, unlike the RMB keymap. So this works as a quick shortcut to drop a tool and go back to selection. Tools: set Select Box tool as default, rather than Cursor. This goes along with coming LMB select keymap changes, where we want the user to be able to LMB click to select by default, rather than set the cursor. The cursor will still be directly setabble with shift+RMB.
2018-11-16Keymaps: replace select / action mouse systemBrecht Van Lommel
For Blender builtin configurations the option to choose the select mouse remains and is now also in the splash screen. It works by changing the keymap dynamically in the script, rather than using special events. The system of automatic switching of events was not flexible enough to deal with side effects that require further keymap changes, so it is now under more manual control in the script. This breaks compatibility for some scripts and exported key configurations. These can be fixed by replacing SELECTMOUSE, ACTIONMOUSE, EVT_TWEAK_S and EVT_TWEAK_A with appropriate LEFTMOUSE, RIGHTMOUSE, EVT_TWEAK_L and EVT_TWEAK_R events. Other than that, there should be no functional changes.
2018-11-15Keymaps: minor code refactor after adding tools to default preset.Brecht Van Lommel
2018-11-14UI: Comment out "Clip border" operatorClément Foucault
Also Remove it from the UI as it has not been ported to 2.8 and it is a delicate thing to do.
2018-11-14Keymap: assigning keys for tools now checks modeCampbell Barton
Adding shortcuts to tools was always adding to the top-level window map.
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.