tornavis/source/blender/blenkernel
Luca Rood 2e15618f49 Fix T50216: Missing checks caused data transfer segfault
Data transfer was not checking if the required geometry existed, thus
causing a segfault when it didn't. This adds the required checks, and
reports errors if geometry is missing.

This also replaces instances of the words "polygon" and "loop" in error
messages with "face" and "corner" respectively, to be consistent with
the rest of the existing UI.

Reviewed By: mont29

Differential Revision: http://developer.blender.org/D2410
2016-12-16 23:53:08 -02:00
..
intern Fix T50216: Missing checks caused data transfer segfault 2016-12-16 23:53:08 -02:00
BKE_DerivedMesh.h Fix glUniform called from glBegin/glEnd blocks 2016-09-05 10:14:07 +02:00
BKE_action.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_addon.h
BKE_anim.h
BKE_animsys.h Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
BKE_appdir.h
BKE_armature.h Depsgraph: Speedup initial rig build time 2016-11-07 11:04:49 +01:00
BKE_autoexec.h
BKE_blender.h BKE_blender: Add own atexit functions 2016-06-24 10:05:18 +10:00
BKE_blender_copybuffer.h Use temp .blend file copybuffer for pose copy-paste 2016-09-15 09:51:15 +02:00
BKE_blender_undo.h Implement grouped undo option for operators 2016-11-15 14:25:10 +01:00
BKE_blender_version.h Fix (unreported) bad handling of brush's fill threshold value. 2016-11-18 15:32:50 +01:00
BKE_blendfile.h Refactor BKE_blender into separate headers 2016-04-25 19:27:45 +10:00
BKE_bmfont.h
BKE_bmfont_types.h
BKE_boids.h
BKE_bpath.h
BKE_brush.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_bullet.h
BKE_bvhutils.h Cleanup: comment blocks 2016-07-02 10:08:33 +10:00
BKE_cachefile.h Alembic: store a pointer to the object reader in the cache modifiers and 2016-10-29 12:23:09 +02:00
BKE_camera.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_ccg.h
BKE_cdderivedmesh.h
BKE_cloth.h Cloth: option to use dynamic base mesh 2016-07-30 14:57:48 +10:00
BKE_collision.h Fix depsgraph to compute more accurate links for collision & force. 2016-08-16 15:46:36 +03:00
BKE_colortools.h Support Auto-Clamped Handle for Curve-Mapping 2016-08-01 09:06:40 +10:00
BKE_constraint.h Cleanup: get rid of unused `BKE_constraints_relink()`. 2016-11-21 15:25:33 +01:00
BKE_context.h Basic Alembic support 2016-08-06 10:58:13 +02:00
BKE_crazyspace.h
BKE_curve.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_customdata.h Cleanup: use const args 2016-05-17 03:07:40 +10:00
BKE_customdata_file.h
BKE_data_transfer.h
BKE_deform.h Fix group flipping when syncing mirror weights 2016-02-09 00:19:28 +11:00
BKE_depsgraph.h
BKE_displist.h Cleanup: use BLI_bitmap for bevel-split 2016-06-25 11:24:25 +10:00
BKE_dynamicpaint.h Dynamicpaint: fix (unreported) missing progress bar in early baking stage. 2016-05-21 16:09:35 +02:00
BKE_editmesh.h
BKE_editmesh_bvh.h
BKE_effect.h Fix depsgraph to compute more accurate links for collision & force. 2016-08-16 15:46:36 +03:00
BKE_fcurve.h Py-Driver: add 'self' option 2016-07-30 16:46:13 +10:00
BKE_fluidsim.h
BKE_font.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_freestyle.h BLI_listbase: Add/use utility to move link (BLI_listbase_link_move) 2016-09-18 21:44:42 +02:00
BKE_global.h Added --debug-io flag to command line 2016-12-09 17:21:11 +01:00
BKE_gpencil.h Cleanup: Use BKE_gpencil prefix 2016-08-04 15:11:21 +02:00
BKE_group.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_icons.h Fix T49829: Removal of custom icon previews during add-on unregister crashes Blender. 2016-10-27 13:06:14 +02:00
BKE_idcode.h Fix ID types DAG update tagging. 2016-08-08 17:51:15 +02:00
BKE_idprop.h
BKE_image.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_ipo.h
BKE_key.h Get rid of BKE_key_make_local(). 2016-07-14 18:33:12 +02:00
BKE_lamp.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_lattice.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_library.h Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.h 2016-12-12 14:58:10 +01:00
BKE_library_idmap.h readfile: optimization for undo 2016-06-07 17:27:52 +10:00
BKE_library_query.h Fix renaming error in last commit 2016-11-12 10:30:28 +11:00
BKE_library_remap.h Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.h 2016-12-12 14:58:10 +01:00
BKE_linestyle.h BLI_listbase: Add/use utility to move link (BLI_listbase_link_move) 2016-09-18 21:44:42 +02:00
BKE_main.h Fix ID types DAG update tagging. 2016-08-08 17:51:15 +02:00
BKE_mask.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_material.h Depsgraph: tag relations for update when aterial slots changes 2016-08-12 14:59:11 +02:00
BKE_mball.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_mball_tessellate.h
BKE_mesh.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_mesh_mapping.h Add BKE_mesh_calc_islands_loop_poly_uvmap and use it in new OSD UV subdiv. 2016-07-21 16:54:36 +02:00
BKE_mesh_remap.h
BKE_modifier.h Fix T47737: Lattice crashes w/ smooth modifier 2016-05-18 22:46:29 +10:00
BKE_movieclip.h Add copy/make_local to movieclip datablock. 2016-07-29 23:13:31 +02:00
BKE_multires.h
BKE_navmesh_conversion.h
BKE_nla.h
BKE_node.h Cleanup: Get rid of ntreeSwitchID(_ex) functions, use generic BKE_libblock_relink_ex instead. 2016-12-12 14:31:50 +01:00
BKE_object.h Proxy appending: re-establish link to proxies when they are made local 2016-10-13 14:10:46 +02:00
BKE_object_deform.h Added 'delete unlocked vertex groups' option. 2016-10-31 15:31:47 +01:00
BKE_ocean.h
BKE_outliner_treehash.h
BKE_packedFile.h
BKE_paint.h Fix T48965: Cannot Append Palette As Local Datablock. 2016-07-28 19:32:36 +02:00
BKE_particle.h Fix T26658: particles stopped or bounced by 100% permeability colliders. 2016-08-06 10:11:33 +03:00
BKE_pbvh.h Optimize sculpt undo, avoid redundant updates 2016-02-13 18:59:56 +11:00
BKE_pointcache.h Fix T49004 and motion blur of cloth, softbody, etc past the end frame. 2016-08-11 13:36:29 +03:00
BKE_property.h
BKE_report.h
BKE_rigidbody.h Cleanup: Get rid of unused BKE_rigidbody_relink_constraint(). 2016-12-12 15:05:19 +01:00
BKE_sca.h Fix T49430: append scene with gamelogic broken. 2016-09-23 14:25:15 +02:00
BKE_scene.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_screen.h ID-Remap - Step one: core work (cleanup and rework of generic ID datablock handling). 2016-06-22 17:53:50 +02:00
BKE_sequencer.h Fix T49027: Sequence uses too much memory when rendering scene with lots of movie strips 2016-08-09 14:33:00 +02:00
BKE_shrinkwrap.h Shrink Wrap modifier: invert vgroup option 2016-03-07 11:24:03 +11:00
BKE_sketch.h Transform Volume rewrite/refactor 2016-05-11 20:20:25 +10:00
BKE_smoke.h Smoke, Dynamic Paint: de-duplicate object subframe update function. 2016-01-09 04:37:53 +01:00
BKE_softbody.h
BKE_sound.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_speaker.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_subsurf.h
BKE_suggestions.h
BKE_text.h Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
BKE_texture.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_tracking.h Rework 2D stabilizator 2016-08-16 13:30:40 +02:00
BKE_unit.h Cleanup: use const for units API 2016-05-03 13:52:07 +10:00
BKE_utildefines.h
BKE_world.h Refactor/deduplicate even more make_local code (and fix part of T48907). 2016-07-21 16:54:36 +02:00
BKE_writeavi.h
BKE_writeffmpeg.h
BKE_writeframeserver.h
CMakeLists.txt Basic Alembic support 2016-08-06 10:58:13 +02:00
depsgraph_private.h Fix depsgraph to compute more accurate links for collision & force. 2016-08-16 15:46:36 +03:00
nla_private.h
tracking_private.h