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
2019-03-27UI: use active-default button flag for operator confirmationCampbell Barton
2019-03-27UI: support an 'active default' button for pop-upsCampbell Barton
Use this for the save confirmation dialog so it has a default action when pressing enter which draws with a highlight so it's clear what the default action is (the dialog was just closing before). Resolves T57686
2019-03-25GPU: State: Replace GL_BLEND by GPU_blendClément Foucault
2019-03-25Cleanup: pass const image data to IMB_ibImageFromMemoryCampbell Barton
2019-03-24GPU: State: Replace GL_LINE_SMOOTH by GPU_line_smoothClément Foucault
2019-03-24GPU: Replace glEnable/glDisable but GPU_state callsClément Foucault
2019-03-22Fix: VSE preview not showing stereo drawing (unreported)Dalai Felinto
SpaceSeq main stereo drawing is for ar->regiontype RGN_TYPE_PREVIEW, but the drawing code was assuming RGN_TYPE_WINDOW was the only one to be considered for all the regions. SpaceSeq still needs stereo drawing in RGN_TYPE_WINDOW but only when backdrop is enabled. Bug introduced on rBe01cadd657c76267.
2019-03-22Fix T59962, T60130: error adding image sequence with node wrangler.Brecht Van Lommel
The region should be restored correctly, there is already a similar test for areas to be preserved.
2019-03-22Fix T62348: Cycles - Viewport rendering not update on switching viewlayerDalai Felinto
It updates only the main window you edit and the non-main window children of this main one. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D4528
2019-03-21UI: replace button open event with activate on initCampbell Barton
No user visible change.
2019-03-21WM: enable activate on init for wmOperatorType.propCampbell Barton
This enables popups to edit text when displayed, use for new collection popup.
2019-03-20UI: support for popups starting with buttons activatedCampbell Barton
While this could already be done from C, this is now exposed to Python
2019-03-20Preferences: add threshold for cursor motionCampbell Barton
A hard coded threshold was used to ignore cursor motion, make this a preference since tablet users may want to increase it since a pen hovering isn't as easy to keep still as a mouse. Resolves T56278
2019-03-19UI: scale cursor motion threshold by DPICampbell Barton
This was using hard coded values of 2-3px. Move both drag and motion thresholds to defines.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-19Fix T61872: Sculpt key shortcut assignment failsCampbell Barton
2019-03-19Fix assigning keys to paint operatorsCampbell Barton
Comparing context mode with object flag (decade old bug from 2.5x).
2019-03-19Cleanup: use enum for CTX_data_mode_enumCampbell Barton
Exposes errors in some cases when compared against incompatible values.
2019-03-19Fix T61368: Brush texture preview ignores rotationCampbell Barton
2019-03-18UI: clarify "Remap Relative" tooltipCampbell Barton
Resolves T62612
2019-03-16Fix ID user counting issues with NodeCustomGroup.Miguel Porces
User counting now happens before init() and after free() methods, so that the ID users are in a valid state when Python might modify them. ID user counting was moved into node.c and simplified. Patch by Miguel with further refactoring by Brecht. Ref D4370.
2019-03-15Tool System: use categories for tool identifiersCampbell Barton
Tools that come with Blender use 'builtin' or 'builtin_brush' prefix.
2019-03-15Tool System: split UI label from tool identifiersCampbell Barton
Prepare for exposing tool registration to the Python API. - Generated tools can use their own prefix so naming collisions won't happen between hard coded & generated tools. - Add-on authors can use the add-on name as a prefix. Currently the names match, renaming will happen next.
2019-03-13Cleanup: rename uiBlock.mx,my to bounds_offsetCampbell Barton
Use a name that related to block bounds calculation (mx/my are typically used for mouse x,y).
2019-03-08Fix T60978: crash toggling window fullscreen on macOS.Brecht Van Lommel
GHOST event handling does not need a window in the context, and restoring it to the previous value is problematic if the window was deleted in the meantime.
2019-03-08Cleanup: remove unused test break code for handling cancels.Brecht Van Lommel
2019-03-08Cleanup: make modal event double click handling more straightforwardCampbell Barton
2019-03-08WM: fix double click handling in modal keymapsCampbell Barton
Model keymaps wasn't matching double-click events with press as is done in regular keymap handling.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Fix gizmos not responding to theme color updatesCampbell Barton
Re-create gizmos when changing theme colors, since theme colors don't change often this allows gizmos to setup their colors on initialization.
2019-03-07Tool System: use set/add/subtract for all lasso select operatorsCampbell Barton
2019-03-07Fix T62280: driver functions added in load_post broken after recent changes.Brecht Van Lommel
Evaluate the dependency graph a bit later still. This kind of worked before because it was using the drive namespace from the previously loaded .blend file but that's of course wrong.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-05Fix T61063, T62195: Python scripts should run before depsgraph evaluation.Brecht Van Lommel
This was changed (accidentally?) in d192d723123a, now go back to behavior more similar to 2.7. Python scripts should be able to set up drivers or do other changes that will then be taken into account when evaluating the scene for the first time. The more tricky thing is that Python scripts now run before ED_editors_init, but given what happens in there it seems safe.
2019-03-05Tool System: use set/add/subtract for all circle select operatorsCampbell Barton
This applies changes from the 3D view circle select to other operators.
2019-03-04Outliner: better support for paintcurves ('Blender File' view)Philipp Oeser
- paintcurves were hitting an assert in outliner_add_element() - missing outliner update when adding a paintcurve - paintcurves were not showing an icon [they dont have a dedicated icon, took the one used elsewhere] Reviewers: brecht Differential Revision: https://developer.blender.org/D4445
2019-03-04Cleanup: typo in commentPhilipp Oeser
spotted by @miclack, thx!
2019-03-01WM: add gesture variable to detect first executionCampbell Barton
Needed for circle select to replace the current selection.
2019-03-01WM: improve support for binding actions to modifier keysCampbell Barton
Previously a modifier key-map type only worked when the same key was enabled as a modifier as well. This allows for users to assign an action to double-tap-shift for eg.
2019-03-01Cleanup: Use braces in event matching logicCampbell Barton
Also no need to map the event type for inactive keys.
2019-02-28UI: rename Quit Prompt to Save PromptCampbell Barton
Eventually this should be used to prompt when loading a new file too.
2019-02-28UI: change behavior for quit promptCampbell Barton
Remove confirmation popup menu, just exit. Note that this option is mainly for developers or people reviewing blend files, see D4406 for discussion on reason for keeping this feature while simplifying how it works.
2019-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-23Cleanup: use function instead of extern variableCampbell Barton
Quiet undeclared variable warning.
2019-02-21UI: better widget drawing with thick line width.Harley Acheson
When the line width was larger than the UI scale, there was not enough space for thicker widget outlines to draw properly. Now widgets are made a little larger to accommodate the thicker outlines. Differential Revision: https://developer.blender.org/D4368
2019-02-21UI: improve corner splitting feedback by showing custom cursors.Harley Acheson
* Two cursors for horizontal and vertical split. * Four cursors for each join direction. * One cursor to indicate when splitting is not possible. Differential Revision: https://developer.blender.org/D4264
2019-02-20Fix File > Save not showing red highlight when saving over existing files.Brecht Van Lommel
Don't disable the save over popup through the keymap, just remove it entirely from the code so that the file browser interprets the property correctly.
2019-02-20Cleanup: rename keymap handler callbacks for clarityCampbell Barton
Now there are two callbacks, the name 'keymap_callback' is too vague.