Blender Git Loki

Kaikki Blender Git kommitit.

Page: 792 / 8462

March 24, 2021, 15:23 (GMT)
Fix T86884: Don't remove the "line art object add" enum item

We would not add the "object line art" enum to the operator enum list,
if there were no active object in the scene.

This would make it impossible to call this operator from python code as
the enum would we hidden when we were not in a viewport context.

Always make the operator available, having no active object is not a
strict requirement for the operator to work, so expose it always.
March 24, 2021, 15:22 (GMT)
GPencil: Fix merge errors

March 24, 2021, 15:19 (GMT)
Merge branch 'master' into eevee-gpencil
March 24, 2021, 15:06 (GMT)
Merge branch 'master' into greasepencil-object

Conflicts:
release/scripts/startup/bl_ui/space_topbar.py
source/blender/blenkernel/BKE_gpencil_geom.h
source/blender/blenkernel/intern/gpencil_geom.c
source/blender/editors/gpencil/gpencil_utils.c
source/blender/editors/include/ED_gpencil.h
source/blender/editors/io/CMakeLists.txt
source/blender/editors/io/io_gpencil.h
source/blender/editors/io/io_gpencil_export.c
source/blender/editors/io/io_gpencil_import.c
source/blender/editors/io/io_gpencil_utils.c
source/blender/editors/io/io_ops.c
source/blender/io/CMakeLists.txt
source/blender/io/gpencil/CMakeLists.txt
source/blender/io/gpencil/gpencil_io.h
source/blender/io/gpencil/intern/gpencil_io_base.cc
source/blender/io/gpencil/intern/gpencil_io_base.h
source/blender/io/gpencil/intern/gpencil_io_capi.cc
source/blender/io/gpencil/intern/gpencil_io_export_base.h
source/blender/io/gpencil/intern/gpencil_io_export_pdf.cc
source/blender/io/gpencil/intern/gpencil_io_export_pdf.h
source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
source/blender/io/gpencil/intern/gpencil_io_export_svg.h
source/blender/io/gpencil/intern/gpencil_io_import_base.cc
source/blender/io/gpencil/intern/gpencil_io_import_base.h
source/blender/io/gpencil/intern/gpencil_io_import_svg.cc
source/blender/io/gpencil/intern/gpencil_io_import_svg.h
source/blender/io/gpencil/nanosvg/nanosvg.h
Revision 8060293 by Hans Goudey (master)
March 24, 2021, 15:05 (GMT)
Fix T86875: "Show on Cage" crash for geometry nodes primitives

Without `calc_object_remap` turned off in the conversion to and from
BMesh for the primitive nodes, the `CD_ORIGINDEX` custom data layer
has incorrect values. By using a different function to do the conversions,
we can avoid this problem.

Thanks to Jacques for finding the fix here.

Differential Revision: https://developer.blender.org/D10805
March 24, 2021, 15:01 (GMT)
GPencil: Fix unreported crash when apply Lattice modifier

This error was produced because now it is possible to have several Lattice modifiers and the Bake was removing the lattice data of all modifiers.

Now the data is only recalculated and removed for the current modifier.

Also some cleanup of comments.
March 24, 2021, 14:28 (GMT)
GPencil: New modules for Import and Export

This patch adds support to export and import grease pencil in several formats.

Inlude:

* Export SVG
* Export PDF (always from camera view)

* Import SVG

The import and export only support solid colors and not gradients or textures.

Requires libharu and pugixml.

For importing SVG, the NanoSVG lib is used, but this does not require installation (just a .h file embedded in the project folder)

Example of PDF export: https://youtu.be/BMm0KeMJsI4

Reviewed By: #grease_pencil, HooglyBoogly

Maniphest Tasks: T83190, T79875, T83191, T83192

Differential Revision: https://developer.blender.org/D10482
March 24, 2021, 14:24 (GMT)
Fix T86894: Geometry nodes drag and drop creates a duplicate node

Added a condition to the poll so that it ignores drag and drop on the button. The Paste Name operator is just not implemented. Doesn't work for shading nodes either.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D10769
March 24, 2021, 14:24 (GMT)
Fix T86722: Missing updates after geometry nodes drag and drop

Add missing call to ED_node_tag_update_nodetree which solves the missing update on initial drag.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D10769
Revision 8bbd6ba by Bastien Montagne (master)
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 17: Group and comments.

Regroup ID type indices by categories, and add some comments about
reasoning of current order.
Revision c1f5a56 by Bastien Montagne (master)
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 16: Palettes.

Move Palettes type with other weird, not-really-data ID types (like
PaintCurves and Brushes), higher in the process.

Those preset-like types may use a lot of other ID types, but should only
be used by UI-related (and Scene, for tool settings) types.
Revision fd75a4c by Bastien Montagne (master)
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 15: ShapeKeys.

Move shape keys type just after all obdata types, since they are some
sort of sub-geometry data.
Revision 7db4ef9 by Bastien Montagne (master)
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 14: Fonts.

Move Font type toward the end of the list, this is a file-wrapper type
with typically no dependency to any other ID.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 13: Texts.

Move Texts type toward the end of the list, this is a file-wrapper type
with typically no dependency to any other ID.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 12: Sounds.

Move Sound type toward the end of the list, this is a file-wrapper type
with typically no dependency to any other ID.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 11: Worlds.

Move World type with the other shading types.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 10: LineStyles.

Move LineStyles (Freestyle) type with the rest of the shading types.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 09: Particles.

Move Particles next to the other physics/simulation types, after obdata
types.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 08: CacheFiles.

Move them with the rest of the simulation types.
March 24, 2021, 14:11 (GMT)
Tweak default ID types processing order, step 07: MovieClips.

Move them with the other shading/image types, just before Images.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021