Benoit Bolsee
7f5073729f
Bullet bug fix: bad pointer in btCompoundShape::addChildShape() - patch submited to Bullet forum. This bug fix is needed in preparation of the setparent coumpound shape patch.
2009-01-13 22:21:04 +00:00
Campbell Barton
b71bc3a2f3
patch from Thomas Dinges, update URLs in help scripts
2009-01-13 15:48:27 +00:00
Campbell Barton
0066b6a8aa
fix for big in yesterdays commit, color values were not initialized
2009-01-13 05:55:48 +00:00
Campbell Barton
d0b953d860
can now add sequencer effects with the python api
...
also fixed crashes when incorrect args were used
cross = 13; track= 5; frame = 1 # no effect constants
scene.sequence.new((cross, seq1, seq2), frame, track)
2009-01-12 15:58:32 +00:00
Campbell Barton
ae15fc5e46
[ #18082 ] make uvcalc_follow_active_coords.py bypass the gui and accept arguments when called from another script
...
from Bill N (slow67)
Also made uvcalc_quad_clickproj.py and uvcalc_follow_active_coords.py add UV's if they didn't exist.
2009-01-12 04:07:06 +00:00
Willian Padovani Germano
278d6758ea
== Scripts ==
...
- Scripts Help Browser: Brendon Murphy requested and Kevin Morgan implemented a "run script" button.
- AC3D importer: option to store emis color from .ac file in mirror color in Blender (the exporter has the option to export mirror color as emis). Patch by Francesco Brisa.
Thanks for the contributions.
2009-01-11 16:13:00 +00:00
Campbell Barton
fc12ec2317
don't raise exceptions on some errors unless debugging
2009-01-07 11:27:17 +00:00
Campbell Barton
5296928728
confusion between Inline and externproto nodes
2009-01-07 03:34:12 +00:00
Campbell Barton
70c5417ed6
Added support for EXTERNPROTO's and fixed a bug where relative Inline URL's that included a path didn't load
2009-01-06 12:30:28 +00:00
Campbell Barton
823aa30cba
string extraction wasnt working + minor changes
2009-01-06 08:58:45 +00:00
Campbell Barton
49b5edddd4
left testing lines uncommitted by mistake
2009-01-05 10:54:26 +00:00
Campbell Barton
ee7a52b7fe
added static python option for mingw
2009-01-05 03:26:18 +00:00
Campbell Barton
e64b8599e1
C files reference "libredcode/format.h", which only exist in extern/libredcodec/format.h, so for now adding "extern/" as an include when redcode is enabled lets it compile,
...
noticed there are some win32 ifdef's that don't do anything.
should be fixed properly but this at least compiles for now.
2009-01-04 07:56:51 +00:00
Campbell Barton
92ab0c0369
[ #18142 ] Blender FBX export outputs broken vertex colors when using vertex paint
...
from Kevin Hsu (caywen)
use fix suggested in report
2009-01-03 14:02:14 +00:00
Benoit Bolsee
9ce30005de
BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
2009-01-02 22:15:05 +00:00
Benoit Bolsee
10702bf93f
BGE API cleanup: more bricks converted to attributes.
2009-01-02 22:09:57 +00:00
Benoit Bolsee
cc569504d0
BGE API Cleanup: update the python attribute definition framework.
...
* Value clamping to min/max is now supported as an option for integer, float
and string attribute (for string clamping=trim to max length)
* Post check function now take PyAttributeDef parameter so that more
generic function can be written.
* Definition of SCA_ILogicBrick::CheckProperty() function to check that
a string attribute contains a valid property name of the parent game object.
* Definition of enum attribute vi KX_PYATTRIBUTE_ENUM... macros.
Enum are handled just like integer but to be totally paranoid, the sizeof()
of the enum member is check at run time to match integer size.
* More bricks updated to use the framework.
2009-01-02 17:43:56 +00:00
Campbell Barton
abd4934d1a
fix for a memory leak in NMesh (deprecated api) while looking at bug report...
...
[#18139 ] Memory Leaks while using Py_BuildValue
2009-01-01 16:18:54 +00:00
Benoit Bolsee
2dfd34994f
BGE API cleanup: introduction of a generic framework to link Python attributes to logic brick class member. See KX_PYATTRIBUTE macros in PyObjectPlus.h.
2008-12-31 20:35:20 +00:00
Campbell Barton
eee013d9b9
use higher precession pi
2008-12-31 02:13:38 +00:00
Benoit Bolsee
cbceb6c8b2
BGE API cleanup: more consistent type check on set attribute (mouse and keyboard so far). Check type after name so that the user get a type error when assigning a wrong type to a built-in attribute.
2008-12-30 16:44:34 +00:00
Campbell Barton
cbc3c7e878
script was adding UV's rather then vertex Colors (this was correct before uv & vcol layers existed)
2008-12-30 08:25:36 +00:00
Campbell Barton
bd97dd0846
mistake in previous commit, stopped CurNurbs from appending
2008-12-30 05:00:19 +00:00
Benoit Bolsee
1c663bbc7e
First batch of GE API cleanup.
...
The principle is to replace most get/set methods of logic bricks by direct property access.
To make porting of game code easier, the properties have usually the same type and use than
the return values/parameters of the get/set methods.
More details on http://wiki.blender.org/index.php/GameEngineDev/Python_API_Clean_Up
Old methods are still available but will produce deprecation warnings on the console:
"<method> is deprecated, use the <property> property instead"
You can avoid these messages by turning on the "Ignore deprecation warnings" option in Game menu.
PyDoc is updated to include the new properties and display a deprecation warning
for the get/set methods that are being deprecated.
2008-12-29 16:36:58 +00:00
Benoit Bolsee
d91daaa5f6
MSVC project file update for ffmpeg device lib, release build
2008-12-29 14:26:36 +00:00
Campbell Barton
aa56346b12
* disable back buffer selection drawing while projection painting (was redoing for every update while painting)
...
* remove unneeded return from game engines py api - ConvertPythonToGameObject
2008-12-24 21:53:15 +00:00
Campbell Barton
cbebe4ad46
* bpy curve api wouldn't give correct errors for bad arguments when appending nurbs.
...
* the radius on the curves first point was ignored.
* mesh_edges2curves.py was giving all points a tilt of 1.0
2008-12-24 15:46:26 +00:00
Campbell Barton
3a4ead8f0f
fix for own mistake - [ #18119 ] Texture Paint: "clone from layer" button not drawn in buttons window
2008-12-24 02:06:34 +00:00
Campbell Barton
5a96981cc6
improved PROTO support, works for many testfiles now.
2008-12-23 06:47:43 +00:00
Benoit Bolsee
05fc2aa9da
pose_grab_with_ik_clear(): fix bug with memory used after being freed.
2008-12-22 16:56:14 +00:00
Campbell Barton
6158762797
WIP - support for VRML PROTO's
2008-12-22 15:05:07 +00:00
Joshua Leung
601fb5e6fa
Bugfix - Fixed crashes in Action Editor on Ctrl-L due to missing NULL checks.
2008-12-22 10:52:17 +00:00
Campbell Barton
f288a43457
define WITH_CCGSUBSURF isnt used anymore
2008-12-21 03:11:32 +00:00
Campbell Barton
eb1d0e139f
Bugfix since rev 2, BLO_setversionnumber() was using sizeof(array), which gives the sizeof the pointer, not the array.
...
On a 64bit system I assume this would set 8 chars of a 4 char array.
Turns out this isnt such a problem since BLO_setversionnumber isn't used anymore but way as well commit.
2008-12-20 17:09:45 +00:00
Campbell Barton
c67d26602f
id prop update function was receiving a tuple when it only needed a single arg
2008-12-20 08:41:46 +00:00
Campbell Barton
630c16feb7
patch [ #18110 ] [patch] Update blenderplayer.exe -h text
...
from Mitchell Stokes (moguri)
2008-12-20 07:12:38 +00:00
Benoit Bolsee
5881922bc5
Add G_FILE_IGNORE_DEPRECATION_WARNINGS option to G.fileflags in preparation of BGE python API cleanup
2008-12-19 20:35:53 +00:00
Campbell Barton
3c9ae035fb
Typo was making actuator.getExecutePriority() crash
2008-12-19 03:26:41 +00:00
Daniel Genrich
a755342b14
Bugfix for crash with loading fluidsim files, reported by Gimble3d and nudelZ
2008-12-18 22:08:57 +00:00
Benoit Bolsee
04ef5be177
FFmpeg upgrade to revision 12758 (avformat version 52.13): support libavdevice for video capture in VideoTexture module (BGE). Makefile, CMake, scons updated. FFmpeg binaries will have to be rebuilt for certain OS (irix), win32 binaries already up to date. You MUST do a clean rebuild after this patch. Scons users: pay attention that the config/<os>-config.py files have changed, adapt your user-config.py in consequence
2008-12-17 20:52:39 +00:00
Nathan Letwory
3c886d7c38
* commit r17900 by Genscher was wrong.
...
- Instead of defining such defines for the entire codebase in Blender.py, add
the right checks and definitions to the places where it matters.
- Only check+set WITH_BULLET instead of also GAMEBLENDER=1
- NOTE: No global defines allowed in BlenderLib.
2008-12-17 05:40:40 +00:00
Daniel Genrich
9776749438
Reverting revision 17417 which broke cloth collisions which check also in blenkernel/intern for WITH_BULLET
2008-12-17 00:41:07 +00:00
Joshua Leung
7714f17eca
Applying scons compiling fix for windows/mingw (to get compiler warnings to show up). This has already been applied in other branches too
2008-12-16 22:57:15 +00:00
Campbell Barton
882d85a968
Patch from Banlu Kemiyatorn
...
replace VecMulf(var,-1) with new VecNegf(var) function.
2008-12-16 12:32:10 +00:00
Campbell Barton
4da3c4b9d5
fix for [bf-blender-Bug Tracker][18089] scons compiling bug
...
and removed unused vars
2008-12-16 11:26:55 +00:00
Chris Want
024b4b3dda
B
...
Linking of blenderplayer was failing with unresolved symbols
(initVideoTexture) when building without FFMPEG. Needs
testing with SCons and Makefiles.
2008-12-15 20:53:45 +00:00
Chris Want
b99f74c8e8
Make sure that WITH_OPENEXR is defined when sources are configured
...
with OpenEXR in the CMake system. This is a compilation fix from
Miguel A. Figueroa Villanueva for building Debug versions of Blender
using OpenEXR (thanks!).
2008-12-15 17:47:57 +00:00
Ton Roosendaal
4d21036829
bugfix #17989
...
Patch from Xavier Thomas.
Compositor, filter node, had shifted output when used on single-value
buffers.
2008-12-15 08:37:39 +00:00
Campbell Barton
d99686a783
Touch/NoOverwrite options were not disabled for video.
2008-12-15 08:29:31 +00:00
Ken Hughes
ba6972eb4d
Python API
...
----------
Bugfix #18044 : missing return statements in getter for displacement modifier
caused incorrect values to be returned.
2008-12-15 05:30:09 +00:00