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-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-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-20User Preferences: Split out addon and keymap freeCampbell 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-16Support passing in UserDef for free functionCampbell Barton
Needed so we can load and free non-global user preferences.
2017-03-15Fix bug on Blender version stringDalai Felinto
Reported by Pablo Vazquez (venomgfx) over irc.
2017-03-15Move Blender version string handling to its own functionDalai Felinto
Planning to use this util function in 2.8 for doversioning (to communicate converted layers)
2017-02-06Fix 'public' global 'g_atexit' var in Blender.Bastien Montagne
No reason to not make this private to this file, and it gave conflict when using bpy as module and loading it in a GLib application (which also has a g_atexit var).
2016-09-19CacheFile: make sure SpinLock is destroyed when exiting Blender.Kévin Dietrich
Missed in rB62b1cdd6.
2016-06-24BKE_blender: Add own atexit functionsCampbell Barton
Runs before guarded-alloc leaks print.
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-03-07Fix crash loading some library blend filesCampbell Barton
Blend files with screen but no scene would crash.
2016-03-03Refactor BKE_copybuffer for general partial savingCampbell Barton
Move to re-usable BKE_blendfile_write_partial API
2016-03-03Cleanup: take Main argument for copyCampbell Barton
2016-02-15Cleanup: reorganize BKE ID tagging functions.Bastien Montagne
BKE_main_id_tag_/BKE_main_id_flag_ were horrible naming now that we split those into flags (for presistent one) and tags (for runtime ones). Got rid of previous 'tag_' functions behavior (those who were dedicated shortcuts to set/clear LIB_TAG_DOIT), so now '_tag_' functions affect tags, and '_flag_' functions affect flags.
2016-01-26Cleanup: minmac -> minmax & RE_render_ext namingCampbell Barton
Use more conventional API word-ordering for RE_render_ext
2016-01-11Support for copy/paste groupsCampbell Barton
Developer node, now bases are instanced by give_base_to_objects, needed for correct OB_FROMGROUP base-flag assignment.
2016-01-08Koro request: add 'active layer' and 'selected' options to view3D' paste ↵Bastien Montagne
operator. Those two are ON by default, since I think it's most common expected behavior (as with append/link ops).
2016-01-04added new "Fake User" option for appending objects, this sets a fake user on ↵Martin Felke
each newly appended item except Groups and Objects.
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-10-22Cleanup: remove script ID-typesCampbell Barton
Unused since 2.4x and unlikely to be reintroduced as ID-types.
2015-10-12Cleanup & rework of BLO_linking code.Bastien Montagne
This commits does mostly two things: * Get rid of bContext parameter: I can see no real good reason to pass such a high-level data to such low-level code... It also makes it more difficult to call when you do not have a context available. * Cleanup the instantiating part. Last point is the most risky - previous code was sometimes quite confusing and hard to follow, from tests nothing behaves differently in new code, but some hidden corner case may show up. Anyway, no change in behavior is expected from this commit, if it happens please file a bugreport!
2015-10-12Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, ↵Bastien Montagne
but only linking of datablocks!
2015-09-21Render: Free persistent image storage when loading new fileSergey Sharybin
2015-07-28Audaspace: use standalone library.Jörg Müller
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
2015-05-04Cleanup: naming for callback wrappersCampbell Barton
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-04-18Cleanup: use BLO_memfile prefixCampbell Barton
2015-04-15Fix crash loading file without scene in bg modeCampbell Barton
2015-04-13Fix T44350: View3D layer out of sync /w sceneCampbell Barton
2015-04-02Fix T44217: Crash when starting .blend without "Load UI" enabledJulian Eisel
Caused by changes in 31e26bb83b. This makes it fall back to the old method if we can't find a screen. Patch is actually by @LazyDodo with minor edits by me.
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-02-12Correct fix for T43424Campbell Barton
Would crash undoing adding a new scene in camera view.
2015-02-09Fix T43424: undo changes the active sceneCampbell Barton
Using different scenes with 2+ windows broke entirely using undo. Now keep track of the current windows scene in each undo-file, and ensure the undo-scene is on a visible window when undo is executed, switching the scene only when its not in a visible window.
2015-02-06cleanup: styleCampbell Barton
2015-01-19Cleanup: unused Global flags.Campbell Barton
2015-01-19Fix for security issue loading blend'sCampbell Barton
Auto-Execute option could be overridden by opening a startup.blend
2014-12-01Cleanup: more int->bool.Bastien Montagne
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-10-09Fix T42139, vertical noise stripe patterns in noise texture.Antony Riakiotakis
Two fixes here (only the second one is strictly needed to fix the issue, but both make the system better). First is introduction of a random generator array for use with threaded systems where each thread needs to access its own number generator. The random texture now uses this so it should not be influenced by other random generator reseedings of the main random generator like it did before. Second, I reshuffled the texture code to resample the upper bits of the random number first. According to Numerical Recipes, this is where the most variance can be found, so by sampling those we avoid correlation issues. Also, multiplying here is not ideal because if a pair of bits are zero, then the whole result will also be zero. Overall this is much more random (tm) than before, however result will also be brighter, since we now have less black spots. Tweaking the brightness/contrast should somewhat fix that, generally having the same result as before is not possible anyway if we are to really fix this. Also, seems like exposing procedural depth might be nice here since it influences the precision of the texture lookup.
2014-07-30BLI_path_utils: rename BLI_clean -> BLI_path_native_slashCampbell Barton
2014-07-23Cleanup: BKE_scene_set_name mixed G.main & bmain argCampbell Barton
2014-07-01Code cleanup: use scene variable rather then calling CTX_data_sceneCampbell Barton
2014-07-01Code cleanup: use enum for setup_app_dataCampbell Barton
2014-06-23T39690: Modifications to Blender's 'temp dir' system.Bastien Montagne
Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never automatically cleaned up, and can end being quite big when used by Blender, especially when we have to store per-process data (using getpid() in file names). To address this, this patch: * Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path), the other is a mkdtemp-generated sub-dir, specific to each Blender instance. * Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always reuse the same filename (quit.blend...) or generate small file (crash reports...). * Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option). * Erases temp sub-dir on quit or crash. To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows. Note that, as in current code, the 'recover render result' hack-feature that was possible with SaveBuffer option is still removed. A real renderresult cache feature will be added soon, though. Reviewers: campbellbarton, brecht, sergey Reviewed By: campbellbarton, sergey CC: sergey Differential Revision: https://developer.blender.org/D531
2014-06-13UI: Add back ability to select a custom interface fontCampbell Barton
2014-05-08Fix for crash when userprefs fails to read.Campbell Barton
2014-05-01Code cleanup: remove defines no longer needed on windowsCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).