Campbell Barton
08d6932c86
svn merge -r36900:37028 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-31 05:11:04 +00:00
M.G. Kishalmi
9b5800bcd7
fixed "rather then" -> "rather than" typos all over the place
2011-05-28 13:11:24 +00:00
Joseph Eagar
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
Campbell Barton
f4ba9495c5
fix [ #26667 ] Can't import scripts when using blenderplayer
...
- move import override initialization to bpy_internal_import.c so the player and blender can both call.
- remove ineffectual & unused sandboxing code.
2011-03-29 16:12:25 +00:00
Campbell Barton
cfd9d6d190
Drop support for python 3.1.
...
for building py3.2 on *nix see:
http://wiki.blender.org/index.php?title=Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Python
also fixed possible buffer overrun with getting the fake filepath for a blender textblock.
2011-03-07 11:53:40 +00:00
Nathan Letwory
5a760e22fc
doxygen: blender/python tagged.
2011-02-27 20:10:08 +00:00
Joseph Eagar
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
Campbell Barton
676829ccba
workaround for python bug [ #24400 ] If Script is executed with TEXT Editor, it becomes an error.
...
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.
2010-10-27 06:05:22 +00:00
Campbell Barton
ab8aa13b82
bugfix [ #24087 ] Blender can not install add-ons unless running with root priviledges
...
now addon path is created using the same path functions and selecting where to save the startup.blend
also made some minor changes to path handling funcs.
2010-10-03 20:00:22 +00:00
Campbell Barton
db7a4e530e
move namespace creation function into py_capi_utils.c, to be used in more general cases, not just the blender/rna api.
2010-09-18 15:30:03 +00:00
Joseph Eagar
bb7339a7ae
merge with trunk at r31523
2010-09-04 05:31:25 +00:00
Campbell Barton
a0cece42c6
bugfix [ #23148 ] "ImportError: __import__ not found" on changing Render FPS
...
The BGE was getting the namespace dict directly from __main__ which conflicts
with my recent fix to get the pickle module working which to overwrote the __main__ module on script execution.
Simple fix is to have the BGE and Blender use the same method of getting namespaces.
Renamed CreateGlobalDictionary() to bpy_namespace_dict_new() and moved into bpy_internal_import.c
pickle still wont work in the BGE since we make a copy of __main__ namespace but for speed would rather not have to replace the __main__ module many times per second.
2010-08-05 03:25:45 +00:00
Joseph Eagar
c11c196efa
part 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)
2010-07-19 04:44:37 +00:00
Campbell Barton
b1a96f76dc
include the blendfile name when executing python scripts, so when using libraries you can tell where the script is stored which raises an error.
2010-06-02 14:40:58 +00:00
Joseph Eagar
71003b9bcc
merge with trunk at r27259 and commit of a patch by anthony jones to fix msvc (though further work may be needed because changes made by the merge
2010-03-09 04:32:40 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Joseph Eagar
abd16aac5a
ok, apparently didn't commit this either. apparently includes a merge with trunk/2.5 at r24811 I thought I'd committed but did not, yeek.
2009-11-29 00:53:23 +00:00
Campbell Barton
854cc87a80
option to have scripts run on startup for per blendfile UI's
2009-11-20 15:01:09 +00:00
Joseph Eagar
deebf4f8f0
merge with 2.5/trunk at r23271
2009-09-16 17:43:09 +00:00
Joseph Eagar
de7f08cc41
merge with 2.5 at r22793
2009-08-26 10:27:04 +00:00
Campbell Barton
4342235489
- Mathutils.Vector assignment wasnt working in the BGE's py api, was using getValue() rather than setValue()
...
- added GPL header to bpy_interface.c from 2.4x's BPY_interface.c
- warning fixes
2009-08-26 06:15:43 +00:00
Campbell Barton
7440fee85c
remove python2.x support
2009-08-10 00:07:34 +00:00
Joseph Eagar
479c970375
odd, this didn't get committed before
2009-07-16 22:23:01 +00:00
Guillermo S. Romero
333e231fa6
SVN maintenance.
2009-06-23 00:09:26 +00:00
Campbell Barton
025b6dcbc3
fix for building with py2.3
2009-06-18 17:34:39 +00:00
Campbell Barton
489db9994d
Some generic modules from blender 2.4x building with py3k and mostly working.
...
* Mathutils, Geometry, BGL, Mostly working, some //XXX comments for things to fix with py3
python import override (bpy_internal_import.c) so you can import python internal scripts from the BGE and running blender normally.
2009-06-17 20:33:34 +00:00