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-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!
2017-01-31Cleanup: use 'cb_flag', not 'cd_flag' for library_query callbacks.Bastien Montagne
`cd_flag` tends to be used for CustomData flags in mesh area, while for library_query those are rather callback flags...
2017-01-31Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`Bastien Montagne
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
2017-01-31Optimization: pass Main to BKE_library_foreach_ID_link() and use its relations.Bastien Montagne
Use Main->relations in BKE_library_foreach_ID_link(), when possible (i.e. IDWALK_READONLY is set), and if the data is available of course. This is quite minor optimization, no sensible improvements are expected, but does not hurt either to avoid potentially tens of looping over e.g. objects constraints and modifiers, or heap of drivers...
2017-01-31Fix missing non-ID nodetrees in ID relationships built from library_query.cBastien Montagne
This shall fix both existing code (bpy mapping, and local/lib usages checks), and new Main->relations generation.
2017-01-24Use new manual URLAaron Carlisle
2017-01-02Fix T49861: Interlace stereo is broken in 2.78Dalai Felinto
This is a regression introduced in rB5bd9e832 It looks more like a hack than a proper fix, but the shader logic changed a lot for blender2.8, so I would rather do the elegant fix there, while leaving master working. If we ever do a 2.78b (or 2.79) this should get in.
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-11-15Cleanup: More explicit parenthesesSergey Sharybin
2016-11-15Implement grouped undo option for operatorsDalai Felinto
This option makes an operator to not push a task to the undo stack if the previous stored elemen is the same operator or part of the same undo group. The main usage is for animation, so you can change frames to inspect the poses, and revert the previous pose without having to roll back tons of "change frame" operator, or even see the undo stack full. This complements rB13ee9b8e Design with help by Sergey Sharybin. Reviewers: sergey, mont29 Reviewed By: mont29, sergey Subscribers: pyc0d3r, hjalti, Severin, lowercase, brecht, monio, aligorith, hadrien, jbakker Differential Revision: https://developer.blender.org/D2330
2016-11-01Fix T49856: Blender 2.78 crashes after loading data from a blendfileBastien Montagne
Issue here was that py API code was keeping references (pointers) to the liniked data-blocks, which can actually be duplicated and then deleted during the 'make local' process... Would have like to find a better way than passing optional GHash to get the oldid->newid mapping, but could not think of a better idea.
2016-10-26Cleanup: rename functions in BLI_bitmap_draw_2dCampbell Barton
2016-10-26Cleanup: move bitmap drawing into its own moduleCampbell Barton
Bitmap drawing is out-of-scope for a general math API, move to BLI_bitmap_draw_2d.
2016-10-16Fix T49746: crash loading user preferences with missing operators.Brecht Van Lommel
2016-10-12Fix T49631: radial control operators not using DPI properly.Brecht Van Lommel
2016-10-03Fix memory leak caused by unknown opeartor of keymap itemJulian Eisel
2016-09-26Cleanup: stereo windowmanager codeDalai Felinto
This will make the changes in blender2.8 branch simpler
2016-09-19UI Messages: Consistent spelling of term "data-block"Julian Eisel
Was using a bunch of different spellings, mostly "data-block" though, so went with that one (would have been my #1 choice anyway ;) )
2016-09-15Use temp .blend file copybuffer for pose copy-pasteSergey Sharybin
Uses similar way of storing temp data as object copy paste, just uses different read entrypoint which does not modify current bmain. This gives ability to easily copy-paste poses from one blender to another one. Hopefully doesn't introduce user-measurable differences. Request from Peer here in the studio. Reviewers: mont29 Reviewed By: mont29 Subscribers: hjalti, fsiddi Differential Revision: https://developer.blender.org/D2229