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>2009-01-21 10:01:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-01-21 10:01:20 +0300
commit88e244ebb9dc73549951f69181e1919d264bc433 (patch)
treef0c07275da4be76463e57c98af95b3d5c3df6f79 /source/blender/python
parent09357a91ce09f5cfecbaf78a54acf400ba313ef1 (diff)
basic transform for sequencer strips
can transform the strips or move their handles Still todo, click-drag transform, metastrips support, snapping, markers overlap checks and constrain to valid channels.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_compat.h b/source/blender/python/intern/bpy_compat.h
index 0032b760219..bc201a3e802 100644
--- a/source/blender/python/intern/bpy_compat.h
+++ b/source/blender/python/intern/bpy_compat.h
@@ -43,7 +43,15 @@
#undef PyLong_Check
#define PyLong_Check PyInt_Check
+
+#ifdef PyUnicode_FromString
+#undef PyUnicode_FromString
+#endif
#define PyUnicode_FromString PyString_FromString
+
+#ifdef PyUnicode_FromFormat
+#undef PyUnicode_FromFormat
+#endif
#define PyUnicode_FromFormat PyString_FromFormat
#endif