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-04-02Cleanup: move undo into it's own directoryCampbell Barton
Split out undo API from ED_util.h into ED_undo.h
2018-03-31Undo: unified undo system w/ linear historyCampbell Barton
- Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113
2018-03-26BLF: Don't use user preferencesSergey Sharybin
BLF is a low level module, which might (and is) used without Blender. Thanks Campbell for review!
2018-03-23Fix memory leaks when doing "Save & Quit"Julian Eisel
Steps to reproduce were: * Open Blender (no need for factory settings, "Promt Quit" needs to be enabled) * Edit the file (e.g. translate some object) * Quit Blender but don't skip quit promt * Press "Save & Quit" * Save the file Not sure if Windows supports the "Save & Quit" behavior, so this may not have applied to Windows.
2018-03-21UI: Optional prompt to quit for non win32 systemsCampbell Barton
D566 by @januz Use Blender native dialog when OS dialog's aren't supported.
2018-03-02Fix building w/o PythonCampbell Barton
Also minor cleanup.
2018-02-27Fix T54106: Save blend ignores 'check_existing'Campbell Barton
2018-02-19Cleanup: sync vertex-paint and sculpt from 2.8Campbell Barton
Sync API changes from 2.8 to master.
2017-12-11Fix T53528: Empty thumbnails in filebrowserSergey Sharybin
Bug in recent refactor.
2017-11-27Refactor view3d offscreen drawing to avoid having multiple boolean argumentsSergey Sharybin
This is fully unreadable to have lots of boolean arguments scattered across the whole argument list. What does `false, true, true` mean in terms of behavior? Replace those with bitfield which has advantage of having more human readable meaning.
2017-11-22Fix T53274: Saving template prefs overwrites default prefsCampbell Barton
2017-11-22WM: minor correction to user-pref writingCampbell Barton
When saving templates had wrong return value.
2017-11-19Cleanup: remove BKE_utildefinesCampbell Barton
This was meant to be used for less general macros but was never used. Rename BKE_BIT_TEST_SET to SET_FLAG_FROM_TEST
2017-08-23Fix T52396: Crash loading template w/o config dirCampbell Barton
2017-08-11WM: don't load preferences on 'File -> New'Campbell Barton
User preferences are now only loaded on... - Initial startup. - Factory-settings. - Setting app-templates.
2017-08-07Fix T52278: 'Default' application template failsCampbell Barton
Own error in 7398b3b7
2017-07-08Fix T51889: new file or load factory settings results in broken UI.Brecht Van Lommel
Fix some cases that still assumed there to be a global DPI, instead of a per window DPI that needs to be set before reading U.dpi.
2017-07-03Fix T51889: broken UI after File > New without a userpref.blend.Brecht Van Lommel
BLO_update_defaults_userpref_blend() was being run when no user preferences were loaded from memory.
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-04-25WM: don't search for app-template when its emptyCampbell Barton
Changing from a loaded app-template back to Default (none set) would scan paths for a file with no name. Harmless but silly.
2017-04-01Cleanup: styleCampbell Barton
2017-03-31WM: Previous commit broke common-case loading new fileCampbell Barton
Handle this in the operator
2017-03-31Keep current app-template when selecting 'New File'Campbell Barton
2017-03-29Option to load startup file with empty-dataCampbell Barton
Useful for batch conversion and tests.
2017-03-27CMake: WITH_PYTHON_SECURITY=OFF was ignoredCampbell Barton
Allow auto-execution to be enabled, also move this to user-prefs versioning code.
2017-03-25WM: Application TemplatesCampbell Barton
This adds the ability to switch between different application-configurations without interfering with Blender's normal operation. This commit doesn't include any templates, so its mostly to allow collaboration for the Blender 101 project and other custom configurations. Application templates can be installed & selected from the file menu. Other details: - The `bl_app_template_utils` module handles template activation (similar to `addon_utils`). - The `bl_app_override` module is a general module to assist scripts overriding parts of Blender in reversible way. See docs: https://docs.blender.org/manual/en/dev/advanced/app_templates.html See patch: D2565
2017-03-23Cleanup: remove redundant temp dir initCampbell Barton
This is already called by wm_init_userdef, in old code different initialization methods were used but now it's not needed. Confusing since prefs are loaded in this function that don't initialize temp.
2017-03-23Cleanup: minor wm_homefile_read simplificationCampbell Barton
Logic in this function is a bit scattered, minor changes to avoid confusion. Also rename 'from_memory' to 'use_factory_settings'.
2017-03-22Cleanup: ignore open-blend as startup/prefs basisCampbell Barton
No reason startup/prefs would ever be blend-file relative.
2017-03-20Correct unintended splash on loading startupCampbell Barton
2017-03-16Add support for loading preference structCampbell Barton
Previously it would always load into 'U' global. Needed for loading & merging template preferences.
2017-03-16Correct reading missing propertyCampbell Barton
2017-03-16Cleanup: differentiate startup/prefs in home-file readingCampbell Barton
2017-03-15Load user-preferences before startup fileCampbell Barton
Internal change needed for template support. Loading the user preferences first so it's possible for preferences to control startup behavior. In general it's useful to load preferences before data-files, so we know security settings for eg.
2017-03-14WM: Option to load startup w/o closing the splashCampbell Barton
Not user visible, needed for switching templates.
2016-11-18Minor debug-report tweak to autosave code.Bastien Montagne
Print in cosole a warning when we skip autosave due to runnning modal op. Related to T49974.
2016-07-15Fix py-driver in startup.blend crash in background modeCampbell Barton
Obscure regression in own commit from b34929786. While this could be considered correct, it introduces a crash so disable the update call.
2016-06-01Usual UI/i18n message cleanup (get rid of last remaining 'addon' too).Bastien Montagne
2016-04-26Fix (unreported) possible freed memory usage when reloading a .blend file.Bastien Montagne
Operator would call `WM_file_read()` directly whith G.main->name as filepath, which gets freed whith main during new reading of file... Now use a local copy instead.
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-04-19Cleanup: move operators & related code of files & append/link to relevant ↵Bastien Montagne
dedicated source files. This commit adds a new `wm_files_link.c` which contains everything related to append/link code, moved from `wm_operators.c` (rather small currently, but will expand quite a bit with future reload & asset works). It also moves all load/save .bland files (and related userpref/startup stuff) from `wm_operators.c` to `wm_files.c` (some helper funcs were already there). This also makes `wm_operators.c` significantly lighter.
2016-03-01Fix (unreported) crash when opening a file from splash screen when 'load UI' ↵Bastien Montagne
option is disabled. See rB935e241fa6ea095493 for details of the issue, but first fix caused regression T47632. So for now handling the issue in a localized way, this is not a real solution (since this could happen in other cases), but will do for 2.77. This commit is to be backported to 2.77.
2016-02-06Fix T47204: selection failing directly after disabling multisample in user ↵Brecht Van Lommel
prefs. Now store the multisample setting each window was created with.
2016-01-29Skip save-as history running from another OperatorCampbell Barton
So scripts can call Save-As without adjusting 'Recent Files'. Uses same logic and file reading,
2016-01-24Docs: minor edits to code commentsCampbell Barton
2016-01-17WM: remove unnecessary context argument from WM_report, no good reason to ↵Brecht Van Lommel
have it.
2015-12-31Cleanup: Py API namingCampbell Barton
Use BPY_execute_* prefix for all Python execution commands
2015-11-12Fix for factory settings loading without UICampbell Barton
When load-ui was disabled, resetting factory settings kept existing UI too.
2015-11-11OpenGL Render: Support full-sample Anti-AliasingCampbell Barton
This brings back old (slower), higher quality method. Useful since graphics cards often use a faster MSAA which only oversamples edges.
2015-11-11Cleanup: GL Render (simplify internal logic)Campbell Barton
Reduce code-paths so improvements to 3D view render apply to sequencer too.