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-07-30Cleanup: replace unused return defines with boolCampbell Barton
2019-07-25Fix app-template keymap being ignoredCampbell Barton
2019-07-23Fix T67334: Blender does not exit after savingJacques Lucke
2019-07-18Cleanup: remove redundant preference checkCampbell Barton
Missing from f2df5206987f6, harmless but confusing to leave in checks for preferences having asked to skip them.
2019-07-17UI: remove button to enable auto-save after load factory preferencesCampbell Barton
Based on feedback from T66675, the current interface is confusing, leading to users accidentally overwriting their preferences. Now, once factory settings are loaded preferences are not saved and the save button is shown (as when auto-save is disabled). Tool tips note that factory settings require manual saving afterwards. Also rename preference menu items for better consistency (settings/state -> preferences).
2019-07-12Preferences: disable reading preferences for regular file loadingCampbell Barton
Although the Auto-Run Python Scripts flag isn't used, this is still a security risk since exclude paths list is. Further this isn't what users would expect when loading a file & only some preferences were being loaded so it's not useful.
2019-07-11Fix T66628: "Auto Saved Modified Image" not workingJacques Lucke
Reviewer: brecht
2019-07-07Cleanup: use BKE_packedfile prefix for function namesCampbell Barton
Avoid ambiguity with terms check & compare.
2019-06-19Fix T65902: save all modified images should not try to save .psd filesBrecht Van Lommel
We can't save these without data loss, so don't try to do this.
2019-06-12WM: re-enable auto-save after loading the users preferencesCampbell Barton
Minor change, only apples when loading factory settings, then reverting to saved.
2019-06-12UI: alternate fix for T65702, handling of auto-saving userprefsCampbell Barton
The behavior for loading factory settings wasn't clear for users. This commit changes the behavior: - Loading factory settings always disables auto-save for the current session. - The internal setting to skip saving on exit is now exposed in the preferences (when enabled). - The menu item "Load Factory Settings (Temporary)" has been removed since it's always temporary. This way users can always reset factory settings without having to consider the combination of options that might cause their preferences to be overwritten at exit. If they want to enable auto-save for the current session this can be done from the preferences.
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-06-11Fix T65702: Load factory erases setting without confirmationCampbell Barton
It could be argued this was correct behavior, since auto-save defaults to 'on' nevertheless, auto-saving settings once the user has disabled auto-save can lead to accidents. Don't reset the preferences flag when resetting preferences.
2019-06-06Fix T63035: Undoing in pose mode destroys the entire poseSergey Sharybin
Respect do_time flag in on_visible_update, matching behavior of old dependency graph and avoids unwanted animation updates. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5026
2019-06-04Fix T65303: fix and improve autorun-scripts popupJacques Lucke
Now, the file does not have to be reloaded in all cases. Instead, just scripts are enabled and all depsgraphs freed. Reviewers: brecht Differential Revision: https://developer.blender.org/D5000
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Fix T63981: Factory default memory cache limit is 4096 MBSergey Sharybin
The initialization of default settings and cache limit and audio.
2019-05-24Fix failing assert on factory settings loadJulian Eisel
Loading factory preferences from the preferences window and triggering a redraw then would cause the failing assert. We shouldn't mess with window-manager data when loading preferences only.
2019-05-22Preferences: add handler for loading factory preferencesCampbell Barton
Allows app-templates to define their own adjustments to preferences. This matches `load_factory_startup_post`, use when loading preferences.
2019-05-22WM: call wm_file_read_post after resetting preferencesCampbell Barton
Also avoid diverging code paths for loading startup & preferences.
2019-05-21Fix part of T64679: Missing dirty preferences tagCampbell Barton
- Editing shortcuts. - Editing walk mode navigation. - Adding/removing paths.
2019-05-21Viewport: MSAA support during ViewportRenderingJeroen Bakker
When rendering viewport to an offscreen buffer the buffer was constructed for non anti aliasing (0 samples). This made the objects that are drawn by the `object_mode` including `wireframe` draw type non-anti-aliased. The offscreen buffers will be constructed based on the user setting for viewport multisampling (`U.ogl_multisamples`). The same setting will also be used when previewing scene strips in the sequencer. For now this only improves wireframe drawing in the scene strips. To improve the Anti aliasing in the scene strips we need to get finer control in the draw manager. This will be part of a different patch I am preparing. Please note that this patch also cleansup some unused code in the offscreen rendering (FSAA code was still existing, but never called) Reviewed By: brecht Maniphest Tasks: T64849 Differential Revision: https://developer.blender.org/D4907
2019-05-20Fix T64776: Multiple close file dialogsJacques Lucke
2019-05-20Cleanup: add wm_utils.c for generic functionsCampbell Barton
2019-05-19Cleanup: use wm prefix for GenericCallbackCampbell Barton
Without this it's not clear what kinds of data this deals with.
2019-05-18macOS/Linux: use more standard button layout in quit dialogBrecht Van Lommel
Ref D3118. This matches macOS and GNOME.
2019-05-18Windows: use more standard button layout in quit dialogBrecht Van Lommel
macOS and Linux remain the same as before. Ref D3118.
2019-05-17UI: Small tweaks to the save dialog:William Reynish
- Add back info icon at the top. - Remove icons from the buttons. None of the OS's we support use icons here - Remove button align. It doesn't work well with the active default highlighting - Center-align the text inside the buttons To make this look even nicer, we should add more padding all around the edges, but that could be done separately.
2019-05-17UI: Use correct icon for saving in the close dialog.William Reynish
2019-05-17UI: File Close DialogJacques Lucke
This adds a new dialog that is shown whenever a file is closed. So, either when a new file is opened, or when Blender quits. The dialog allows to save unsaved changes. Furthermore it also allows saving images that have been modified in Blender, but are not saved yet. Known limitations: * Images that have no file path and have not been packed before, are not saved. * On MacOS the old dialog is shown when Blender quits. Reviewers: brecht, billreynish Differential Revision: https://developer.blender.org/D4860
2019-05-16Fix T64642: Reset to default preferences glitchCampbell Barton
2019-05-15UI: adjust preferences save/revert button layoutCampbell Barton
Also add description for factory preferences.
2019-05-14Interface: Free argument callback for popupsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4858
2019-05-14UI: Confirm dialog when closing an unsaved fileJacques Lucke
The complexity in this patch comes from the fact that the current operator system does not support multi-step user interactions well. More specifically, for this to work, we need to show a confirm dialog and a file browser afterwards. We decided that it is easier to keep everything in a single operator, instead of creating separate operators that invoke each other. So, now the `WM_OT_open_mainfile` operator invokes itself in different states. It implements a simple finite state machine to manage the states. The dialog itself is expected to be improved in a future commit. See D4829 for more details. Reviewers: brecht Differential Revision: https://developer.blender.org/D4829
2019-05-14Preferences: file menu item to temporarily load factory settingsCampbell Barton
It's common to load factory settings as a test without wanting to overwrite your own settings on exit.
2019-05-14Fix property update setting dirty flagCampbell Barton
2019-05-13Preferences: tag as dirty for add-ons & loading factory startupCampbell Barton
2019-05-13Preferences: support loading factory preferencesCampbell Barton
Previously it was only possible to load factory startup & preferences.
2019-05-13Prefernces: support loading last saved preferencesCampbell Barton
2019-05-10Cleanup: move preference saving logic into blendfile.cCampbell Barton
2019-04-30Sequencer: Scene Strip PerformanceJeroen Bakker
- Merged SEQ_OFSDRAW with V3D_OFSDRAW and define in the DNA_view3d_types: Due to this FSAA always kicked in making the rendering slow. - Removed `Texture Solid` and `DOF`. - Now when chosing Solid rendering the settings of the original scene is used. - Added a global override to use scene specific shading. In the Future we will need to enhanced this so user can change the settings. - Added support for LookDev. LookDev crashed as it needed the `evil_C` what was not set - LookDev mode will always show the scene + world lights. Reviewed By: brecht, fclem Maniphest Tasks: T62517 Differential Revision: https://developer.blender.org/D4738
2019-04-24UI: Simple confirm dialog when loading new fileJacques Lucke
I also had to make the "New" operator a submenu in the `File Context Menu`, so that you can still select the template. This partially solves T61599. Currently the confirm dialog is not shown when an already existing file is opened. Implementing that requires a bit more work and will be done in a separate patch. Reviewers: brecht Differential Revision: https://developer.blender.org/D4732
2019-04-24Refactor: Separate template selection from read_homefile operatorJacques Lucke
This is a first step towards T61599. This way the invoke function can be used for the confirm dialog in a separate patch. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D4723
2019-04-20Cleanup: comment line length (windowmanager)Campbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Avoid autosave name collisionsJacques Lucke
When the same .blend file was open in two instances of Blender, the autosaved files would overwrite each other. The solution is to put the pid into the filename. The exact pattern is the result of a discussion with @pablovazquez.
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-13Cleanup: style, use braces for the window managerCampbell Barton
2019-04-11Cleanup: commentsCampbell Barton
2019-04-04Fix T63000: Don't use original file name for autosaveJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4609