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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-14 18:05:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-14 18:32:46 +0300
commit9bc10c1f542d3fee601ea35536a3375367cf3652 (patch)
treea3e648709c420640a4d247d30f68e31029edf6c2 /source/blender/blenkernel/intern/action.c
parent2623e68c3b0e43134027dda33cd5ec1fc45b3bdc (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r--source/blender/blenkernel/intern/action.c4
1 files changed, 1 insertions, 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;