tornavis/source/blender/blenkernel/intern
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
..
CCGSubSurf.c OpenSubdiv: Properly respect Subdivide UVs option 2016-07-22 17:53:00 +02:00
CCGSubSurf.h OpenSubdiv: Properly respect Subdivide UVs option 2016-07-22 17:53:00 +02:00
CCGSubSurf_inline.h CCGSubSurf: Split file into several smaller ones 2015-07-20 22:29:25 +02:00
CCGSubSurf_intern.h OpenSubdiv: Properly respect Subdivide UVs option 2016-07-22 17:53:00 +02:00
CCGSubSurf_legacy.c Fix T46851: Crash on multires more than million 2015-11-24 15:25:19 +05:00
CCGSubSurf_opensubdiv.c OpenSubdiv: Properly respect Subdivide UVs option 2016-07-22 17:53:00 +02:00
CCGSubSurf_opensubdiv_converter.c OpenSubdiv: Properly respect Subdivide UVs option 2016-07-22 17:53:00 +02:00
CCGSubSurf_util.c Cleanup: spelling 2016-07-16 17:48:57 +10:00
DerivedMesh.c Fix (unreported) looptri array not being recalculated in ccgDM and emDM 2016-12-01 12:41:56 -02:00
action.c Fix T50023: Inverse Kinematics angle limits defaulting to 10313.2403124° 2016-11-16 11:10:19 +13:00
addon.c Add missing newlines for debug prints 2015-11-16 15:19:30 +11:00
anim.c Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
anim_sys.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
appdir.c Refactor BKE_blender into separate headers 2016-04-25 19:27:45 +10:00
armature.c Revert "Proxy: Construct pchan hash when syncing armature proxy" 2016-11-15 16:13:24 +01:00
armature_update.c Cleanup: Use more meaningful names and move calculation into am if statement 2016-08-26 13:58:17 +02:00
autoexec.c Fix T48111: Auto-run fails w/ empty paths 2016-06-03 15:28:32 +10:00
blender.c CacheFile: make sure SpinLock is destroyed when exiting Blender. 2016-09-19 09:02:41 +02:00
blender_copybuffer.c Fix T49856: Blender 2.78 crashes after loading data from a blendfile 2016-11-01 13:39:31 +01:00
blender_undo.c Cleanup: redundant index loop for monkey-create 2016-11-18 06:10:53 +11:00
blendfile.c Avoid interface ID remapping when freeing the whole database 2016-11-15 15:56:40 +01:00
bmfont.c
boids.c Fix T47773: Particle System with Boids Crash. 2016-03-13 18:21:30 +01:00
bpath.c Basic Alembic support 2016-08-06 10:58:13 +02:00
brush.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
bullet.c
bvhutils.c Transform Snap: Optimize edge-snap using BVH tree 2016-06-30 17:52:03 +10:00
cachefile.c Fix T49918: Make duplicates real crash on clicking operator toggles. 2016-11-04 08:11:40 +01:00
camera.c Comment: explain viewport & render pixel-size 2016-11-29 13:18:04 +11:00
cdderivedmesh.c Fix glUniform called from glBegin/glEnd blocks 2016-09-05 10:14:07 +02:00
cloth.c Prevent max stiffness values from going under normal stiffness values in cloth stiffness scaling. 2016-08-13 19:48:33 +03:00
collision.c Collision: skip expensive BVH update if the collider doesn't move. 2016-10-07 21:47:00 +03:00
colortools.c Support Auto-Clamped Handle for Curve-Mapping 2016-08-01 09:06:40 +10:00
constraint.c Fix crash when opening a Blender file containing Alembic data. 2016-12-07 23:04:27 +01:00
context.c Fix T49656: Crash when starting playback while using JACK audio with A/V sync 2016-10-22 15:00:32 +02:00
crazyspace.c EditMesh: Avoid creating deform-vert layer every redraw 2016-06-22 21:31:00 +10:00
curve.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
customdata.c Cleanup - size_t is unsigned, so always >= 0! 2016-06-07 21:53:17 +02:00
customdata_file.c
data_transfer.c Fix T50216: Missing checks caused data transfer segfault 2016-12-16 23:53:08 -02:00
data_transfer_intern.h Fix T46508: data_transfer of normals fails in case objects are transformed. 2015-10-16 21:56:42 +02:00
deform.c Fix group flipping when syncing mirror weights 2016-02-09 00:19:28 +11:00
depsgraph.c Fix depsgraph: hair collision is actually enabled, so add the relations. 2016-12-05 13:36:30 +03:00
displist.c Fix T48723: Curve bevel creates invalid geometry 2016-06-25 13:57:35 +10:00
dynamicpaint.c Atomics: Make naming more obvious about which value is being returned 2016-11-15 12:16:26 +01:00
editderivedmesh.c Fix (unreported) looptri array not being recalculated in ccgDM and emDM 2016-12-01 12:41:56 -02:00
editmesh.c Cleanup: use BM_mesh_* prefix for BMesh functions 2016-01-14 13:00:11 +11:00
editmesh_bvh.c Cleanup: rename getepsilon -> get_epsilon 2016-05-06 06:14:36 +10:00
effect.c Fix T50141: Nabla zero division on texture force field 2016-12-04 18:01:46 -02:00
fcurve.c Py-Driver: add 'self' option 2016-07-30 16:46:13 +10:00
fluidsim.c Remove MFace use w/ fluidsim 2015-08-06 22:33:45 +10:00
fmodifier.c Cleanup: spelling 2015-10-07 15:02:06 +11:00
font.c Fix missing datablocks types in id_make_local. 2016-07-21 16:54:36 +02:00
freestyle.c BLI_listbase: Add/use utility to move link (BLI_listbase_link_move) 2016-09-18 21:44:42 +02:00
gpencil.c A number of other minor RNA fixes and precautionary safeguards against further crashes here 2016-11-28 02:33:49 +13:00
group.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
icons.c Fix T49829: Removal of custom icon previews during add-on unregister crashes Blender. 2016-10-27 13:06:14 +02:00
idcode.c Fix ID types DAG update tagging. 2016-08-08 17:51:15 +02:00
idprop.c PyAPI: Add PyC_UnicodeAsByteAndSize 2016-07-31 16:52:44 +10:00
image.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
image_gen.c Multi-thread generated image creation 2016-05-05 23:47:22 +02:00
ipo.c Fix T47433: Driven shapekey values (from 2.4x) are not indicated as having drivers 2016-02-20 17:55:11 +13:00
key.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
lamp.c Fix T49210: Issue with User Count on Images in some shader nodetrees when rendering previews 2016-08-31 16:48:27 +02:00
lattice.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
library.c Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.h 2016-12-12 14:58:10 +01:00
library_idmap.c Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
library_query.c Minor naming cleanup. 2016-11-11 23:17:52 +01:00
library_remap.c Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.h 2016-12-12 14:58:10 +01:00
linestyle.c BLI_listbase: Add/use utility to move link (BLI_listbase_link_move) 2016-09-18 21:44:42 +02:00
mask.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
mask_evaluate.c Cleanup: rename line to segments, avoids confusion 2015-11-13 07:48:05 +11:00
mask_rasterize.c Add inverse-square falloff to bmesh, mask & compo. 2015-04-26 18:31:54 +10:00
material.c Depsgraph: tag relations for update when aterial slots changes 2016-08-12 14:59:11 +02:00
mball.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
mball_tessellate.c Cleanup: comment blocks 2016-07-02 10:08:33 +10:00
mesh.c Fix mistake in BKE_mesh_new_from_object handling of materials in MetaBall case. 2016-10-24 10:06:00 +02:00
mesh_evaluate.c Atomics: Make naming more obvious about which value is being returned 2016-11-15 12:16:26 +01:00
mesh_mapping.c Cleanup: debug-only variable. 2016-07-25 09:31:56 +02:00
mesh_remap.c Fix (unreported) memleak in mesh remapping auto-transform code. 2015-12-30 21:11:07 +01:00
mesh_validate.c C99/C++11: replace deprecated finite() by isfinite(). 2016-05-17 21:39:16 +02:00
modifier.c Replace of (id->lib != NULL) check by meaningful macro. 2016-07-06 14:11:01 +02:00
modifiers_bmesh.c BMesh: make toolflags optional 2016-07-01 19:29:22 +10:00
movieclip.c Fix T49181: Movie clip animation lost when invoking action which reloads the clip 2016-08-29 13:09:03 +02:00
multires.c Cleanup: style 2016-01-19 04:54:39 +11:00
navmesh_conversion.c BGE: Navmesh fixes and improvements 2015-07-28 13:54:41 +02:00
nla.c Cleanup/Refactor: pass Main pointer to all ID copy functions. 2016-07-10 14:52:00 +02:00
node.c Cleanup: Get rid of ntreeSwitchID(_ex) functions, use generic BKE_libblock_relink_ex instead. 2016-12-12 14:31:50 +01:00
object.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
object_deform.c Added 'delete unlocked vertex groups' option. 2016-10-31 15:31:47 +01:00
object_dupli.c Math Lib: rotate matrix cleanup 2016-11-25 16:39:34 +11:00
object_update.c Revert "Depsgraph: Russian electric tape bodge to have multiple proxies work" 2016-07-13 10:41:09 +02:00
ocean.c [msvc] Minor cleanup in blenkernel. 2016-10-18 09:51:33 -06:00
outliner_treehash.c Fix crasher in new lazy-rebuild outliner's treehash. 2015-05-15 19:29:18 +02:00
packedFile.c Replace of (id->lib != NULL) check by meaningful macro. 2016-07-06 14:11:01 +02:00
paint.c [msvc] Minor cleanup in blenkernel. 2016-10-18 09:51:33 -06:00
particle.c Fix crash in some cases when deleting particle systems. 2016-09-15 11:50:56 +02:00
particle_child.c API: Fix Links 2016-10-25 17:34:01 +02:00
particle_distribute.c And one more fix to particle distribution! 2016-07-04 16:10:40 +02:00
particle_system.c API: Fix Links 2016-10-25 17:34:01 +02:00
pbvh.c Atomics: Make naming more obvious about which value is being returned 2016-11-15 12:16:26 +01:00
pbvh_bmesh.c BMesh: BM_face_exists no longer uses return arg 2016-11-14 04:33:35 +11:00
pbvh_intern.h Cleanup: redundant 4th index in sculpt PBVH 2016-07-06 19:15:47 +10:00
pointcache.c Fix crash in OpenVDB highres smoke cache when seeking to frame 0. 2016-08-20 12:13:20 +03:00
property.c Fix game-property use-after-free error 2015-10-07 11:05:27 +11:00
report.c Cleanup: readfile: cleanup a bit error messages. 2015-11-13 15:26:22 +01:00
rigidbody.c Fix strict compiler error when building without bullet 2016-12-13 10:18:02 +01:00
sca.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
scene.c Cleanup: Get rid of ntreeSwitchID(_ex) functions, use generic BKE_libblock_relink_ex instead. 2016-12-12 14:31:50 +01:00
screen.c ID-Remap - Step one: core work (cleanup and rework of generic ID datablock handling). 2016-06-22 17:53:50 +02:00
seqcache.c Fix for SeqCache hash ignoring multi-view 2015-08-09 13:53:36 +10:00
seqeffects.c Fix (unreported) Sequencer Drop effect: wrong initial offset in second input buffer. 2016-12-07 14:53:57 +01:00
seqmodifier.c Fix white balance sequencer modifier 2016-02-23 14:54:42 +11:00
sequencer.c Cleanup id->newid usage, initial work. 2016-11-30 15:27:59 +01:00
shrinkwrap.c Fix T48695: Slowdown w/ edit-mesh & shrinkwrap 2016-06-29 19:43:08 +10:00
sketch.c Transform Volume rewrite/refactor 2016-05-11 20:20:25 +10:00
smoke.c Viewport smoke: add support to render the volume using a color ramp. 2016-10-30 12:29:05 +01:00
softbody.c Fix T49004 and motion blur of cloth, softbody, etc past the end frame. 2016-08-11 13:36:29 +03:00
sound.c Fix: setting an audio callback before audio device initialization. 2016-11-09 00:06:49 +01:00
speaker.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
subsurf_ccg.c Fix (unreported) looptri array not being recalculated in ccgDM and emDM 2016-12-01 12:41:56 -02:00
suggestions.c Use BLI_strncasecmp for text suggestions 2015-10-25 17:44:32 +11:00
text.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
texture.c Cleanup: factorize the 'ensure local' part of datablock copy into a single BKE_id_copy_ensure_local function. 2016-07-25 16:16:35 +02:00
tracking.c Cleanup: rename functions in BLI_bitmap_draw_2d 2016-10-26 23:24:19 +11:00
tracking_auto.c Tracking: Fix possible cases when tracker will try tracking failed tracks 2016-07-21 16:54:18 +02:00
tracking_detect.c
tracking_plane_tracker.c
tracking_region_tracker.c
tracking_solver.c Refactor translation code out of blenfont 2015-08-18 07:01:26 +10:00
tracking_stabilize.c Math Lib: rotate matrix cleanup 2016-11-25 16:39:34 +11:00
tracking_util.c fix null pointer dereferences 2016-07-21 18:16:08 -04:00
unit.c Cleanup: use const for units API 2016-05-03 13:52:07 +10:00
world.c Fix T49210: Issue with User Count on Images in some shader nodetrees when rendering previews 2016-08-31 16:48:27 +02:00
writeavi.c Fix T46565: Movie render crash w/o permissions 2015-10-22 17:25:37 +11:00
writeffmpeg.c FFmpeg interface improvements 2016-09-21 15:03:11 +02:00
writeframeserver.c Fix T45397: Frameserver rendering no longer works in 2.75 or 2.75a 2015-07-13 11:10:33 +02:00