From 9bc10c1f542d3fee601ea35536a3375367cf3652 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Aug 2019 01:05:15 +1000 Subject: [PATCH] Cleanup: remove comment to workaround weak code parsing This is quite an old comment, recent IDE's/editors should be able to handle escaped quotes in strings. If kludges like this are needed, developers should note exactly why. --- source/blender/blenkernel/intern/action.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 57a7379eeae..d072a0aa599 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -1420,9 +1420,7 @@ short action_get_item_transforms(bAction *act, Object *ob, bPoseChannel *pchan, if ((curves) || (flags & ACT_TRANS_PROP) == 0) { /* custom properties only */ - pPtr = strstr( - bPtr, - "[\""); /* extra '"' comment here to keep my texteditor functionlist working :) */ + pPtr = strstr(bPtr, "[\""); if (pPtr) { flags |= ACT_TRANS_PROP;