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-02-06Cleanup: Remove deprecated ghosting codeJacques Lucke
Most of this code is deprecated for many years already and does not work at all in Blender 2.8. Reviewers: brecht, aligorith Differential Revision: https://developer.blender.org/D4271
2019-02-06Fix T61136: Header alignment preference has no effectCampbell Barton
Users expect this to apply to existing files, adjust this to apply on load, defaults to off.
2019-02-06Cleanup: remove unused toolbox delay preferencesCampbell Barton
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Fix new EEVEE bloom / motion blur defaults not being applied to startup.blend.Brecht Van Lommel
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04Fix T61172: Crash in texture paint undo/redoCampbell Barton
Mixing texture paint undo w/ memfile undo was crashing. The gputextures and render result are written to the FileData.imamap but weren't read back.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: match logic for merging G.f & G.fileflags on loadCampbell Barton
2019-02-01Color management: change view transform for color pickers and display modes.Brecht Van Lommel
* Use simple default view transform for color pickers, as Filmic does not work well for all types of colors. We better handle this with an option and tagging of colors as emissive or albedo like. * For solid/workbench we also no longer use Filmic, as there is not enough contrast and it's not really needed since this is not physically based lighting. * For lookdev always take into account the view transform and look. Other view settings like exposure are only taken into account if scene lighting is used, since these are often dependent on scene light intensity. Fixes T61022, T57649, T59363.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Depsgraph: remove features incompatible with new system.Brecht Van Lommel
Some features are incompatible with multithreading and reliable evaluation of dependencies. We are now removing them as part of a bigger cleanup to fix bugs in keyframing and invalid animation evaluations. * Dupliframes have been removed. This was a hack added before there were more powerful features like the array modifier. * Slow parent has been removed, never worked in 2.8. It was always unreliable for use in production due to depending on whatever frame was previously evaluated, which was not always the previous frame. * Particle instanced objects used to have their transform evaluated at the particle time. Now it always gets the current time transform. * Boids can no longer do predictive avoidance of force field objects, but still for other particles. Differential Revision: https://developer.blender.org/D4274
2019-01-30Fix T60378: All armatures reset positions on linked collection when ctrl+z ↵Bastien Montagne
used on anything. Issue actually exists since ages, probably 2.7x update system forced all armature proxies to be fully refreshed after an undo? In any case, proxy_from should only be reset for 'local' proxies (i.e. directly linked datablocks), not for linked proxies...
2019-01-30Versioning: add renaming utility functionCampbell Barton
Avoids accidents creating duplicate names. Also ensure screens are sorted on rename.
2019-01-29Workbench: Make Material transparency part of the rgba color pickerClément Foucault
It is only used for solid mode for now but could be used by eevee in the future.
2019-01-29Fix duplicate brushes from recent startup filesCampbell Barton
Default versioning caused duplicates when the startup was re-saved. See c305759762aa3
2019-01-29Fix duplicate brushes being added to startupCampbell Barton
All builtin templates have this brush.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Fix T60783: (Certain) shapekeys stopped working in 2.8.Bastien Montagne
This commit adds another optional check (when `--debug-io` is set) on write .blend process, to check and ensure all shape keys have their 'from' pointer properly set to their respective user ID. This is intended to be used as debuging tool mostly (to try to detect when/why some of those pointers can become NULL). For now, it also systematically perform same checks/fixes when loading a .blend file, to fix all broken ones laying around. Later we might move that usage to a do_version instead, but for now think it's safer to always perfom it (and it's rather cheap process anyway).
2019-01-25Cleanup: BLO: move validate code into own header.Bastien Montagne
Does not make sense to keep that with BLO_writefile.h, this can also be used by read code, and some other parts of Blender (like ed_undo.c currently)...
2019-01-25Fix T60204: Crash when opening a FileSergey Sharybin
Missing code from 3d083f37. Need to ensure that ID properties are properly allocated and restored on read.
2019-01-22Defaults: don't use Filmic view transform in Video Editing template.Brecht Van Lommel
It's too slow for now, could be considered if it's optimized more.
2019-01-213D View: add back initial clipping supportCampbell Barton
Use clipping for workbench solid mode drawing. Other modes & shading support still needs to be added.
2019-01-21Cleanup: trailing spaceCampbell Barton
2019-01-183D View: Disable clipping on loadCampbell Barton
Having clipping limit selection and tools is confusing when not visible. Disable on load until it's supported (doing this via ifdef's isn't practical). Fixes T59580
2019-01-17Physically based defaults for Eevee Bloom and ShutterClément Foucault
Some of Eevee's Bloom defaults are not very good for physically based rendering. This patches addresses this issue. This picture shows one of the problems with current default. Bloom looks very foggy: {F6280495} Even worse, light emitters much dimmer than the Sun can make everything equally hazy if Clamp is set to 1.0 and intensity to 0.8 (current default). Artists often forget to adjust Clamp value and do not know what value to use for realistic intensity. Also, currently both Clamp and Intensity do not have good UI ranges. This is why often Eevee renders end up very hazy and bloom often does not look right. Bloom effect plays important role to help to distinguish between bright and relatively dim light sources. With current defaults this is broken because Clamp set to 1.0. Also, it cannot be disabled if set to 0 like expected. This patch fixes this and sets it to 0 by default. If users need to clamp, they can do so easily with UI range up to 1000. This range is good enough for most cases and provides enough precision to control lower values, and the highest value helps to limit bloom from the Sun if necessary and will leave untouched most other light emitters. If needed, much higher values for Clamp can be entered manually up to 100000. 10000 is still affects the Sun, but up to 100000 highest limit allows to clamp anything that is much brighter than the Sun if user needs to limit bloom in such cases (for example, bright explosion in the sky or anything else very bright). I propose new default for bloom Intensity - 0.05 and UI range to suggests realistic values. Bloom Intensity > 0.1 is not realistic for clean lens but the user can enter manually much larger values if needed. For comparison, here is a my own photo with and without bloom caused by the Sun (on second photo the Sun was occluded with an object). {F6280500} {F6280492} In real life bloom is much more subtle and does not look hazy. If Clamp is disabled, then out of 0.1, 0.05 and 0.025 values I have tried, 0.05 looks most similar to the photo. Here is test render with and without bloom with the Sun in similar position like on the photo: {F6280496} {F6280494} Using color probe 27x27 I compared lightness below the horizon under the Sun. In rendered by Eevee images lightness difference was 17. In case of the photos lightness difference in similar place was 11. I then compared leftmost spot (also below the horizon) and lightness difference was approximately 2 between two photos and 1 between rendered images. In other words, with these settings bloom effect is not too strong and is not too weak. Visually it may seem like decreasing bloom intensity may increase photorealism, but then bloom effect would be too localized even for the Sun. Besides this single test, I tested in many other scenes as well, with and without the Sun, with different HDRIs, and as far as I can tell 0.05 intensity turned out to be good default - it produces bloom strong enough to be noticeable and not too hazy. In Cycles shutter default value is 0.50, so for consistency set to 0.5 by default in Eevee too. Besides, 0.5 is typical standard for real cameras, and values higher than 0.5 usually are needed only if very strong motion blur is desired. Here is summary of all changes: Bloom Intensity: 0.8 > 0.05 Bloom Intensity UI range: 0-10 > 0-0.1 Bloom Clamp: 1.0 > 0.0 (disabled by default) Bloom Clamp manual range: 0-1000 > 0-100000 Bloom Clamp UI range: 0-10 > 0-1000 Shutter: 1.0 > 0.5 This patch is related to the discussion in this thread, there are more examples of what bloom will look like with 0.05 intensity by me and others: https://devtalk.blender.org/t/eevee-needs-to-have-physically-based-defaults/4700 Reviewers: fclem Reviewed By: fclem Subscribers: pablovazquez, billreynish, rboxman Tags: #eevee Differential Revision: https://developer.blender.org/D4212
2019-01-17Preferences: add new Viewport, Animation, Navigation, Save & Load sections.Brecht Van Lommel
This further changes the preferences organization, to avoid grouping unrelated settings together. With more sections we can also expand more panels by default, making it possible to quickly go through sections and see the settings of each. Panels with less used settings are still collapsed by default, to keep all panel headers visible without scrolling. Differential Revision: https://developer.blender.org/D4216
2019-01-17Revert "Preferences: enable interface translation by default, not just ↵Brecht Van Lommel
tooltips." This reverts commit c1762b1a085246a29f532b24463a236f347b7dd1, as this was intentional since interface translations are often incomplete or use unusual terms.
2019-01-16Cleanup: get rid of -666 debug value.Bastien Montagne
That one was used to allow specifying in system console a new path for missing libraries, when loading a .blend file. We now have a much more easy and user-friendly way of repairing missing linked datablocks/libraries, so this is not needed anymore.
2019-01-16Preferences: enable interface translation by default, not just tooltips.Brecht Van Lommel
Translation as a whole is still disabled by default as before.
2019-01-16Fix broken weight painting colorband in default preferences.Brecht Van Lommel
2019-01-16Preferences: remove unnecessary 16 bit textures preference.Brecht Van Lommel
This is a leftover from a time when these were not supported on all GPUs.
2019-01-16Multires: Prepare for cached topologySergey Sharybin
Note that the actual caching is still disabled, since more tests is needed with more production-looking files.
2019-01-16Subdiv: Initial implementation of topology cacheSergey Sharybin
This commit makes it so OpenSubdiv's topology refiner is kept in memory and reused for until topology changes. There are the following modifications which causes topology refiner to become invalid: - Change in a mesh topology (for example, vertices, edges, and faces connectivity). - Change in UV islands (adding new islands, merging them and so on), - Change in UV smoothing options. - Change in creases. - Change in Catmull-Clark / Simple subdivisions. The following limitations are known: - CPU evaluator is not yet cached. - UV islands topology is not checked. The UV limitation is currently a stopper for making this cache enabled by default.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.Bastien Montagne
2019-01-143D View: don't override animation template view colorCampbell Barton
D4198 by @charlie w/ edits.
2019-01-14Add font selection to VSE text stripsRichard Antalik
Allows users to select a font for text strips in the video sequence editor. Related: 3610f1fc43d0 Sequencer: refactor clipboard copy to no longer increase user count. Reviewed by: Brecht Differential Revision: https://developer.blender.org/D3621
2019-01-11GP: New Cutter, Constraints and Segment selectionAntonioya
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy. The commit includes: - New Cutter tool to trim strokes and help cleaning up drawings. - New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help! - Segment selection mode to select strokes between intersections. - New operator to change strokes cap mode. - New option to display only keyframed frames. This option is very important when fill strokes with color. - Multiple small fixes and tweaks. Thanks to @pepeland and @mendio for their ideas, tests, reviews and support. Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
2019-01-11Cleanup: avoid repetition versioning themeCampbell Barton
2019-01-11startup: view background color wasn't defaultCampbell Barton
2019-01-11Fix background color use in 3D viewCampbell Barton
TH_BACK was being used when drawing the 3D view even though there was no way to set the color in the preferences. The color was zero'd when moving to the new 2.8x theme. Having both gradient and background colors was confusing, especially having to use 'TH_HIGH_GRAD' for the 3D view, 'TH_BACK' for other views. Move the background color back to 'TH_BACK', 'TH_BACK_GRAD' is used when gradients are enabled. RNA is unchanged so presets don't need updating.
2019-01-11Cleanup: remove tabs after line startCampbell Barton
Allows expanding tabs before running clang-format.
2019-01-10UI: make pie menus stick only when tapping key.Justin Jones
When holding down the key for a while, the pie menu will disappear when releasing the key. This is under the assumption that in this case the user decided to cancel the action. Differential Revision: https://developer.blender.org/D4180
2019-01-09Avoid assert w/ recent sculpt changes on undoCampbell Barton
2019-01-09Object Mode: only toggle active object mode onceCampbell Barton
- When toggling a mode that doesn't support multi editing only do this once of the active object. - For sculpt mode create sculpt data since this is needed for activating other sculpt objects on reload.
2019-01-09Fix T60044: Sculpting brush is not visibleCampbell Barton
Same logic as fix from D4153, but only applied when running undo.
2019-01-08Revert "Fix T60044: Sculpting brush is not visible on file load"Dalai Felinto
This reverts commit 4d8ed937f226f4cdfa6f62fde5306b14c217e9c5. An alternative fix will come soon as a patch, since this introduced an issue. Rolling back since the original fix (sculpt cursor on load) is less important than the issue it introduced (crash on weight paint undo/redo). Fix T60322.
2019-01-06Fix T60213: crash loading .blend file with material override.Brecht Van Lommel