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-03-18Fix mistake in previous commit.Bastien Montagne
2019-03-18Add-ons: disable 3ds add-on in all existing preferences.Brecht Van Lommel
Silences warning when running with --debug. If/when this add-on is ported, users that need it can enable it again.
2019-03-17Fix T62570: Append Particles System not working properly.Bastien Montagne
T62570 and T61796 show that we need two slightly different behaviors in post-linking collection process: * For linking, we never want to instantiate indirectly-linked collections or objects. * For appending however, since all collections and objects will become local and hence need instantiation, we want to 'link to scene' all collections first, better than instantiating the objects in the master collection opf current scene.
2019-03-17Remove 3DS add-on from factory startup.Bastien Montagne
2019-03-17Cleanup: rename DEPRECATED to UNUSEDCampbell Barton
While the flags have been deprecated they're currently unused. Rename for clarity.
2019-03-16Particle: Remove Billboard Particle codeClément Foucault
The billboard particles were only used by Blender Internal. So until it is supported by Cycles of Eevee there is no reason to keep it in the code and UI. Fix T61695 Billboard particles not displaying in Eevee viewport, render
2019-03-15GPU: Simplify select shaders.mano-wii
The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`. This commit allows the drawing of the mesh select ids to be done on a 32UI format texture. This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion. Differential Revision: https://developer.blender.org/D4350
2019-03-15Fix T62284: apply a retroactive fix for T57366 to old files.Alexander Gavrilov
2019-03-15Tool System: use categories for tool identifiersCampbell Barton
Tools that come with Blender use 'builtin' or 'builtin_brush' prefix.
2019-03-15Fix T59155: Can't select light in-front of other objectsCampbell Barton
Enable depth picking by default. This adds new 'gpu_flag' since it's not so relevant to add GPU drawing options into uiflag & uiflag2. This resets the recently added smooth edge flag.
2019-03-15Cleanup: deprecated flags to named DNA flagsCampbell Barton
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-12Fix wrong memory handling in own rB93633efe69ca.Bastien Montagne
`BLO_library_read_struct()` actually takes care for us of nearly everything, makes things much simpler...
2019-03-12Cleanup: styleCampbell Barton
2019-03-11Fix (unreported) broken ID previews reading.Bastien Montagne
Recent changes to blendfile reading adding deferred reading of actual data broke it, we cannot use the nifty `bhead + 1` to access data anymore, since there is no guaranty that that block hass been fully read. Note that there is still one case in `read_file_thumbnail()`, however loading of blendfile preview itself seems to be working fine... Maybe @campbellbarton can double check that point (or knows of hands whether it is OK there)?
2019-03-11Fix T62310: Batch generate data-block previews broken.Bastien Montagne
Some uninitialized colormanagement data was breaking RNA acces for them, exposed in batch preview management when generating previews for scenes because we have to backup/restore scene and all its settings before/after rendering it...
2019-03-11Fix T61906: crash rendering softbody with Cycles and timeline visible.Brecht Van Lommel
Make sure we don't reallocate arrays in the pointcache when not needed, the size of a memory allocation can be slightly bigger than the requested size. Also, use consistent check for shared cached in copy and free functions.
2019-03-11Fix T62255: Blender defaults to "OpenAL Soft" in sound settings, regardless ↵Jörg Müller
of saved preferences - Default device (index 0) was hard coded. - Also fixing crash with invalid device passed to blender via -setaudio.
2019-03-09Fix T57655: Crash opening 2.79 file saved with maximized areaJulian Eisel
During screen to workspace/workspace-layout conversion, the first layout of each workspace would be activated. For temporary full-screens, this used to be the full-screen layout (IIRC), apparently it's now the the layout to return to on "Back to Previous". So the 'previous' layout would be activated, not the full-screen one. When actually pressing "Back to Previous" now, the operator would first free the active layout (which it assumes to be the temp full-screen - wrongly in this case) and then try to activate the non-full-screen one, causing use-after-free.
2019-03-08Fix crash reloading images used in compositor nodeSybren A. Stüvel
Similar to what Brecht committed in 38f0d5f75af7d2f30156f4008dc5bc8d8394fbf3.
2019-03-08GPencil: Fix field type error in initializationAntonioya
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-03-06Cleanup: remove useless extra-processing after BKE_id_new_name_validate() call.Bastien Montagne
This function already handles sorting of ID in its listbase.
2019-03-06Cleanup: rename BKE_library's `new_id()` to `BKE_id_new_name_validate()`.Bastien Montagne
The former was probably one of the worst function names in our whole code base, totally misleading, and quiet often used as a variable name too.
2019-03-06DNA: remove none particle brush & deprecated flagsCampbell Barton
The none brush doesn't make sense to have anymore with the tool system. Also remove deprecated flags & types for object, armature & text.
2019-03-05Fix T61796: Linking a collection with instances inside will place the ↵Bastien Montagne
instanced object in the scene. Do not force to link indirectly linked collections into current scene, that is usually not desired. Note that user can always add this link manually if they want. All this 'implicit instantiation' post-linking process is rather hairy to get it correct, hope this time it's not breaking something else...
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-04Preferences: Add option to disable edit-mode wire AntialiasingClément Foucault
Requested by some users who prefer old wireframe precision. Smooth wires are still enabled by defaults as they don't have a noticeable perf impact. Application restart is needed for changes to take effects.
2019-03-03DNA: rename BezTriple alfa to tiltCampbell Barton
2019-03-03Cleanup: rename FileData.listbase -> bhead_listCampbell Barton
Having the name matching the type isn't so meaningful.
2019-03-02Cleanup: SDNA/DNA namingCampbell Barton
Use 'size' instead of 'len' to represent the size of data in bytes, 'len' is used for the result of 'strlen' or the length of an array in some parts of 'makesdna.c' & 'dna_genfile.c'. Also clarify comments and some variable names, no functional changes.
2019-03-01Fix T61929: crash on undo in some files with local view.Brecht Van Lommel
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-28Revert "Objects: Remove Textured from object display type"Clément Foucault
This reverts commit 6a4a984ff731070d0702821fe1e67dea40e593b9.
2019-02-28Objects: Remove Textured from object display typeClément Foucault
As discussed with @billreynish this makes little sense now that we don't have a dedicated textured mode. We don't have a superior texture or shaded mode anymore and we also cannot mix different engines together (workbench with eevee/lookdev). The only feature it removes is the possibility to hide textures for certain object in solid mode.
2019-02-28Fix T58875: object paste and append Active Collection property not working.Brecht Van Lommel
2019-02-28Cleanup: styleCampbell Barton
2019-02-27Cleanup: better names and comments for library ID linking code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D4415
2019-02-27Cleanup: use '_pad' convention for padding in all DNA structsCampbell Barton
Avoids mixing these in with regular variables in code-completion. Use char for pad members except for 'void *', to make size clearer. Removed/shrink a few redundant padding vars which were >= 8 bytes.
2019-02-27Cleanup: remove unused Material.pr_lightCampbell Barton
Also no need for 14 bytes of padding.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Merge branch 'blender2.7'Brecht Van Lommel
2019-02-26Cleanup: prevent future issues with ID.tag overflow, clarify somes names.Brecht Van Lommel
2019-02-26Bevel mod: cleanup flags and extra data.Howard Trickey
Removed a clnors field unneeded after a recent refactor. Finished deprecation of flags that haven't been used since pre-bmesh.
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton