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-05-13Cycles/Eevee: unified and improved texture image color space handlingBrecht Van Lommel
Cycles now uses the color space on the image datablock, and uses OpenColorIO to convert to scene linear as needed. Byte images do not take extra memory, they are compressed in scene linear + sRGB transfer function which in common cases is a no-op. Eevee and workbench were changed to work similar. Float images are stored as scene linear. Byte images are compressed as scene linear + sRGB and stored in a GL_SRGB8_ALPHA8 texture. From the GLSL shader side this means they are read as scene linear, simplifying the code and taking advantage of hardware support. Further, OpenGL image textures are now all stored with premultiplied alpha. Eevee texture sampling looks a little different now because interpolation happens premultiplied and in scene linear space. Overlays and grease pencil work in sRGB space so those now have an extra conversion to sRGB after reading from image textures. This is not particularly elegant but as long as engines use different conventions, one or the other needs to do conversion. This change breaks compatibility for cases where multiple image texture nodes were using the same image with different color space node settings. However it gives more predictable behavior for baking and texture painting if save, load and image editing operations have a single color space to handle. Differential Revision: https://developer.blender.org/D4807
2019-05-13Tests: disable DoF in Eevee tests for now, it adds blurring with default valuesBrecht Van Lommel
2019-05-13Depsgraph: Use for_render flag for curves from depsgraphSergey Sharybin
Fixes issue with Eevee always using viewport curve resolution.
2019-05-13Curve: Remove duplicated and confusing argumentSergey Sharybin
Curve function had two arguments: - for_render, which was originally supposed to be used to control whether viewport or render visibility for modifiers is to be used. - use_render_resolution, which sounds like it is supposed to control whether viewport or render resolution for curves is to be used. What is totally confusing is that those arguments were used interchangeably: sometimes use_render_resolution would control modifiers visibility. This commit makes it so there is one single argument for this. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4850
2019-05-13Preferences: set dirty when editing quick favourites menuCampbell Barton
2019-05-13UI: Don't display markers in driver editorJacques Lucke
2019-05-13Fix T64403: crash sampling coloring in texture paint modeBrecht Van Lommel
2019-05-13Fix T64041: Vertex Sharp not working.Bastien Montagne
Broken in rB0ac3d5f7db67 last year...
2019-05-13UI: rename Load Preferences to RevertCampbell Barton
2019-05-13Fix T64120: Dynamic Paint Doesn't Recalculate Normals with Smooth Shading.Bastien Montagne
For wome reason, tag to mark normals as needing recompute was commented out instead of updated to new system, during conversion of DynaPaint code for 2.8 new evaluation stack... Trivial fix.
2019-05-13RNA: disable undo on OperatorProperties and its subclasses.Alexander Gavrilov
Since these are temporary properties, changing them shouldn't cause undo pushes. There already is a flag to disable that, but since each operator inherits its own properties from the base, RNA define code also had to be changed to allow inheriting the flag.
2019-05-13Fix unintended autosaving of preferences in a few casesBrecht Van Lommel
* Dirty flag was not cleared on load * Navigating tabs should not cause save * Background mode should not autosave (for e.g. render farms and tests)
2019-05-13Python API: expose preferences.is_dirtyBrecht Van Lommel
2019-05-13cleanup: typo in commentPhilipp Oeser
2019-05-13Fix T64427: WITH_HEADLESS build optionCampbell Barton
2019-05-13Fix T64461: Sub-panels allow pinningCampbell Barton
2019-05-13UI: disable decorators for workspace buttonsCampbell Barton
2019-05-13Preferences: auto-save on exitCampbell Barton
Save modified preferences on exit by default, with the option to disable this.
2019-05-13Preferences: tag as dirty for add-ons & loading factory startupCampbell Barton
2019-05-13UI: add load preferences operators to headerCampbell Barton
Recent changes only included them in the side-bar.
2019-05-13Preferences: support loading factory preferencesCampbell Barton
Previously it was only possible to load factory startup & preferences.
2019-05-13Prefernces: support loading last saved preferencesCampbell Barton
2019-05-13readfile: support preferences without loading data-blocksCampbell Barton
Needed to support reading preferences without replacing blend file data.
2019-05-13Fix T64371Richard Antalik
Variable stripe_offs used without been initialized Reviewed by: brecht Differential Revision: https://developer.blender.org/D4845
2019-05-13Fix T64463: Visual Artifacts with ColorRampHarley Acheson
This patch fixes an issue with the ColorRamp overflowing its drawing bounds Differential Revision: https://developer.blender.org/D4843 Reviewed by Brecht Van Lommel
2019-05-12Industry Compat keymap: Fix gizmos overriding view manipulationWilliam Reynish
Previously, if the cursor was over a gizmo, you could not manipulate the view using Alt-key view manipulation This addresses T60984 for this keymap
2019-05-12UI: Reinstate icons in the Physics PropertiesWilliam Reynish
These were removed at a time when there were no modifier icons.
2019-05-12Industry Compat keymap: Add support for Grease Pencil Draw modeWilliam Reynish
- Fix Alt-key navigation (was conflicting with Alt-click to set straight lines) - Use consistent shortcuts for brush strength and size - Use direct shortcuts for switching tools
2019-05-12Industry Compat keymap: Fix midpoint snapping with the Knife toolWilliam Reynish
There was an issue blocking the the Add Cut step while holding Ctrl
2019-05-11Python API: expose more keyframing flags for use in keyframe_insert.Alexander Gavrilov
Expose REPLACE and CYCLE_AWARE, and add AVAILABLE for completeness. These flags are generic and safe to use, and necessary to match the behavior of certain UI options.
2019-05-11UI: Nudge Curve Editor Away from ScrollbarHarley Acheson
This patch increases left and right padding of the Curve Editor to avoid scrollbars Reviewed by Brecht Van Lommel
2019-05-11Fix T59627: missing COW update tags when joining armatures.Alexander Gavrilov
Objects that had constraints or drivers referring to the joined armatures weren't tagged, and thus evaluated copies ended up with old bad pointers.
2019-05-11Revert API change (hide_viewport > hide_instance)Dalai Felinto
The change was introduced on b1af68200159. We may still change the name functionality of this anyways - we are not really changing only the instancing visibility here at the moment. So there is no reason to break the API in the meantime. And in the future we can simply add a new API entry, leaving the old one to be slowly deprecated.
2019-05-11Fix (unreported) annoying UI assert for expanded enums.Bastien Montagne
All buttons will get their own block's `func` by default, this cannot be considered an error, do not assert in that case either. Fixes bunch of very annoying asserts e.g. when using FBX exporter...
2019-05-11DRW: Fix previous commitClément Foucault
PS: I hate my life
2019-05-11Fix T64464 App crashes when navigating between UV Editor and ViewportClément Foucault
2019-05-11Preferences: disable save-on exit until there is a revert buttonCampbell Barton
2019-05-11Fix error in recent is_dirty preferences flagCampbell Barton
Error in b95b6b796695a8b82 caused crash changing themes. Resolves T64444
2019-05-11GPencil: Apply FBO changes to AA macrosAntonioya
Apply same change done to fix the task T64373
2019-05-11Outliner Visibility UpdateDalai Felinto
See T61578 for discussions and mockups. Visibility Options ================== We are adding more granular control over restriction columns in the outliner, exposing "indirect only" and "holdout" as options, and change the way users enable/disable collections in a viewlayer. We also rename the object viewport restriction to hide instance. So the options we have are: Collection ---------- * Render Visibility * Instance Visibility * Selectable (View) Layer Collection ----------------------- * Enable * Holdout * Indirect Only * Viewport Shortcuts ========= Isolate Collection ------------------ * Ctr + click isolates the collection. It turns all its parents and children "visible", and all the other collections "invisible". If ALL the collections were already properly set, we re-set the collections to their default value. Set Collection Inside Collections and Objects --------------------------------------------- * Shift + click: Set/unset inside collections and objects. We only set objects values as well when we are in View Layer mode and (obviously) when the objects have a matching property. Icons ===== Little reminder that we will need better icons for holdout, indirect only, and probably instanced (nothing wrong with the current, but it differs from the proposal when it is turned off). Also, we need to decide where do we want the modifier/bones/... icons to be (in which column) and ideally make sure their icons match the ones we use for collections/objects. At the moment those are using the screen icon, which is not being used by collections. Reviewers: brecht, billrey Subscribers: pablovazquez Differential Revision: https://developer.blender.org/D4823
2019-05-11Fix T64137 Empty Images flickering graphics when "Auto Depth" is enabledClément Foucault
Also fix T64373 Grid intensity increases in Ortographic when use Circle Select in GPencil Edit mode
2019-05-11Tests: speed up render tests by running multiple in the same processBrecht Van Lommel
Blender startup time and shader compilation is a big factor when running hundreds of tests, so now all renders in the same ctest run in the same process. If a test crashes, the remaining tests in the same category will be marked as skipped. Benchmarked on a quad core with ctest -j8. cycles: 118.1s -> 94.3s eevee: 66.2s -> 29.2s workbench: 31.7s -> 8.6s
2019-05-11Tests: fix eevee and workbench using Cycles in a few testsBrecht Van Lommel
2019-05-11Cycles: add function to clear resumable chunkBrecht Van Lommel
2019-05-11Audaspace: porting changes from upstream.Jörg Müller
- Silence now has an optional sample rate parameter. - Fix: wrong length reported by modulator and superpose. - Minor formatting, include and documentation fixes.
2019-05-10Tests: Be more explicit about the required location of the tests folder.Ray Molenkamp
2019-05-10Cleanup: Use const qualifier for curve utilitiesSergey Sharybin
2019-05-10Cleanup: Remove unused functionsSergey Sharybin
2019-05-10Cleanup: Remove old deprecated DerivedMesh functionsSergey Sharybin
Were ifdef-ed for a long time.
2019-05-10Fix T64338: make snap menu in 2.7x keymap use regular instead of pie menuCarlo Andreacchio
Differential Revision: https://developer.blender.org/D4835