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-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Fix T60775: Stereo drawing in image editor broken (shows only right eye)Dalai Felinto
2019-01-24Fix T58502: scopes don't work in the image editorJacques Lucke
There were two problems: 1. The scopes were only updated when the "Scopes" category is active, but this category has been removed in Blender 2.8. 2. The scopes moved from the TOOLS to the UI region. However the update-code still searched for the "Scopes" category in the TOOLS region. Both problems are fixed with this commit: 1. Scopes have there own category again. 2. The update code is in the correct draw function now. Reviewers: brecht Differential Revision: https://developer.blender.org/D4245
2019-01-17GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensureClément Foucault
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-11WM: Use draw manager to draw UV image editor spacesClément Foucault
This is in order to use batch cache directly without using tricks like batch presets reseting the VAOs. Note: For now it also create a depth buffer for this area which is not needed. We could get rid of this to lower VRAM usage.
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-14Preferences: add option for header positionCampbell Barton
Sets the header position for newly created windows with few exceptions (preferences is always bottom, file-selector is always top).
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-05Color management: Cleanup, typosSergey Sharybin
2018-12-05UI: split UV editor out of the image spaceCampbell Barton
2018-12-03Fix T58636: repeat image in UV editor not working.Brecht Van Lommel
A little too much code got removed in fb24813.
2018-11-30Merge branch 'master' into blender2.8Campbell Barton
2018-11-30Cleanup: ensure '_END' macros end with a semicolonCampbell Barton
Missing these breaks auto-indent for editors that don't expand macros.
2018-11-12Fix T57527: GP draw takes events from gizmosCampbell Barton
Add keymap flag to the gizmo handler so events can be handled on the UI level and not get over-ridden by grease pencil.
2018-11-09Keymap: move builtin keymaps from C to PythonBrecht Van Lommel
This should be purely an implementation change, for end users there should be no functional difference. The entire key configuration is in one file with ~5000 lines of code. Mostly avoiding code duplication and preserve comments and utility functions from the C code. It's a bit long but for searching and editing it's also convenient to have it all in one file. Notes: - Actual keymap is shared by blender / blender_legacy and stored in `keymap_data/blender_default.py` This only generates JSON-like data to be passed into `keyconfig_import_from_data`, allowing other presets to load and manipulate the default keymap. - Each preset defines 'keyconfig_data' which can be shared between presets. - Some of the utility functions for generating keymap items still need to be ported over to Python. - Some keymap items can be made into loops (marked as TODO). See: D3907
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-01Fix T57553: Python operator popup size does not follow UI scale and DPI.Brecht Van Lommel
Make it the convention to multiply by scaling factor inside the function, so Python scripts that didn't add DPI scale start working correctly.
2018-10-19Image Space: make 'UV Edit' a separate modeCampbell Barton
This is needed for splitting UV into its own editor, see: T54744
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-10-04UV: support setting the cursor w/ non-cursor toolsCampbell Barton
2018-10-04Remove empty file added by accidentCampbell Barton
2018-10-04Tool System: add UV cursor & transform toolsCampbell Barton
Instead of showing the transform handles for all selections, move this functionality into a tool as done for the 3D view.
2018-10-04UI: use shared toolbar region callbacksCampbell Barton
Image toolbar now starts with a single column width and snaps to button increments.
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-26UI: switch shortcuts for pivot and orientation pie menus.Brecht Van Lommel
Pivot is now period key, orientation is comma key.
2018-09-26UI: use pie menu for snap, pivot and proportional editing.William Reynish
* Proportional pie menu at shift+O. * Snap pie menu at shift+S. * Pivot pie menu at comma. Previous comma, ctrl+comma, period and ctrl+period shortcuts for specific pivot types were removed. Ref T56881.
2018-09-10Cleanup: remove unused field argsCampbell Barton
2018-09-06Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-06Fix T56698: saving render result from compositing as EXR is empty.Brecht Van Lommel
2018-09-04Fix T56660: Use horizontal enums w/ image templateCampbell Barton
2018-09-03UI: reorganize render output and encoding panels for single columns.William Reynish
This will look a bit better once horizontal expanded enums work.
2018-08-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-15Fix image editor not vertically centering images with region overlap.Brecht Van Lommel
2018-08-10WM: drag and drop poll functions can now specify a custom tooltip.Brecht Van Lommel
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-07-26Merge branch 'master' into blender2.8Campbell Barton
2018-07-26WM: Add operator property poll callbackCampbell Barton
This allows operators to filter out properties from the auto-generated draw functions. Some custom draw functions can move to using this.
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-10Image: remove fields option for image sequencesCampbell Barton
Remove support for loading interlaced image sequences because its less common now to record interlaced video, the option to de-interlace video on load remains.
2018-07-10UI: tweak image menu layout to match file menu more.Brecht Van Lommel
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-04Workspaces: store view layer per main window, instead of per workspace.Brecht Van Lommel
It was a bit odd that the scene was stored per window but not the view layer. The reasoning was that you would use different view layers for different tasks. This is still possible, but it's more predictable to switch them both explicitly, and with child window support manually syncing the view layers between multiple windows is no longer needed as often.