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-06-25Fix T66096: Crash in Cycles versioningCampbell Barton
2019-06-21Revert "Particle system: Move runtime data to runtime field"Sergey Sharybin
This reverts commit 36faf739a71624b6ca10cec7233779f9eeace0bd. Somewhat annoying but this change had some unforeseen consequences, which lead to an actual bug. Since this change was not sufficient to get original report fixed is easier to simply revert for now. Fixes T65842: Hair disappears when clicking on particle system name
2019-06-21Fix T62876: Camera Background ImagesJeroen Bakker
Migrate old legacy code to the draw mamager/object mode. The old legacy version did not work with wireframe. By migrating the code to modern draw manager code we have mode control on the drawing process. Still background images do not work with OIT, the cause seems to be that the transparent pixels are treated as background pixels. Also There are some artifacts when working with Holdouts and DoF, this is because the draw engines do not pass the correct alpha values. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D4638
2019-06-17Fix T63706: crash in files with custom node trees that contain builtin nodesBrecht Van Lommel
Don't make assumptions about which nodes exist in which node trees when loading.
2019-06-17Fix T63867: image sequence not updating in Eevee animation renderBrecht Van Lommel
2019-06-17Cleanup: comment, RNA spellingCampbell Barton
2019-06-17Cleanup: comment spellingCampbell Barton
2019-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-06-13Fix T65445: wrong defaults when appending workspaces from builtin templatesBrecht Van Lommel
2019-06-13Defaults: refactor startup.blend code, more consistely apply to templatesBrecht Van Lommel
There were various changes only applied to specific builtin templates even though they should apply to all, since it's possible to do e.g. use grease pencil objects in the general template or use mesh sculpting in the grease pencil template. Also, nearly all changes now apply to builtin templates only. This was already the case for most, and the distinction seems to have been more by accident than intent.
2019-06-13Particle system: Move runtime data to runtime fieldSergey Sharybin
Allows it to be preserved during copy-on-write update when on-geometry related update is needed. This is a required part for T63537, where we need to preserve the entire evaluation data when object is tagged for only RECALC_COPY_ON_WRITE. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5023
2019-06-13Cleanup: correct wireframe xray flag nameCampbell Barton
Revert part of d56c0a0a6affcdfd7335c
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-07Remove Deform Delay armature optionSergey Sharybin
This option can not be supported by a new granular dependency graph, and, especially, copy-on-write. It was always doing full update ever since initial commit of new dependency graph which we are using here in the studio for the past years and lack of this option was never brought up. Fixes T65557: Delay refresh option in armatures is broken
2019-06-06Remove mutex lock from node localizationSergey Sharybin
There is no obvious threading-unsafe code in the localization. The main source of issues were the new_node/new_socket pointers which are no longer used during node tree duplication.
2019-06-05Sound: Port to a copy-on-write conceptSergey Sharybin
This change makes it so sound handles are created for evaluated scene, sequencer and speakers. This allows to have properly evaluated animation on them. For the viewport playback sound uses regular dependency graph. For the final render sound uses dependency graph created for render pipeline, which now also contains sequencer and sound datablocks. All the direct sound update calls are replaced with corresponding dependency graph recalc tag.
2019-06-04Fix T65486: Cycles f-stop value from old files not preservedBrecht Van Lommel
2019-06-04Fix T65054: Blender 2.80 crashes when opening a scene created by blender ↵Bastien Montagne
2.7x with hierarchy duplication set to "group". Regression introduced by rB7fe3d1e7d718 (fixing T57934). This effectively reverts rBrB7fe3d1e7d718, since changing the type of an object is a very bad idea in general, and would need a careful and complex check of all of its usages (many object usages assume a specific type of object...). Instead, we simply remove duplicollection on those objects, and give a warning in case dupligroup was effectively used (in many reported cases, dupligroup was a 'mistake setting', without actually instancing aniything). Note that the otehr idea to fix that versioning issue (to create a new empty object for the instancing) is much less easy than it might look (one would need to take into account potential animations, relations between objects, etc.). Doable probably, but way overkill for a corner-case 'bad' usage of the feature in the first place.
2019-05-31Fix Outliner: New collections are hiddenDalai Felinto
Users could change the master collection flags, but they should not. That would not effectively affect the master collection objects (depsgraph flag evaluation ignores master collection flags). However we use the layer collection flags of the parent collection when creating a new child collection. We *could* solve this differently by creating a new RNA type for the master collection (and layer collection) and hook this with rna refine. But this patch seems to work well enough and it is simpler. Reviewers: brecht Differential Revision: https://developer.blender.org/D4981
2019-05-31Fix T65308: edit studio light state stays active after restarting BlenderBrecht Van Lommel
This is only temporary for editing, should not be preserved.
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Fix missing file read/write of proxy/transform/crop settings when not usedBrecht Van Lommel
This was inconsistent with other data handling in Blender.
2019-05-31VSE: don't add crop and transform data for sound stripsRichard Antalik
This also fixes commit rB1fd7b380f4cf8a0489b405de2819f228a4da5ea2 which didn't do allocation for effect strips properly. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4970
2019-05-30WM: use different drag thresholds for mouse/tablet eventsCampbell Barton
Now a small threshold is used for mouse input, avoiding delay when gizmos are activated on drag. Tablet input threshold remains unchanged since it's easier to make small movements when using a tablet. A larger threshold for non-cursor input is now used (typically keyboard) which improves usability when the "Pie Menu on Drag" key-map preference.
2019-05-28Eevee: Change default shadowmap near clipping distanceClément Foucault
And also fix some RNA props defaults and ranges. Fix T64452 Shadows not appearing in eevee
2019-05-28Cleanup: use time scrub instead of scrubbingCampbell Barton
Renaming was only done to ED_time_scrub_ui.h, function names and struct members used term 'scrubbing' which is ambiguous.
2019-05-27Eevee: Fix Aliasing in Light ProbesAdam Nydahl
Differential Revision: https://developer.blender.org/D4869
2019-05-27blenloader: Fix warnings with MSVCRay Molenkamp
these macros are mostly used with size_t types, leading to msvc warning : warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
2019-05-27Cleanup: remove redundant assignmentCampbell Barton
2019-05-27Wireframe: Make wireframe's Xray slider default to 0Clément Foucault
This removes the dither patterns visible in wireframe mode. This does decrease de depth perception but many users complained about the visual noise it produces.
2019-05-24Fix T65081: sculpting workspace no longer has matcap by defaultBrecht Van Lommel
2019-05-24Viewport: Change default studiolightClément Foucault
Differential Revision: https://developer.blender.org/D4939
2019-05-24Edit Mesh: Change color behaviorClément Foucault
- Make edges darker in vert & face select mode (making more contrast to not loose the topology). Downside is less select edges visibility in vertex mode. But I'm confident that it's not as painfull as it seems. - Make select faces less saturated to have more color contrast between select faces and edges. - Make unselected faces white to increase contrast with faces and edges. The brightening is negligeable for bright surfaces and help readability on darker surfaces. Reminder that if the faces overlays are too distracting (i.e: uv mapping, or texturing) they can be toggled off in the overlay panel. Reviewers: billreynish, campbellbarton, brecht Reviewed By: billreynish, campbellbarton, brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D4941
2019-05-24Viewport: add more contrast to default studio light, make it default againBrecht Van Lommel
It's closer to the default matcap now, but slightly less metallic and dark. The reason to use studio lights as default is because the roughness and metallic parameters of the material then have an effect, and because Texture color mode does not work for matcaps.
2019-05-23VSE: remove lazy loading for strip crop and transformRichard Antalik
Lazy loading prevented showing values in UI. Now we just gray them out if not used.
2019-05-23Fix too dense timeline grid spacingBrecht Van Lommel
The default spacing changed when this started using the user preferences, this makes it work more similar to before that.
2019-05-23Cleanup: remove redundant separatorsCampbell Barton
2019-05-23Fix (unreported) broken collections after undo/redo, or remapping (leading ↵Bastien Montagne
to crashes). Those are two cases where keeping infamous backward `parents` pointers of collections in sync is kind of impossible to do... So rebuilding those relationships from scratch instead. Fixes e.g. a crash when undoing, then reloading a library, and likely many more weird ones like that. Uncovered while investigating T64764.
2019-05-23BKE Collection: Add new function to rebuild parent relationships.Bastien Montagne
It's not always possible to keep 'by hand' parent relationships valid in collections hierarchy. Add functions to remake those (re-using/factorizing code from `readfile.c` `lib_link_collection_data()` function). Can't stress again how painful it is to have those kind of backward relationships in our data structures, those *always* end up being serious issues to keep in sync... Should only be generated on the fly when needed, period. :(
2019-05-22Sequencer: ensure Strip is the default active panelBrecht Van Lommel
2019-05-22Fix T64981: background images do not come along with linked camerasBrecht Van Lommel
2019-05-20Camera: change default f-stop from 5.6 to 2.8Brecht Van Lommel
This gives a more noticeable effect by default. Also fixes startup.blend not having focus distance initialized correctly.
2019-05-20Color Management: update configuration, remove legacy transformsBrecht Van Lommel
* Replace Log view transform with Filmic Log. * Remove Rec.709, DCI-P3 displays that were incomplete and outdated. * Remove outdated RRT and Film transforms, replaced by Filmic. * Remove camera responsive curves that don't work with HDR colors. * Rename Default view transform to Standard. We're breaking compatibility now for 2.80, so that we can add future improvements on a clean config. Part of the code was contributed by George Vogiatzis in D4782. Differential Revision: https://developer.blender.org/D4900
2019-05-20Viewport: change default 3D viewport lighting from Studio to MatcapBrecht Van Lommel
2019-05-19Images: change alpha settings to support channel packingBrecht Van Lommel
This also replaces the Use Alpha setting. We now have these alpha modes: * Straight: store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. * Premultiplied: transparent RGB pixels are multiplied by the alpha channel. The natural format for renders. * Channel Packed: different images are packed in the RGB and alpha channels, and they should not influence each other. Channel packing is commonly used by game engines to save memory. * None: ignore alpha channel from the file and make image fully opaque. Cycles OSL does not correctly support Channel Packed and None yet, we are missing fine control over the OpenImageIO texture cache to do that. Fixes T53672
2019-05-19Fix inconsistent toolbar and sidebar sizes in default workspacesBrecht Van Lommel
2019-05-19Cleanup: rename BLI_appdir_fonts_* -> fontCampbell Barton
Plural name doesn't fit with textures, sounds & other paths that may be added. Also quiet unused warning.
2019-05-19UI: Default Directory for Windows FontsHarley Acheson
This patch gives new Windows users a better default preference for fonts folder Differential Revision: https://developer.blender.org/D4725 Reviewed by Campbell Barton and Brecht Van Lommel
2019-05-18Fix T64791: light sun angle not savedBrecht Van Lommel
There is a deeper problem here with DNA_struct_elem_find and Lamp/Light name aliasing, to be fixed separately.
2019-05-17Fix T64775: crash loading Eevee files with DoF, after recent changesBrecht Van Lommel
Additional fix to ensure Cycles versioning is done after Eevee.