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-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16Fix T63439: too many 3D viewport redraws due to fading scrollbars.Brecht Van Lommel
Only redraw the regions, not the entire editor.
2019-04-14Cleanup: fix compiler warnings.Brecht Van Lommel
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-09Cleanup: Use higher level functionSergey Sharybin
This kind of abstracts OpenGL details, and this is what is used in other areas as well.
2019-04-09Cleanup: spellingCampbell Barton
2019-04-09Image draw: Fix/workaround image corruption on drawSergey Sharybin
Was mainly visible with high-res image. Not entirely clear why it is only happening on macOS. While the entire function should be re-written to make float images displayed faster, still nice to fix the drawing. Reviewers: fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D4664
2019-04-09Cleanup: styleCampbell Barton
2019-04-05Interface: New region type 'Footer', used by text editorGeorge Vogiatzis
* It can be hidden by dragging it up/down. * It can be at the top or bottom, independent of the header. * It uses the color theme from the header. * It does not change its color, when the area becomes active. Currently, it is used in the text editor to display the file path. Differential Revision: https://developer.blender.org/D4601
2019-04-04Separation lines for Quad ViewHarley Acheson
Reviewers: brecht, billreynish, fclem Reviewed By: billreynish, fclem Differential Revision: https://developer.blender.org/D4633
2019-04-04Cleanup: styleCampbell Barton
2019-04-03UI: Fix odd behavior in region sizing, simplify codeGeorge Vogiatzis
* When resizing sidebars, don't collapse when the region becomes too big but instead clamp the region size to the available space. * Fix clicking the tab to expand sidebars no working if the sidebar is too wide to fit. Instead make it less wide so it does fit. * Fix incorrect limit on tool properties region height, for example in the file browser. Differential Revision: https://developer.blender.org/D4611
2019-04-01Fix T63169: 'Duplicate Current' entry in new workspace menu is not translated.Bastien Montagne
2019-03-24GPU: Remove unused and deprecated GPU_line_stipple()Clément Foucault
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-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-16Fix T62555 Viewport borders flicker when splitting said viewportClément Foucault
2019-03-14Fix T62425: topbar showing wrong buttons at some UI scales.Brecht Van Lommel
2019-03-14UI: disallow splitting of temporary screensCampbell Barton
D4510 by @harley
2019-03-14Fix T62526: Can't scroll redo panelCampbell Barton
2019-03-13Fix T62436: New added Torus won't appear in Local ViewCampbell Barton
Add Object.local_view_get/set Alternate fix which supports removing from local view & checking if an object is in local view. Also avoids redundant refresh. Matches 2.7x Object.layer_local_view capabilities more closely, without exposing the flag directly.
2019-03-12Context: add pose_objectCampbell Barton
Needed for UI scripts to detect mixed weight paint + pose mode.
2019-03-11Fix T60855: workspace duplicate does not preserve addons filters.Brecht Van Lommel
2019-03-09Merge branch 'blender2.7'Julian Eisel
Conflicts: intern/cycles/blender/addon/properties.py intern/cycles/device/opencl/opencl_split.cpp
2019-03-09Fix stashed full-screens returning to wrong layoutJulian Eisel
Steps to reproduce were: * Maximize area (Shift+Spacebar in 2.7, Ctrl+Spacebar in 2.8) * Open temp file browser (Ctrl+O) * Cancel file browser (Esc) - should return to previous full-screen * Press "Return to Previous" button The previously maximized area would turn into a file-browser. Note that the issue will still happen when opening old files saved while in maximized area full-screen.
2019-03-09Fix T57655: Crash opening 2.79 file saved with maximized areaJulian Eisel
During screen to workspace/workspace-layout conversion, the first layout of each workspace would be activated. For temporary full-screens, this used to be the full-screen layout (IIRC), apparently it's now the the layout to return to on "Back to Previous". So the 'previous' layout would be activated, not the full-screen one. When actually pressing "Back to Previous" now, the operator would first free the active layout (which it assumes to be the temp full-screen - wrongly in this case) and then try to activate the non-full-screen one, causing use-after-free.
2019-03-09Fix active workspace changes when deleting workspaceDalai Felinto
Tested for multi-window as well, which failed with the previous code even before we introduced ordered workspaces.
2019-03-09Fix crash when deleting workspaces too fastDalai Felinto
Delete workspaces via the menu was not refreshing the workspace tabs drawing. This way if you deleted the non-active workspace with the "e" shortcut from the workspace tab context menu and clicked on the workspace tabs again, it would crash. A few notes: * Deleting a non-active workspace is changing which workspace is then active, which is really strange. * Even when deleting the active workspace which workspace then becomes active seems random. * Using notifiers (ND_WORKSPACE_DELETE) to delete the workspace seems rather abusing notifiers in my humble opinion. This is not an important bugfix anyways, people probably would rarely run into this. I just ran into it while investigating another bug.
2019-03-08Cleanup: spellingCampbell Barton
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-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-23fix T59951: View all sequences does not take into account region overlapRichard Antalik
fix centering preview Reviewed by: Brecht Differential revision: https://developer.blender.org/D4388
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-21UI: increase corner splitting hit area to include screen edges.Harley Acheson
Differential Revision: https://developer.blender.org/D4242
2019-02-20WM: support dynamic keymap handlersCampbell Barton
Add getter callback support for 'WM_HANDLER_TYPE_KEYMAP' type handlers this is needed for key-maps which change based on the active tool. Replaces 'sneaky_handler' hack which temporarily inserted a handler.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-16Fix T61512: Crash switching workspace with fullscreen areaDalai Felinto
In this case we simply create a new screen area that copies the currently fullscreened area. Note: At the moment there is no indicative in the non-main window that we are in fullscreen. That happens because this information is part of the bar and we have no topbar in this window.
2019-02-13Fix T61487: quick favorites crash outside of open preferences windowPhilipp Oeser
2019-02-07Show all useful metadata fields in editorsSergey Sharybin
Is available when doing "View -> Show Metadata". Will draw all the fields which are not part of the stamp at the bottom of the image. Couple of hand-picked fields are ignored, since those are not very useful to be seen. Aimed to ease review of rendered shots. Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4316
2019-02-06Improvements and fixes to Cycles metadataSergey Sharybin
This is a request by the studio here to make it possible to see how many samples were used to render a specific shot or a frame. It is a bit more tricky than simply stamping number of samples from a scene since rendering is happening in multiple ranges of samples. This change makes it so Cycles saves configured number of samples for the specific view layer, and also stores start sample and number of samples when rendering only a subrange of all samples. The format used is "cycles.<view_layer_name>.><field>", which allows to have information about all layers in a multi-layer EXR file. Ideally we can store simplified "cycles.<field>" if we know that there is only one render layer in the file, but detecting this is somewhat tricky since Cycles operates on an evaluated scene which always have single view layer. The metadata is shown in the Metadata panels for clip, image and sequencer spaces. Example screenshot which shows the metadata: {F6527727} Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4311
2019-02-06Fix T61136: Header alignment preference has no effectCampbell Barton
Users expect this to apply to existing files, adjust this to apply on load, defaults to off.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.