12 years agoAddes jpeg2000 support to cmake.
Kent Mein [Fri, 6 Mar 2009 15:46:13 +0000 (15:46 +0000)]
Addes jpeg2000 support to cmake.
I also did some small tweaks.  removed ifdef's for pluginapi
didn't need them there.
Fixed it so the filesel shows jp2 as image files.
(I'm going to do makefiles next)


12 years agoUpdate MSVC9 project file for VideoTexture
Benoit Bolsee [Thu, 5 Mar 2009 15:35:15 +0000 (15:35 +0000)]
Update MSVC9 project file for VideoTexture

12 years agoVideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation systems...
Benoit Bolsee [Thu, 5 Mar 2009 15:16:43 +0000 (15:16 +0000)]
VideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation systems, fix video streaming, fix camera support in Linux, add multi-thread cache service, fix crash when a VideoFFmpeg object could not be created.

The multi-thread cache service is activated only on multi-core processors.
It consists in loading, decoding and caching the video frames in a
separate thread. The cache size is 5 decoded frames and 30 raw frames.
Note that the opening of video file/stream/camera is not multi-thread:
you will still experience a delay at the VideoFFmpeg object creation.
Processing of the video frame (resize, loading to texture) is still done
in the main thread.  Caching is automatically enabled for video file,
video streaming and video camera.

Video streaming now works correctly: the videos frames are loaded
at the correct rate. Network delays and frequency drifts are automatically
Note: an http video source is always treated as a streaming source,
even though the http protocol allows seeking. For the user it means that
he cannot define start/stop range and cannot restart the video except
by reopening the source. Pause/play is however possible.

Video camera is now correctly handled on Linux: it will not slow down the BGE.
A video camera is treated as a streaming source.

12 years agoMSVC9 project file update for Bullet upgrade.
Benoit Bolsee [Thu, 5 Mar 2009 09:50:16 +0000 (09:50 +0000)]
MSVC9 project file update for Bullet upgrade.

12 years agoFix build: don't use Character stuff, it wasn't meant to be included in Blender/exter...
Erwin Coumans [Tue, 3 Mar 2009 14:31:10 +0000 (14:31 +0000)]
Fix build: don't use Character stuff, it wasn't meant to be included in Blender/extern/bullet2 distro.

12 years agoUpgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be fixed...
Erwin Coumans [Tue, 3 Mar 2009 03:41:24 +0000 (03:41 +0000)]
Upgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be fixed before Blender 2.49.
In particular, the Bullet vehicle seems broken, and some soft-body demos don't work.
No new features or benefits are added yet, but a few improvements are planned before Blender 2.49 release.

Please update the build systems, and add those 3 files:

I'll watch the Blender mailing list, in case this commit causes some issues.

12 years agominor update to be compatible with Bullet 2.74 physics:
Erwin Coumans [Mon, 2 Mar 2009 17:43:35 +0000 (17:43 +0000)]
minor update to be compatible with Bullet 2.74 physics:
btPoint3 has been deprecated, it was already a typedef to btVector3
replace std::vector by btAlignedObjectArray when storing Bullet objects, because MSVC STL implementation has some bugs, preventing to contain aligned objects
(btVector3 is 16-byte aligned, to allow SIMD)

12 years ago* fix linking problem when building WITH_BF_PLAYER=True
Nathan Letwory [Sun, 1 Mar 2009 21:23:04 +0000 (21:23 +0000)]
* fix linking problem when building WITH_BF_PLAYER=True

12 years agoLimit cascading rotations (rotation on each child of a chain) to Individual Center...
Martin Poirier [Sun, 1 Mar 2009 15:03:45 +0000 (15:03 +0000)]
Limit cascading rotations (rotation on each child of a chain) to Individual Center mode, as I thought I had done at first. :|

12 years agoBGE patch #18309 commited: Add an addObject() method to KX_Scene.
Benoit Bolsee [Sat, 28 Feb 2009 22:25:23 +0000 (22:25 +0000)]
BGE patch #18309 commited: Add an addObject() method to KX_Scene.

12 years agoBGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).
Benoit Bolsee [Sat, 28 Feb 2009 21:44:24 +0000 (21:44 +0000)]
BGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).

12 years agoMSVC9 project file: add ffmpeg avdevice lib to linker for the blenderplayer.
Benoit Bolsee [Sat, 28 Feb 2009 21:37:49 +0000 (21:37 +0000)]
MSVC9 project file: add ffmpeg avdevice lib to linker for the blenderplayer.

12 years agoBGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.
Benoit Bolsee [Sat, 28 Feb 2009 21:00:27 +0000 (21:00 +0000)]
BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.

12 years ago* blender doesn't need the -w anymore to start in a window
Campbell Barton [Sat, 28 Feb 2009 09:25:42 +0000 (09:25 +0000)]
* blender doesn't need the -w anymore to start in a window
* NULL can be used instead of () args for calling python functions from C.

12 years agoBGE Python API
Campbell Barton [Fri, 27 Feb 2009 23:53:09 +0000 (23:53 +0000)]
BGE Python API
* Scene's and GameObjects can now be printed (raised an exception)
* Added GameLogic.getSceneList()

12 years agoblender.desktop file from Rudolf Kastl
Campbell Barton [Fri, 27 Feb 2009 18:49:25 +0000 (18:49 +0000)]
blender.desktop file from Rudolf Kastl

12 years ago[18327] Fix crash when activating nodes
Nathan Letwory [Fri, 27 Feb 2009 00:08:16 +0000 (00:08 +0000)]
[18327] Fix crash when activating nodes
   - faulty linking and header file lead to crashing whenever nodes were used.

12 years agobuild blenderplayer without opennl and decimation
Campbell Barton [Thu, 26 Feb 2009 12:43:24 +0000 (12:43 +0000)]
build blenderplayer without opennl and decimation

12 years agobetter remove t1_generate_luts.c rather then in scons.
Campbell Barton [Thu, 26 Feb 2009 09:14:10 +0000 (09:14 +0000)]
better remove t1_generate_luts.c rather then in scons.

12 years agoPy BGE API
Campbell Barton [Thu, 26 Feb 2009 09:04:06 +0000 (09:04 +0000)]
Python dir(ob) for game types now includes attributes names,
* Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible
* Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro.
* Added place holder *::Attribute array, needed for the _getattr_up macro.

12 years agosmall errors in touch sensor and gameObject
Campbell Barton [Thu, 26 Feb 2009 05:17:54 +0000 (05:17 +0000)]
small errors in touch sensor and gameObject

12 years agoopenjpeg contained a C file with a main() function, user reported it was overriding...
Campbell Barton [Thu, 26 Feb 2009 04:40:00 +0000 (04:40 +0000)]
openjpeg contained a C file with a main() function, user reported it was overriding blenderplayers.
remove this file from building, other build systems should do this too.

12 years ago- Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions...
Campbell Barton [Thu, 26 Feb 2009 04:17:23 +0000 (04:17 +0000)]
- Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions, objectHit and objectHitList.
Removed a check in Python API touch.setProperty() for the property name on the sensor owner before allowing the name to be set - it makes no sense and isnt checked when creating the sensor.
- indent error making epydoc fail.

12 years agoforgot this file- remove Sumo from the menu if its disabled.
Campbell Barton [Wed, 25 Feb 2009 17:20:41 +0000 (17:20 +0000)]
forgot this file- remove Sumo from the menu if its disabled.

12 years agoNew Pulse option for the collision sensor (off by default wont change existing logic)
Campbell Barton [Wed, 25 Feb 2009 17:19:30 +0000 (17:19 +0000)]
New Pulse option for the collision sensor (off by default wont change existing logic)

Previously only the first collision would trigger an event (no collisions a negative event ofcourse)

With the Pulse option enabled, any change to the set of colliding objects will trigger an event.

Added this because there was no way to count how many sheep were on a platform in YoFrankie without running a script periodically.

Changes in collision are detected by comparing the number of objects colliding with the last event, as well as a hash made from the object pointers.

Also changed the touch sensors internal list of colliding objects to only contain objects that match the property or material.

- pulse isnt a great name, could change this.

12 years agoBuilding the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
Campbell Barton [Wed, 25 Feb 2009 12:07:51 +0000 (12:07 +0000)]
Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
Now Sumo is has been deprecated for a while we might want to remove it for 2.5.

12 years agoMinor speedups for the BGE
Campbell Barton [Wed, 25 Feb 2009 06:43:03 +0000 (06:43 +0000)]
Minor speedups for the BGE
* Where possible use vec.setValue(x,y,z) to assign values to a vector instead of vec= MT_Vector3(x,y,z), for MT_Point and MT_Matrix types too.
* Comparing TexVerts was creating 10 MT_Vector types - instead compare as floats.
* Added SG_Spatial::SetWorldFromLocalTransform() since the local transform is use for world transform in some cases.
* removed some unneeded vars from UpdateChildCoordinates functions
* Py API - Mouse, Ray, Radar sensors - use PyObjectFrom(vec) rather then filling the lists in each function. Use METH_NOARGS for get*() functions.

12 years agoremove warnings for the BGE
Campbell Barton [Wed, 25 Feb 2009 03:26:02 +0000 (03:26 +0000)]
remove warnings for the BGE
- variables that shadow vers declared earlier
- Py_Fatal print an error to the stderr
- gcc was complaining about the order of initialized vars (for classes)
- const return values for ints and bools didnt do anything.
- braces for ambiguous if  statements

12 years agobuilding the game engine without SDL works again
Campbell Barton [Tue, 24 Feb 2009 17:34:41 +0000 (17:34 +0000)]
building the game engine without SDL works again

12 years agoMaking KX_GameObject names read only.
Campbell Barton [Tue, 24 Feb 2009 12:38:56 +0000 (12:38 +0000)]
Making KX_GameObject names read only.
This was committed in revision 2832 but never accounted for existing object name hashes which existed since revision 2.

Its possible to update the names elsewhere but unlikely anyone ever used this successfully so removing.

12 years agofix for segfault when the replace mesh actuator references a mesh that has no object...
Campbell Barton [Tue, 24 Feb 2009 09:49:28 +0000 (09:49 +0000)]
fix for segfault when the replace mesh actuator references a mesh that has no object in the current scene.

12 years agoBGE Py API
Campbell Barton [Tue, 24 Feb 2009 05:50:45 +0000 (05:50 +0000)]
* Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult).

* Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator.
* Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway.

GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True)
...can be replaced with...

12 years agocompile scripts when converting controllers to give more predictable performance...
Campbell Barton [Tue, 24 Feb 2009 03:29:31 +0000 (03:29 +0000)]
compile scripts when converting controllers to give more predictable performance and print syntax errors early on rather then when the script is first executed.

12 years ago[#18291] Viewing muliple object UV's in the UV/Image editor
Campbell Barton [Mon, 23 Feb 2009 12:35:16 +0000 (12:35 +0000)]
[#18291] Viewing muliple object UV's in the UV/Image editor
patch from Chris and Guillermo S. Romero.

12 years ago[#18323] VRML import will not import colors if pervertexcolors set (comparison reversed)
Campbell Barton [Mon, 23 Feb 2009 12:17:34 +0000 (12:17 +0000)]
[#18323] VRML import will not import colors if pervertexcolors set (comparison reversed)
thanks to Ezra Peisach for fixing.

12 years agoBGE Python API
Campbell Barton [Mon, 23 Feb 2009 06:41:10 +0000 (06:41 +0000)]
BGE Python API
* fixed segfaults in CListValue.index(val) and CListValue.count(val) when the pyTypes could not be converted into a CValue.
* added scene.objects to replace scene.getObjectList()
* added function names to PyArg_ParseTuple() so errors will include the function names
* removed cases of PyArg_ParseTuple(args,"O",&pyobj) where METH_O ensures a single argument.
* Made PyObjectFrom use ugly python api rather then Py_BuildValue(), approx %40 speedup for functions that return Python vector and matrix types like ob.orientation.

12 years agoSCons
Nathan Letwory [Sun, 22 Feb 2009 20:44:36 +0000 (20:44 +0000)]
* I accidently broke the scons bit by chopping the node libs into pieces. I forgot that trunk hasn't had the nice scons cleanout I did in Blender 2.5 branch. Now everything should compile again.
  It took a while because I tried to quickly do the same cleanup, but src/ is just not cooperating, neither is stock mingw (no @commands.txt tempfilemunge goodies)

12 years agoSCons
Nathan Letwory [Sun, 22 Feb 2009 15:02:23 +0000 (15:02 +0000)]

* chop nodes library into smaller parts to have scons/mingw not puke over long command-lines (the texture nodes pushed the limits).

12 years agoBGE Py API
Campbell Barton [Sun, 22 Feb 2009 10:22:49 +0000 (10:22 +0000)]
print filename:line with ShowDeprecationWarning().
Typo in
removed 2 unneeded typedefs

12 years ago* removed typedefs that were not used (from anonymous enums and structs)
Campbell Barton [Sat, 21 Feb 2009 12:43:24 +0000 (12:43 +0000)]
* removed typedefs that were not used (from anonymous enums and structs)
* Missed some cases of using a 'char *' as an attribute
* replace BGE's Py_Return macro with Pythons Py_RETURN_NONE
* other minor warnings removed

12 years ago[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers
Andre Susano Pinto [Sat, 21 Feb 2009 12:15:57 +0000 (12:15 +0000)]
[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers

particleInstanceModifier_applyModifier uses getVertCo,which is not implemented by ccgDM.

getVertCo was used to simply perform a min/max, so it was fixed to use the apropriate min/max
dm->getMinMax(dm, min_r, max_r);

Maybe the fact ccgDM doesn't implements getVertCo/getVertNo is a bug, since it implements every
other DM function and its strange those are left out.

12 years ago[#18058] Black dots appear when blender renders with multi-thread and material nodes
Campbell Barton [Sat, 21 Feb 2009 04:42:46 +0000 (04:42 +0000)]
[#18058] Black dots appear when blender renders with multi-thread and material nodes
Without thread locking the function that allocates new threads, black dots appear in renders.

This wont affect composite nodes,
Ton/Brecht - this is possibly too many lock/unlocks but I timed the render from the bug report and it didn't make a noticeable difference.

12 years agobugfix [#17941] Attempting to change path of audio to relative fails.
Campbell Barton [Sat, 21 Feb 2009 03:02:39 +0000 (03:02 +0000)]
bugfix [#17941] Attempting to change path of audio to relative fails.

12 years agoMSVC9 project files: reactivate VideoTexture module in BGE; it that was disabled...
Benoit Bolsee [Thu, 19 Feb 2009 23:15:27 +0000 (23:15 +0000)]
MSVC9 project files: reactivate VideoTexture module in BGE; it that was disabled for some reason.

12 years agoBGE API Cleanup: distinction between array and list of values in KX_PYATTRIBUTE macro...
Benoit Bolsee [Thu, 19 Feb 2009 23:13:41 +0000 (23:13 +0000)]
BGE API Cleanup: distinction between array and list of values in KX_PYATTRIBUTE macros. Fix compilation problem under Windows with strcasecmp: define it as stricmp

12 years agoBGE Python API
Campbell Barton [Thu, 19 Feb 2009 13:42:07 +0000 (13:42 +0000)]
BGE Python API
Use 'const char *' rather then the C++ 'STR_String' type for the attribute identifier of python attributes.

Each attribute and method access from python was allocating and freeing the string.
A simple test with getting an attribute a loop shows this speeds up attribute lookups a bit over 2x.

12 years ago"object" and "objectLastCreated" attribute for actuators, deprecates getObject/setObj...
Campbell Barton [Thu, 19 Feb 2009 10:34:51 +0000 (10:34 +0000)]
"object" and "objectLastCreated" attribute for actuators, deprecates getObject/setObject() & getLastCreatedObject()
also removed some warnings

12 years agoAccept negative indices's for ListValues
Campbell Barton [Thu, 19 Feb 2009 07:01:49 +0000 (07:01 +0000)]
Accept negative indices's for ListValues
  scene.getObjectList()[-1] works like a python sequence.

removed some STR_String creation that was only used to do comparisons, in a simple expressions benchmark this made logic use 4% less overall.

12 years agomore uninitialized variables and auto-complete could copy a string over its self.
Campbell Barton [Wed, 18 Feb 2009 05:49:51 +0000 (05:49 +0000)]
more uninitialized variables and auto-complete could copy a string over its self.

12 years agouninitialized variable used in mesh_foreachScreenVert__mapFunc
Campbell Barton [Wed, 18 Feb 2009 04:43:12 +0000 (04:43 +0000)]
uninitialized variable used in mesh_foreachScreenVert__mapFunc

12 years agodisable texture clamping while painting.
Campbell Barton [Wed, 18 Feb 2009 03:56:16 +0000 (03:56 +0000)]
disable texture clamping while painting.

12 years ago[#18159] Path -> toggle cyclic -> toggle cyclic again == path corrupted
Campbell Barton [Wed, 18 Feb 2009 03:13:57 +0000 (03:13 +0000)]
[#18159] Path -> toggle cyclic -> toggle cyclic again == path corrupted
was not recalculating the knots when the cyclic flag was disabled so the endpoint flag was being ignored until recalculating (extrude for eg).

Also removed unneeded re-allocation of curve knots which are always reallocated by makeknots.

Fixed another bug with which recalculating knots with the Python surface api. (mixed up u/v args to makeknots(..) )

12 years agopython api bugfix,
Campbell Barton [Tue, 17 Feb 2009 14:41:36 +0000 (14:41 +0000)]
python api bugfix,
forgot to remove the cast from short to long when making x,y aspect floats.

12 years agofix for [#17972] Saving/Loading Radiance HDR changes colors
Campbell Barton [Tue, 17 Feb 2009 04:32:49 +0000 (04:32 +0000)]
fix for  [#17972] Saving/Loading Radiance HDR changes colors
removed HDR loop that loaded 8bit color channels (which was incorrect)
and added a call to IMB_rect_from_float at the end.

This also means that char buffers wont be created if they are not needed.

12 years ago[#17991] Anim rendered in BMP format won't play back
Campbell Barton [Tue, 17 Feb 2009 04:11:20 +0000 (04:11 +0000)]
[#17991] Anim rendered in BMP format won't play back
fix from Sebastian Kochman (raiq)  - [#18022]

12 years agobugfix [#18003] Rev-17473: Scene sets doesn't work in links
Campbell Barton [Tue, 17 Feb 2009 03:43:56 +0000 (03:43 +0000)]
bugfix [#18003] Rev-17473: Scene sets doesn't work in links

12 years agoSCons:
Nathan Letwory [Sun, 15 Feb 2009 23:26:00 +0000 (23:26 +0000)]
* giving compileflags, cc_compileflags and cxx_compileflags to BlenderLib() now actually overrides any other setting (so there's no unclarity when ie. conflicting options are being specified in REL_CFLAGS et al). These are set after either release or debug flags, but before any *_WARN flags (so those stay maintained).
* add cxx_compileflags for GE parts on win32-vc to have better performance.
* NOTE: if platform maintainers (OSX and Linux) could check and do the same for their systems. Not vital, but probably very, very much welcomed by GE users.

12 years agoBGE bug #18137 fixed: When two actors collide in this blend file the blender crashes.
Benoit Bolsee [Sun, 15 Feb 2009 19:07:27 +0000 (19:07 +0000)]
BGE bug #18137 fixed: When two actors collide in this blend file the blender crashes.

12 years ago[#18209] 3 VSE crash bugs with .blends (all left click and move mouse over Metastrip...
Campbell Barton [Fri, 13 Feb 2009 06:24:15 +0000 (06:24 +0000)]
[#18209] 3 VSE crash bugs with .blends (all left click and move mouse over Metastrip/Blend Mode related)

Workaround for a bug where dragging the playhead over a metastrip with blending on it could segfault blender.
Tried to figure out why the imbuf rect is not set, but for now a NULL check stops the crash.

12 years agoadd some more modifier types and access to shrink wrap target object (but no other...
Campbell Barton [Thu, 12 Feb 2009 16:27:19 +0000 (16:27 +0000)]
add some more modifier types and access to shrink wrap target object (but no other shrink wrap settings)

12 years agoAccording to Amir Ebrahimi, fbx vertex color is supposed to be between 0.0 and 1...
Campbell Barton [Thu, 12 Feb 2009 01:46:38 +0000 (01:46 +0000)]
According to Amir Ebrahimi, fbx vertex color is supposed to be between 0.0 and 1.0 rather then 0-255
At the moment I dont have a way to test this.

12 years agoOnce a linked image was selected, from a texture there was no way to switch to a...
Campbell Barton [Wed, 11 Feb 2009 08:16:42 +0000 (08:16 +0000)]
Once a linked image was selected, from a texture there was no way to switch to a local image because the dropdown was blocked with a linked library error message.

Remove linked library checking from this image selector, this isn't quite correct since the texture could be linked too, however there is no access to the texture data (or other users) when this button is drawn.

12 years agodpx/cineon was using the OUTPUT settings when loading DPX - white point, blackpoint...
Campbell Barton [Tue, 10 Feb 2009 02:43:35 +0000 (02:43 +0000)]
dpx/cineon was using the OUTPUT settings when loading DPX - white point, blackpoint, gamma, log.
Allow DPX's with different color channel types to load, even if they are unsupported.

Saving log DPX's is broken, the header will always be written with log off because dpxCreate is called before the image presets are set. However there is no access to image presets before running dpxCreate() so log data is written but the header always sets it off.
Made a fix for this but couldn't test because it seems loading log images is also broken.

Enable verbose DPX output when '-d' debug flag is used.

12 years ago- Py seq API - Added an option for seq_strip.update() to run update_changed_seq_and_d...
Campbell Barton [Mon, 9 Feb 2009 04:18:30 +0000 (04:18 +0000)]
- Py seq API - Added an option for seq_strip.update() to run update_changed_seq_and_deps and new_tstripdata

- Render stamp sequencer option wasn't ignoring muted strips.

12 years ago== Sequencer ==
Peter Schlaile [Sun, 8 Feb 2009 19:54:11 +0000 (19:54 +0000)]
== Sequencer ==

Fix for the transform fix. It's getting late...

12 years ago== Sequencer ==
Peter Schlaile [Sun, 8 Feb 2009 19:28:12 +0000 (19:28 +0000)]
== Sequencer ==

Fixed proxy scale problems in transform effect

12 years ago== REDCODE ==
Peter Schlaile [Sun, 8 Feb 2009 19:13:29 +0000 (19:13 +0000)]

Fixed 64bit issues. sizeof(unsigned long) = 8 on 64 bit machines,
shame on me...

12 years ago== REDCODE ==
Peter Schlaile [Sun, 8 Feb 2009 09:07:36 +0000 (09:07 +0000)]

* Fixed ntohl dependency (and hopefully 64bit issues)
* Video length detection fixed (tests for picture presence)

12 years agoUpdate MSVC9 project files
Benoit Bolsee [Sat, 7 Feb 2009 20:47:23 +0000 (20:47 +0000)]
Update MSVC9 project files

12 years agoBGE Py API cleanup: Camera Actuator.
Benoit Bolsee [Sat, 7 Feb 2009 20:35:16 +0000 (20:35 +0000)]
BGE Py API cleanup: Camera Actuator.

12 years agoFix for bug #18228: OpenGL specular did not get the correct view
Brecht Van Lommel [Fri, 6 Feb 2009 19:21:24 +0000 (19:21 +0000)]
Fix for bug #18228: OpenGL specular did not get the correct view
vector in perspective mode. This is default OpenGL behavior, but
by now this optimization is really insignificant. Works in both
the 3d view and game engine.

12 years agoAdded Scale, fixed bugs incl. patch #18037
Robin Allen [Fri, 6 Feb 2009 18:09:35 +0000 (18:09 +0000)]
Added Scale, fixed bugs incl. patch #18037

12 years ago[#18257] Workaround for bug in freealut 1.1.0
Campbell Barton [Fri, 6 Feb 2009 16:38:53 +0000 (16:38 +0000)]
[#18257] Workaround for bug in freealut 1.1.0
by Jörg Müller (nexyon)

Since this area is not maintained, I can only say it works on my system (linux/32bit)
And nexyon assured me he checked over this patch well.
Blender using the deprecated function is not great, but nexyon's bugfix would not be available until the next version of freealut so better to work around it by using the new function.

Please test game sounds play back on win32 and Mac, in cases that it worked in the first place.

12 years ago2.4x Sequencer Python API
Campbell Barton [Fri, 6 Feb 2009 14:03:29 +0000 (14:03 +0000)]
2.4x Sequencer Python API
- add metastrips now possible
- access to speed options
- access to wipe options
- added seq.startDisp seq.endDisp seq.update()

12 years agoPatch #18015, adds "Value to Normal" node
Robin Allen [Fri, 6 Feb 2009 01:21:38 +0000 (01:21 +0000)]
Patch #18015, adds "Value to Normal" node

12 years agoAdded compose/decompose, fixed bugs.
Robin Allen [Fri, 6 Feb 2009 00:55:38 +0000 (00:55 +0000)]
Added compose/decompose, fixed bugs.

12 years agoBugfix #18251
Ton Roosendaal [Wed, 4 Feb 2009 17:56:31 +0000 (17:56 +0000)]
Bugfix #18251

Patch from Konrad Kleine

After read-home file (or restore factory settings) the opengl
lights have to be reset.

12 years agoRelative option for the blur node only applied when the UI updated.
Campbell Barton [Wed, 4 Feb 2009 06:41:48 +0000 (06:41 +0000)]
Relative option for the blur node only applied when the UI updated.
This meant that changing the image size later on would still use the old size.

Set the relative blur size when executing the node too.

12 years agoAllow enter/exit editmode in background mode. (asking for trouble doing this but...
Campbell Barton [Tue, 3 Feb 2009 12:31:40 +0000 (12:31 +0000)]
Allow enter/exit editmode in background mode. (asking for trouble doing this but the checks are simple)

12 years agopatch for by author jms:
Remigiusz Fiedler [Mon, 2 Feb 2009 00:31:46 +0000 (00:31 +0000)]
patch for by author jms:
This patch solves some major problems of the svg script :
- reading of the inkscape svg format
- parsing of the scientific numbers
- redundant arc data in the same path for only one command "a"
- blending of curves after several files import and at the end a more correct management of the current point.

12 years agoFix revision: 18690, bug #17850
Diego Borghetti [Fri, 30 Jan 2009 21:01:18 +0000 (21:01 +0000)]
Fix revision: 18690, bug #17850

The problem was that Qt convert the text to the type
STRING or UTF8, that is why Blender can't get the text,
now should be work fine.

12 years ago[#18241] Very minor bugfix and typo correction for wavefront obj exporter and importe...
Campbell Barton [Fri, 30 Jan 2009 02:01:16 +0000 (02:01 +0000)]
[#18241] Very minor bugfix and typo correction for wavefront obj exporter and importer python scripts
from Michael Judd.

Also removed .keys() for a loop in since its the default dictionary iterator.

12 years agobug fix softbody wind
Jens Ole Wund [Wed, 28 Jan 2009 12:34:22 +0000 (12:34 +0000)]
bug fix softbody wind
-compensating factor 1000 that comes from
pdDoEffectors() since Aug 2008
-give  particles and soft body vertices the same
polarity on force fields.

12 years agoFix for bug #18087: Editing of object name and modifiers did not
Brecht Van Lommel [Tue, 27 Jan 2009 22:09:23 +0000 (22:09 +0000)]
Fix for bug #18087: Editing of object name and modifiers did not
work in editing buttons if the object data was linked.

12 years agoFix for bug #18167: setting Constraint.Settings.SCRIPT checked for type
Brecht Van Lommel [Tue, 27 Jan 2009 21:26:31 +0000 (21:26 +0000)]
Fix for bug #18167: setting Constraint.Settings.SCRIPT checked for type
Object rather than Text so did not work when assigning a text to it.

12 years agoFix for bug #18183: crash when using "Bake Constraints" script. The constraint
Brecht Van Lommel [Tue, 27 Jan 2009 21:19:19 +0000 (21:19 +0000)]
Fix for bug #18183: crash when using "Bake Constraints" script. The constraint
remove function was not working correct, this code uses a pretty bad hack, did
not clean it up, but at least it should work now.

12 years agoFix for bug #17961: crash with material copy/past and GLSL.
Brecht Van Lommel [Tue, 27 Jan 2009 20:17:32 +0000 (20:17 +0000)]
Fix for bug #17961: crash with material copy/past and GLSL.

12 years agoFix for bug #18066: made UV Unwrap > Reset same as the default UV
Brecht Van Lommel [Tue, 27 Jan 2009 19:59:12 +0000 (19:59 +0000)]
Fix for bug #18066: made UV Unwrap > Reset same as the default UV
coordinates when creating a new layer.

12 years ago[#17850] Copying text from Eric4 to Blender crashes Blender
Campbell Barton [Tue, 27 Jan 2009 08:17:35 +0000 (08:17 +0000)]
[#17850] Copying text from Eric4 to Blender crashes Blender
The crash is caused by calling XGetWindowProperty when is zero.
Not a proper fix because clipboard can paste the data without trouble.

12 years agolet the game engine compile, if WITH_FFPEG is not defined (so we don't have video...
Erwin Coumans [Mon, 26 Jan 2009 06:31:06 +0000 (06:31 +0000)]
let the game engine compile, if WITH_FFPEG is not defined (so we don't have video textures in that case)

12 years ago== Python: Space Handler Scriptlinks ==
Willian Padovani Germano [Sun, 25 Jan 2009 17:49:39 +0000 (17:49 +0000)]
== Python: Space Handler Scriptlinks ==

Bugfix (patch #18216)

I made a mistake on my previous try to fix this. I fixed something, tested, decided I should move the call to run spacehandlers to a better place, but missed removing the old call (ugh). Thanks Steven Truppe (rocketmagnet) for emailing me about it and for the patch.

12 years agoBGE patch 18211: Bug Fix for: [#18175] error on anaglyph view of a splitted viewport.
Benoit Bolsee [Sat, 24 Jan 2009 21:19:35 +0000 (21:19 +0000)]
BGE patch 18211: Bug Fix for: [#18175] error on anaglyph view of a splitted viewport.

12 years ago* make sure openjpeg stuff compiles and links properly.
Nathan Letwory [Sat, 24 Jan 2009 18:09:03 +0000 (18:09 +0000)]
* make sure openjpeg stuff compiles and links properly.
  - since we use this only as statically linked, I took out
    some confusing #ifdefs.

12 years agojpeg2000 commit missed the 2 most important files.
Campbell Barton [Sat, 24 Jan 2009 10:19:29 +0000 (10:19 +0000)]
jpeg2000 commit missed the 2 most important files.

12 years ago[#18164] jpeg2000 patch, with some fixes from Peter too.
Campbell Barton [Fri, 23 Jan 2009 21:08:01 +0000 (21:08 +0000)]
[#18164] jpeg2000 patch, with some fixes from Peter too.

Support for jpeg2000 and writing DCI Cinema standard files.

* 12 and 16bit channel depths are converted from/to blenders float buffer.
* Grayscale/RGB with alpha supported.
* Theres an option to save color channels as YCC rather then RGB.
* Quality 100 saves lossless
* The UI is a bit weired because of the DCI standards need to be given to the encoder.

12 years agoBGE API cleanup: shape action actuator.
Benoit Bolsee [Thu, 22 Jan 2009 17:40:47 +0000 (17:40 +0000)]
BGE API cleanup: shape action actuator.

12 years ago== Scripts ==
Willian Padovani Germano [Wed, 21 Jan 2009 15:45:31 +0000 (15:45 +0000)]
== Scripts ==

- Scripts Help Browser: error parsing doc info wrapped in triple single quotes, like done in the 3ds importer. Thanks Jean-Michel (jms) for informing me about it.

12 years agoBGE API cleanup: action actuator.
Benoit Bolsee [Wed, 21 Jan 2009 13:54:53 +0000 (13:54 +0000)]
BGE API cleanup: action actuator.

12 years agoBugfix: Transform Snap
Martin Poirier [Sun, 18 Jan 2009 22:09:29 +0000 (22:09 +0000)]
Bugfix: Transform Snap

Would crash if snapping from a mesh in edit mode to a group instance including that same mesh.

Reported by UncleZeiv on IRC

12 years agominor corrections
Campbell Barton [Fri, 16 Jan 2009 10:51:30 +0000 (10:51 +0000)]
minor corrections