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
2017-09-04Fix T52396: Crash loading template w/o config dirCampbell Barton
2017-08-17Blender 2.79: We are entering RC2 stageSergey Sharybin
2017-08-17Fix T52278: 'Default' application template failsCampbell Barton
Own error in 7398b3b7
2017-08-17DPI: add back option to control line width, tweak default width.Brecht Van Lommel
Adds thin/default/thick modes to add -1/0/1 to the auto detected line width, while leaving the overall UI scale unchanged. Also tweaks the default line width threshold, so thicker lines start from slightly high UI scales. Differential Revision: https://developer.blender.org/D2778
2017-07-29Property path generation fixesAleksandr Zinovev
2017-07-28WM: OP_IS_INVOKE was being incorrectly setCampbell Barton
Calling an operator with EXEC_* context would still set the invoke flag.
2017-07-18Cleanup: use WM_event prefix for modal_tweak_exitCampbell Barton
2017-07-18WM: move WM_event_is_last_mousemove to the WM APICampbell Barton
2017-07-17Work around small DPI resulting in blurry fonts, clamping auto DPI to ↵Brecht Van Lommel
minimum 96. Since we added auto DPI on Linux, on some systems the UI draws smaller than before due to the monitor reporting DPI values like 88. Blender font drawing gives quite blurry results for such slightly smaller DPI, apparently because the builtin font isn't really designed for such small font sizes. As a workaround this clamps the auto DPI to minimum 96, since the main case we are interested in supporting is high DPI displays anyway. Differential Revision: https://developer.blender.org/D2740
2017-07-10Error in last commitCampbell Barton
2017-07-10Fix T51998: Anim player uses 100% CPUCampbell Barton
The loop running with no events didn't sleep. Now wait for events when paused.
2017-07-08Fix build after previous commit.Brecht Van Lommel
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-26Fix T51902: Severe problem with relocating linked libraries when using proxies.Bastien Montagne
Fix is a bit ugly, but cannot think of another solution for now, at least this **should** not break anything else. And now I go find myself a very remote, high and lonely mountain, climb to its top, roar "I hate proxies!" a few times, and relax hearing the echos...
2017-06-24Fix T50856: crash when minimizing window on AMD / Windows.Brecht Van Lommel
2017-06-14Remove unused bmain argument from BKE_libblock_free_dataSergey Sharybin
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-20Fix T51248: user preferences window size not adapted to DPI.Brecht Van Lommel
2017-04-13Datablock ID PropertiesAlexander Romanov
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks. This functionality is implemented for `PointerProperty` and now such properties can be created with Python. In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch. Original author: @artfunkel Alexander (Blend4Web Team) Reviewers: brecht, artfunkel, mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: jta, sergey, campbellbarton, wisaac, poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne Maniphest Tasks: T37754 Differential Revision: https://developer.blender.org/D113
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-30Redraw parent popup when the child popup is closedraa
2017-03-29Fix crash closing window in background modeCampbell Barton
2017-03-29Option to load startup file with empty-dataCampbell Barton
Useful for batch conversion and tests.
2017-03-29Fix memory leak re-registering operatorsCampbell Barton
Re-registering an operator used by the keymap would lead memory. Reload scripts for eg leaked over ~1600 blocks.
2017-03-28Correct splash size checkCampbell Barton
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-25Automatic DPI for all platforms, per monitor DPI for Windows.Wouter
For Windows 8.1 and X11 (Linux, BSD) now use the DPI specified by the operating system, which previously only worked on macOS. For Windows this is handled per monitor, for X11 this is based on Xft.dpi or xrandr --dpi. This should result in appropriate font and button sizes by default in most cases. The UI has been simplified to a single UI Scale factor relative to the automatic DPI, instead of two DPI and Virtual Pixel Size settings. There is forward and backwards compatibility for existing user preferences. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D2539
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/optimization: Simplify some usages of uiItemFullO/_ptr, avoid ↵Bastien Montagne
multiple search of same op.
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-16Support passing in UserDef for free functionCampbell Barton
Needed so we can load and free non-global user preferences.
2017-03-15Comments: wmOperator.cancel & modalCampbell 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: free operators when repeatingCampbell Barton
Needed since the active operator isn't ensured to be the last.
2017-03-14WM: add Operator.is_repeat() check for C & PyCampbell Barton
This addresses an issue raised by D2453 - that there was no way to check if operators are run multiple times in a row. Actions are still ignored that don't cause an UNDO event.
2017-03-14WM: store operators with undo flagCampbell Barton
This is needed so we can tell if operators are executed repeatedly.
2017-03-14WM: Option to load startup w/o closing the splashCampbell Barton
Not user visible, needed for switching templates.
2017-03-12UI: Always open enum-search popups with empty search stringJulian Eisel
It might be useful to keep the search string stored in some cases, but in most it's not useful but confusing. Especially if the string is taken from a menu showing a different enum.
2017-03-06Multi-View: Map cursor coordinates to visual coordinatesJulian Eisel
When rendering multi-view in side-by-side or top-bottom mode, we squash the UI to half of its size and draw it twice on screen. That means the cursor coordinates used for UI interaction don't match what's visible on screen. This commit is a little event system hack (tm) to fix this. It has some small glitches with cursor grabbing, but nothing to bad. We'll also use it for viewport HMD support. D1350, thanks for the feedback @dfelinto!
2017-02-24Fix T50676: Crash on closing while frameserver rendering.Bastien Montagne
Can't see any reason to call AUD exit early in WM_exit, that's a low-level module that has no dependency on anything else in Blender, but is dependency of some other parts of Blender, so it should rather be exited late in the process!