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
path: root/source
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-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-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-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-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-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-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-10UI: allow to cancel editing of vector widgets with escape and RMBAlessio Monti di Sopra
Differential Revision: https://developer.blender.org/D4838
2019-05-10Fix T64399 Crash when trying to enter edit mode on instanced objectsClément Foucault
2019-05-10Fix T64420 Weight Paint colours not visibleClément Foucault
2019-05-10Fix T64284 Mirrored Instances have flipped normals/face orientationClément Foucault
It was a missing invert matrix update and also setting the OB_NEG_SCALE. This defeats the purpose of not computing it in the draw manager but this is more local and is have not a dramatic impact on performance.
2019-05-10Overlays: Use common_view_lib.glslClément Foucault
This removes ModelViewProjectionMatrix usage
2019-05-10Workbench: Use common_view_lib.glslClément Foucault
This removes ModelViewProjectionMatrix usage
2019-05-10GPencil: Use common_view_lib.glslClément Foucault
2019-05-10DRW: Remove ModelViewMatrix UsageClément Foucault
2019-05-10Eevee: Update matrices operations to not use combined matricesClément Foucault
2019-05-10Cleanup: DRW: Renaming of glsl utility macrosClément Foucault
2019-05-10Add ability to create a keyboard shortcut for more mode settings.Sebastian Parborg
This adds the ability to assign shortcuts to boolean settings and enums via the right click menu. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4808
2019-05-10Cleanup: split setup_app_data into two functionsCampbell Barton
Allows for skipping either preferences or data-blocks. Previously setup_app_data was used for both.
2019-05-10Preferences: write preferences on exitCampbell Barton
This avoids the issue where user added shortcuts or quick favourites are lost on exit.
2019-05-10Preferences: add is_dirty memberCampbell Barton
Tag preferences as dirty when changed (prepare for adding auto-save).