Page Menu
Home
Search
Configure Global Search
Log In
Files
F2350
curfilename.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Marco Gaib (linny)
Nov 13 2013, 1:03 PM
Size
488 B
Subscribers
None
curfilename.diff
View Options
--- blender/source/blender/python/api2_2x/Blender.c 2006-05-23 00:05:39.000000000 +0200
+++ Blender.c 2006-05-23 00:04:32.000000000 +0200
@@ -280,6 +280,8 @@
ret = PyInt_FromLong( G.scene->r.efra );
else if( StringEqual( str, "filename" ) )
ret = PyString_FromString( G.sce );
+ else if( StringEqual( str, "curfilename" ) )
+ ret = PyString_FromString(G.main->name);
else if( StringEqual( str, "homedir" ) ) {
char *hdir = bpy_gethome(0);
if( hdir && BLI_exists( hdir ))
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4d/3e/a6d6961813c1fabb565519167107
Event Timeline
Log In to Comment