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-04-14Render: new material previewWilliam Reynish
* EEVEE support through irradiance volume and light probe. * New shader ball shape (designed by Robin Marin). * New cloth and liquid shapes, removed monkey. * Replace world sphere by toggle to use world for any shape. * Slight bevel on cube. * More subdivision for displacement preview. * Fixed and improved UV mapping for all shapes. * Material icon / asset preview now uses specified shape instead of always a sphere. So for example hair material can be displayed as hair. Ref T57683
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-03-27Fix T62566 Eevee: Cubemap doesn't bake from current frame of animationClément Foucault
This was technically a feature request but it was quite simple to implement so I did it quickly. Also it is much more consistent now.
2019-03-25GPencil: Only brushes with pinned materials have materialsAntonioya
Using GP_BRUSH_MATERIAL_PINNED to switch between active material and brush material, instead of updating all brushes on active material changes. This will allow brushes to have no material and therefore to not inflate the user count. This fix T62465. Patch contributed by @matc Reviewers: @brecht @antoniov @billreynish @mendio
2019-03-22Fix T58517: Multi-view issues with OpenGL render + scene settingsDalai Felinto
Patch by Shinsuke Irie. * * * Note from reviewer/committer (dfelinto): OpenGL render from the VSE preview window is working, while the VSE preview window itself does not show stereo. That said the patch is ok, and I was able to test that the VSE preview OpenGL still works. I will tackle VSE preview itself separately myself.
2019-03-22Fix T62348: Cycles - Viewport rendering not update on switching viewlayerDalai Felinto
It updates only the main window you edit and the non-main window children of this main one. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D4528
2019-03-19GPencil: Rename functions to annotation prefixAntonioya
This code was used only in annotations.
2019-03-19Fix T62734: Crash when annotations are rendered from the VSE .view menu.Antonioya
The render was using the old grease pencil code and not the new annotation code for render.
2019-03-18Fix T62643: ID user decrement error, likely related to custom material ↵Bastien Montagne
PointerProperty. We are in a totally out-of-main context here, so no refcounting of any ID... Note that this whole 'render preview' area could use some refactor with modern ID management API, but that would go way beyond a mere bugfix, and it is not the time to do such things.
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-12Fix T61531: can't select same material in multi edit modeCampbell Barton
D4441 by @zazizizou w/ edits.
2019-03-10GPencil: Set brush material after copying a materialAntonioya
This change updates the brush material in the topbar when a new material is created using copy button. Related to task T62384 Thanks to @matc for suggesting the fix. Still pending a problem whith user number.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Fix T62328, T62209: revert recent fix for texture slots updates (T60366).Brecht Van Lommel
This causes other issues, revert for now until a better fix is found. Reverts commit da1323d1c95095feff98e8aa054d73fd323c363d.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-02-28Fix T60366: texture paint slots not updating when editing material.Brecht Van Lommel
Now always refresh when the material changes. Depsgraph tag moved out of the refresh function since that gets called on depsgraph update, which should not trigger a second depsgraph update.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-19DNA: rename Object.col -> colorCampbell Barton
Was confusing, unrelated to: colbits, col_mask, col_group, actcol & totcol.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-13Fix T59062: Keyframed node properties stay linked after shading network ↵Bastien Montagne
duplication. There is no reason not to duplicate Actions too here, especially when Materials' Actions are pretty much impossible to edit from current UI (afaik, DopeSheet editor does not has any way to change them?).
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-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
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-31UI: rename Free Bake to Delete Bake.Brecht Van Lommel
"Free" is more of a programming term related to memory allocation, not a term we need to use in the interface. Ref T61054.
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-26Cleanup: remove blender-internal update flagCampbell Barton
2019-01-22UI: disable scene and view layer delete buttons when not available.Harley Acheson
Differential Revision: https://developer.blender.org/D4210
2019-01-17Fix T60261: Crash pasting a material without a nodetreePhilipp Oeser
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: pass main instead of context w/ ED_editors_exit/flush_editsCampbell Barton
Useful for calling from lower level code.
2019-01-11Fix T57371: Generative modifiers in editmode display vertex group weightsClément Foucault
In a better way... 6dbfd7f6d6bc would make the final vertex weights always calculated in edit mode. Now it's only if the option is enabled.
2019-01-07Cleanup: add trailing commas to structsCampbell Barton
2019-01-03Fix new material for pinned objectsCampbell Barton
Grease pencil check was using active object.
2019-01-03Merge branch 'blender2.7'Campbell Barton
2019-01-03Fix T60014: material link pref ignoredCampbell Barton
The PreferencesEdit.material_link only worked for adding slots, adding an initial new material didn't respect the preference.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-03Cleanup: warning, styleCampbell Barton
2018-12-03Fix T58528: Assign material skips non-activeCampbell Barton
2018-11-22Merge branch 'master' into blender2.8Campbell Barton
2018-11-22Fix T57989: File loaded as startupCampbell Barton
The file contents was used to check if the file was a startup file. Now pass in an argument from startup loading code instead.
2018-11-08Fix T57689: world nodes / texture not updating for Eevee.Brecht Van Lommel
Only do GPU material updates through depsgraph evaluation now. This was already happening for material, just missing for the world.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-11-01UI: Rename Copy Material to Others to Copy Material to Selected.Pablo Vazquez
"Others" is not clear, "selected" is more descriptive and it follows the convention used in similar operators