blender.git
10 years agoBugfix: saved game engine runtimes failed to load library .blend
Brecht Van Lommel [Thu, 11 Sep 2008 13:00:54 +0000 (13:00 +0000)]
Bugfix: saved game engine runtimes failed to load library .blend
files with relative paths.

10 years agoFix for bug #17602: 32 bit bmp files were read with red and blue swapped.
Brecht Van Lommel [Thu, 11 Sep 2008 11:30:32 +0000 (11:30 +0000)]
Fix for bug #17602: 32 bit bmp files were read with red and blue swapped.

10 years agoFix for bug #17593: glsl crash using a texture node without a
Brecht Van Lommel [Thu, 11 Sep 2008 10:17:17 +0000 (10:17 +0000)]
Fix for bug #17593: glsl crash using a texture node without a
texture assigned.

10 years agoCompiler warning fixes (mingw)
Joshua Leung [Thu, 11 Sep 2008 06:17:21 +0000 (06:17 +0000)]
Compiler warning fixes (mingw)

10 years agoBPY api addition material.freeNodes() - use to cleanup apricot files, since there...
Campbell Barton [Thu, 11 Sep 2008 01:51:45 +0000 (01:51 +0000)]
BPY api addition material.freeNodes() - use to cleanup apricot files, since there is no way to remove a node tree via the UI, unused materials and duplicate images were hanging around.
buttons_logic - gave the name a but more room then the controller type, better for documentation screenshots.

10 years agoTools
Ken Hughes [Wed, 10 Sep 2008 23:22:12 +0000 (23:22 +0000)]
Tools
---------
Fix user counting for particles.  id.us was not being decremented when using
the browser to replace current particle system.

10 years agoremoved debug print
Campbell Barton [Wed, 10 Sep 2008 22:49:11 +0000 (22:49 +0000)]
removed debug print

10 years agoScripts
Ken Hughes [Wed, 10 Sep 2008 21:37:22 +0000 (21:37 +0000)]
Scripts
-------
Removed empty parenthesis from class definitions, causes a syntax error in
Python 2.4 (reported by Sanne on IRC, thanks!)

10 years agoBugfix [#17594] separated mesh crash
Daniel Genrich [Wed, 10 Sep 2008 15:51:10 +0000 (15:51 +0000)]
Bugfix [#17594] separated mesh crash

10 years agoBugfix for [#17561] when i try to change the particle to hair I cant choose group...
Daniel Genrich [Wed, 10 Sep 2008 15:25:06 +0000 (15:25 +0000)]
Bugfix for [#17561] when i try to change the particle to hair I cant choose group or object as viz; Bugfix for mat[4][4] equal to zero resulting in no duplis --> Important: Janne could you check that fixes?

10 years agoThis is patch:
Kent Mein [Wed, 10 Sep 2008 15:07:20 +0000 (15:07 +0000)]
This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps

It just updates the dds stuff.

Provided by Amorilia

Kent

10 years agoFix for bug #8132: on Mac OS X 10.5 with Nvidia cards drawing
Brecht Van Lommel [Wed, 10 Sep 2008 13:02:58 +0000 (13:02 +0000)]
Fix for bug #8132: on Mac OS X 10.5 with Nvidia cards drawing
background images and node previews goes wrong. The exact cause
of that is not sure, may be a driver bug, workaround is to fall
back to another slower function.

10 years agoBugfix:
Joshua Leung [Wed, 10 Sep 2008 12:04:20 +0000 (12:04 +0000)]
Bugfix:

There were too many undo events being added for IPO Editor when selecting items with the mouse. Removed deselectall_editipo()'s undo push, as it was never called standalone anyway.

10 years agoBugfix #17495: IPO curve handles go haywire
Joshua Leung [Wed, 10 Sep 2008 11:45:42 +0000 (11:45 +0000)]
Bugfix #17495: IPO curve handles go haywire

When editing IPO curve handles on a curve that belongs to a NLA-strip with repeat != 1 and 'AutoMerge Keyframes' on, the scaling correction was causing more problems than it was worth.

10 years agoImplement softbody function for modifier_depeends_on_time()
Daniel Genrich [Wed, 10 Sep 2008 11:42:07 +0000 (11:42 +0000)]
Implement softbody function for modifier_depeends_on_time()

10 years agoBugfix [#12033] Cloth and Softbody don't work with Object Actions (fix pointed out...
Daniel Genrich [Wed, 10 Sep 2008 11:40:30 +0000 (11:40 +0000)]
Bugfix [#12033] Cloth and Softbody don't work with Object Actions (fix pointed out by Aligorith. Ton: You might like to look over this)

10 years agoBugfix [#17592] Complex particle system crash
Daniel Genrich [Wed, 10 Sep 2008 11:38:19 +0000 (11:38 +0000)]
Bugfix [#17592] Complex particle system crash

10 years agoFix for bug #17589: removing a lamp in the game engine with glsl
Brecht Van Lommel [Wed, 10 Sep 2008 09:51:06 +0000 (09:51 +0000)]
Fix for bug #17589: removing a lamp in the game engine with glsl
materials did not work correct.

10 years ago2 gamelogic templates, one with example functions and comments, another minimal templ...
Campbell Barton [Wed, 10 Sep 2008 03:34:08 +0000 (03:34 +0000)]
2 gamelogic templates, one with example functions and comments, another minimal template for those who know the api.

10 years agoBPY merge from apricot branch.
Campbell Barton [Wed, 10 Sep 2008 01:17:03 +0000 (01:17 +0000)]
BPY merge from apricot branch.
work around non unix line endings using pythons execfile() function rather then loading the binary data and manually stripping the line endings.

10 years agoBGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on...
Benoit Bolsee [Tue, 9 Sep 2008 22:40:10 +0000 (22:40 +0000)]
BGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on setParent(). Add python setWorldPosition() to allow setting object position in world coordinate regardless if it is a root or a child object.

10 years agoBugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything
Daniel Genrich [Tue, 9 Sep 2008 21:46:19 +0000 (21:46 +0000)]
Bugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything

10 years agoPatch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer...
Benoit Bolsee [Tue, 9 Sep 2008 21:15:30 +0000 (21:15 +0000)]
Patch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer, using -i as input parameter to pass embedder window id. create a minimal web plugin to embed blenderplayer on web pages (using gecko/mozilla as browser). Only for *nix.

10 years agoPython API
Ken Hughes [Tue, 9 Sep 2008 20:52:18 +0000 (20:52 +0000)]
Python API
----------
Bugfix #14425.  Particle.Get() could return a list of invalid items.  The API
still needs more work, but for now throw an NotImplemented exception.

10 years agoFix for bug #14775: memorblock end corrupt print, needed to allocate
Brecht Van Lommel [Tue, 9 Sep 2008 20:19:00 +0000 (20:19 +0000)]
Fix for bug #14775: memorblock end corrupt print, needed to allocate
one byte more for the align menu string 0 terminator.

10 years agoFix for bug #17588: crash with ctrl+a and no active object.
Brecht Van Lommel [Tue, 9 Sep 2008 20:09:54 +0000 (20:09 +0000)]
Fix for bug #17588: crash with ctrl+a and no active object.

10 years agoFix for bug #17443: make bone heat weighting solve a bit less
Brecht Van Lommel [Tue, 9 Sep 2008 20:00:57 +0000 (20:00 +0000)]
Fix for bug #17443: make bone heat weighting solve a bit less
sensitive to poorly shaped geometry, should succeed solving
in more cases now.

10 years agoBugfix for [#17329] Bevel Weights are lost after Subsurf
Daniel Genrich [Tue, 9 Sep 2008 18:44:10 +0000 (18:44 +0000)]
Bugfix for [#17329] Bevel Weights are lost after Subsurf

10 years agoFix for bug #12132: vector blur with fast moving objects does
Brecht Van Lommel [Tue, 9 Sep 2008 17:27:01 +0000 (17:27 +0000)]
Fix for bug #12132: vector blur with fast moving objects does
not give a smooth fallof. there's no correct fix possible due
to a lack of information, but this manually adds a smoother
falloff, overestimating the contribution of foregroud pixels
instead of becoming transparent.

10 years agoBugfix #17562: array fit to curve isnt working
Daniel Genrich [Tue, 9 Sep 2008 16:38:08 +0000 (16:38 +0000)]
Bugfix #17562: array fit to curve isnt working

10 years agoFix for bug #17402: IK influence blending with pole targets
Brecht Van Lommel [Tue, 9 Sep 2008 15:15:01 +0000 (15:15 +0000)]
Fix for bug #17402: IK influence blending with pole targets
didn't give smooth transition. Now it blends the result of
IK solving in that case.

10 years agoFix for bug #17580: crash rendering instanced objects with
Brecht Van Lommel [Tue, 9 Sep 2008 14:16:54 +0000 (14:16 +0000)]
Fix for bug #17580: crash rendering instanced objects with
halo material attach to the object instead of the mesh.

Also for bug #13489: avoid a crash rendering with invalid
active vcol layer, most likely caused by a bug that was
already fixed.

10 years agoBugfix #13592
Ton Roosendaal [Tue, 9 Sep 2008 13:35:38 +0000 (13:35 +0000)]
Bugfix #13592

Sequencer, Time, Sound windows were drawing frame numbers double when
too far zoomed in.

10 years agoBugfix #13596
Ton Roosendaal [Tue, 9 Sep 2008 12:51:22 +0000 (12:51 +0000)]
Bugfix #13596

Wrong popup on single-user particles, it said "make local".

10 years agoBugfix #13653
Ton Roosendaal [Tue, 9 Sep 2008 12:00:38 +0000 (12:00 +0000)]
Bugfix #13653

Autosave disable didn't work.

Note however that a disabled autosave only gets active on saving the
user settings, and loading blender again. This is a timer that gets
set on startup. I didn't code a kill timer. :)

10 years agoBugfix #13675
Ton Roosendaal [Tue, 9 Sep 2008 11:40:29 +0000 (11:40 +0000)]
Bugfix #13675

Edge render made star render disappear. Wrong Z value comparing...
(2 year old bug!)

10 years agowasnt using icon buttons correctly
Campbell Barton [Tue, 9 Sep 2008 10:58:58 +0000 (10:58 +0000)]
wasnt using icon buttons correctly

10 years agoBugfix #13837
Ton Roosendaal [Tue, 9 Sep 2008 10:16:09 +0000 (10:16 +0000)]
Bugfix #13837

Tonemap didn't correctly accept any buffer type.
The coder who added this should check this fix! Any node coder maybe...

10 years agoPython API
Ken Hughes [Mon, 8 Sep 2008 23:39:32 +0000 (23:39 +0000)]
Python API
----------
Add access to MTex objects from Lamps and Worlds (first pass).  Since the
MTex structure is slightly difference between materials, lamps, and worlds,
a field is added to the BPy MTex object to distinquish which type it wraps.

Attempting to access attributes which are unique to materials for lamp or
world MTex objects throw an exception.  The next pass will implement MTex
attributes which are specific to Lamps and Worlds.

A new attribute (textures) is added to each module.  It is compatible with
the previous Material.getTextures(), which returns a tuple of either MTex
objects or None.  Surprised we never added an attribute for this before in
all the changes and refactoring.

10 years agoBugfix #17566
Ton Roosendaal [Mon, 8 Sep 2008 15:15:00 +0000 (15:15 +0000)]
Bugfix #17566

Modifier buttons: now check properly for external lib data, modifiers are
on object only. Only "Apply" is locked now.

10 years agoBugfix #17375
Ton Roosendaal [Mon, 8 Sep 2008 13:04:10 +0000 (13:04 +0000)]
Bugfix #17375

Crash on converting object to other type, and replace object.
Deleting should trigger a new depsgraph.

Oldie bug!

10 years agoGrease Pencil - Defaults Cleanups:
Joshua Leung [Mon, 8 Sep 2008 12:36:49 +0000 (12:36 +0000)]
Grease Pencil - Defaults Cleanups:

* Made new layers default to having thickness of 3, and opacity of 0.9. These values seem to be used more often.
* Newly added Grease Pencil blocks will now be expanded by default in the Action Editor
* Added support for Image Editor grease-pencil blocks to the Action Editor
* Added version-patching for missing colours used by the info-string for GPencil.

10 years agoBugfix:
Joshua Leung [Mon, 8 Sep 2008 12:06:40 +0000 (12:06 +0000)]
Bugfix:

Grease Pencil panel now updates correctly in Sequencer

10 years agoBug #17317
Ton Roosendaal [Mon, 8 Sep 2008 11:13:34 +0000 (11:13 +0000)]
Bug #17317

Vertexpaint mode: option "paint mask" (Fkey) missed redraw for buttons

10 years agoBugfix #17305
Ton Roosendaal [Mon, 8 Sep 2008 10:31:00 +0000 (10:31 +0000)]
Bugfix #17305

3d window didn't refresh correctly when loading a new background image.
Fix by Ken Hughes. :)

10 years agoView 3D - Improvements for Info Drawing:
Joshua Leung [Mon, 8 Sep 2008 06:49:19 +0000 (06:49 +0000)]
View 3D - Improvements for Info Drawing:

The little info string beside the mini-axis (in bottom left corner) is now more useful when animating fullscreen. ZanQdo feature request.

* Info string is drawn in yellow when there is a keyframe on this frame.
Hopefully this doesn't introduce any major slowdowns, as it does do a search for keyframes for every redraw.
* Name of first marker that occurs on the current frame is now also shown (in angled brackets). No angle brackets are shown if no marker.
* Info string is also shown when there is no active object.

10 years agoBugfix for #17572 Boids Particles Crash
Daniel Genrich [Sun, 7 Sep 2008 20:46:54 +0000 (20:46 +0000)]
Bugfix for #17572 Boids Particles Crash

10 years agoBug [#17454] Wave modifier crash, fix provided by Banlu Kemiyatorn
Daniel Genrich [Sun, 7 Sep 2008 20:18:26 +0000 (20:18 +0000)]
Bug [#17454] Wave modifier crash, fix provided by Banlu Kemiyatorn

10 years agoBGE bug #17574 fixed: GE Text input doesn't register in 2.47. Force registration...
Benoit Bolsee [Sun, 7 Sep 2008 19:58:37 +0000 (19:58 +0000)]
BGE bug #17574 fixed: GE Text input doesn't register in 2.47. Force registration of keyboard sensor with no link as this is typically the setting for key logging.

10 years agoBugfix #17446
Ton Roosendaal [Sun, 7 Sep 2008 18:18:50 +0000 (18:18 +0000)]
Bugfix #17446

Two menu errors in Node Editor.

10 years agobugfix 17527
Ton Roosendaal [Sun, 7 Sep 2008 17:13:05 +0000 (17:13 +0000)]
bugfix 17527

Halo render: lines and rings were not using random anymore... got lost
in particle upgrade of pre-peach. Tsk!

10 years agoDraw icons in the layer button to show used layers as well as layer of active object...
Campbell Barton [Sun, 7 Sep 2008 16:37:55 +0000 (16:37 +0000)]
Draw icons in the layer button to show used layers as well as layer of active object, this is a feature from apricot but used button color instead which was confusing.

10 years ago[#17579] Added support to VSE Python API for adding movie and audio HD sequences
Campbell Barton [Sun, 7 Sep 2008 14:02:58 +0000 (14:02 +0000)]
[#17579] Added support to VSE Python API for adding movie and audio HD sequences
from Rob Scott (spamagnet)

10 years agoBugfix #17497
Ton Roosendaal [Sun, 7 Sep 2008 13:15:44 +0000 (13:15 +0000)]
Bugfix #17497

FSA didn't support "key alpha", fixed it.
Also noticed edge-enhance didnt work for FSA, added warning for that,
fixing it is too clumsy, this option belongs in compositor.

10 years agoGrease Pencil - Stick to View for Sequencer:
Joshua Leung [Sun, 7 Sep 2008 11:36:52 +0000 (11:36 +0000)]
Grease Pencil - Stick to View for Sequencer:

The 'Stick to View' feature now works in the sequencer (image previews)

10 years agoBGE patch: Simulate dupligroup operation when parent and child are not active/inactiv...
Benoit Bolsee [Sun, 7 Sep 2008 10:47:33 +0000 (10:47 +0000)]
BGE patch: Simulate dupligroup operation when parent and child are not active/inactive at the same time: don't convert the child. This unusual situation is used in Apricot for testing.

10 years agoBugfix #17490
Ton Roosendaal [Sun, 7 Sep 2008 10:24:02 +0000 (10:24 +0000)]
Bugfix #17490

Camera feature "DOF Object" was drawing the cross marker on wrong location
when camera scales. Simple fix by using Mat4Ortho()

10 years agoConstraints - Space Conversions Code Tidyup:
Joshua Leung [Sun, 7 Sep 2008 04:43:31 +0000 (04:43 +0000)]
Constraints - Space Conversions Code Tidyup:

Finished verifying that all possible combinations of space conversions were accounted for.

10 years agoBGE patch: break parent relationship when child and parent are not active/inactive...
Benoit Bolsee [Sat, 6 Sep 2008 22:06:01 +0000 (22:06 +0000)]
BGE patch: break parent relationship when child and parent are not active/inactive at the same time. This unusual situation is used in Apricot for test purposes.

10 years agoobject_find, didnt get images from an objects material textures
Campbell Barton [Sat, 6 Sep 2008 17:04:54 +0000 (17:04 +0000)]
object_find, didnt get images from an objects material textures
KX_PythonInit.cpp - own error in recent commit.

10 years agoFix Windows compile error. Update MSVC project files
Benoit Bolsee [Sat, 6 Sep 2008 16:53:44 +0000 (16:53 +0000)]
Fix Windows compile error. Update MSVC project files

10 years agoconverted my gen_utils.h fix to PyObjectPlus.h
Kent Mein [Sat, 6 Sep 2008 14:13:31 +0000 (14:13 +0000)]
converted my gen_utils.h fix to PyObjectPlus.h

Also added a fix for PyMarshal_WriteObjectToString

Now I just need to figure out linking of the gameengine on my imac.

Kent

10 years agoRevert a commit from 5 years ago that added a glFinish call before swapping on Window...
Brecht Van Lommel [Sat, 6 Sep 2008 13:24:42 +0000 (13:24 +0000)]
Revert a commit from 5 years ago that added a glFinish call before swapping on Windows. This is really bad for performance and especially showed in the game engine. The purpose was to disable FSAA and fix some UI issue on Geforce 2 graphics cards, hopefully the drivers have been fixed by now? I have no way to test this, so we'll see if an issue pops up on those older cards, and a lot of code changed since then anyway so it might not even be needed anymore.

10 years agofind objects by texture name raised a python error
Campbell Barton [Sat, 6 Sep 2008 12:50:22 +0000 (12:50 +0000)]
find objects by texture name raised a python error

10 years agoadded ALPHASORT flag to the bpython api
Campbell Barton [Sat, 6 Sep 2008 10:39:19 +0000 (10:39 +0000)]
added ALPHASORT flag to the bpython api

10 years agoTrying to keep things compiling on my imac (10.4.11)
Kent Mein [Sat, 6 Sep 2008 02:46:11 +0000 (02:46 +0000)]
Trying to keep things compiling on my imac (10.4.11)

I'm getting this error now:
GPG_Application.cpp: In member function 'void GPG_Application::stopEngine()':
/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/marshal.h:12: error: too many arguments to function 'PyObject* PyMarshal_WriteObjectToString(PyObject*)'
GPG_Application.cpp:720: error: at this point in file

Are we offically not supporint older versions of python now? :)

Kent

10 years agoBugfix: game engine could crash with empty display arrays on
Brecht Van Lommel [Sat, 6 Sep 2008 01:18:53 +0000 (01:18 +0000)]
Bugfix: game engine could crash with empty display arrays on
windows (caused by invisible faces for example).

10 years agotreaded soft bodies final (hopefully)
Jens Ole Wund [Fri, 5 Sep 2008 23:28:28 +0000 (23:28 +0000)]
treaded soft bodies final (hopefully)
bug fix [17428]
/*backward compatibility note:
G.rt==16 still activates 'old' code
fixing bug [17428] which forces adaptive step size to tiny steps in some situations .. keeping G.rt==17 0x11 option for old files 'needing' the bug*/

10 years agoFix: compiling with cmake 2.4 didn't work anymore due to a
Brecht Van Lommel [Fri, 5 Sep 2008 21:57:34 +0000 (21:57 +0000)]
Fix: compiling with cmake 2.4 didn't work anymore due to a
compatibility fix for cmake 2.6.

10 years agoPython API
Ken Hughes [Fri, 5 Sep 2008 20:41:09 +0000 (20:41 +0000)]
Python API
----------
Add missing Textures.ExtendModes.CHECKER constant.

10 years agoGLSL: small optimization if Use Alpha is disabled for textures.
Brecht Van Lommel [Fri, 5 Sep 2008 20:34:35 +0000 (20:34 +0000)]
GLSL: small optimization if Use Alpha is disabled for textures.

10 years agoBGE set visible actuator, option to set visibility recursively to make managing visib...
Campbell Barton [Fri, 5 Sep 2008 16:22:14 +0000 (16:22 +0000)]
BGE set visible actuator, option to set visibility recursively to make managing visibility for collections of objects a lot easier.
BGE Python api's ob.setVisible() also takes an optional recursive arg thats off by default

10 years agoBugfix for GLSL: no specular/diffuse + only shadow for lamps
Brecht Van Lommel [Fri, 5 Sep 2008 15:08:01 +0000 (15:08 +0000)]
Bugfix for GLSL: no specular/diffuse + only shadow for lamps
didn't work correct.

10 years agoMissing header.
Kent Mein [Fri, 5 Sep 2008 14:42:03 +0000 (14:42 +0000)]
Missing header.

Kent

10 years ago* GLSL lamps now respect 3d viewport layers.
Brecht Van Lommel [Fri, 5 Sep 2008 14:33:36 +0000 (14:33 +0000)]
* GLSL lamps now respect 3d viewport layers.
* Fix undo crash related to sound. Sounds still stop working in
  the game engine after undo, but seems to be a different issue.

10 years agoTwo more apricot branch features:
Brecht Van Lommel [Fri, 5 Sep 2008 13:08:50 +0000 (13:08 +0000)]
Two more apricot branch features:
* Auto Depth: use the depth buffer for improving pan/zoom/rotate
  in large scenes.
* The viewport drawtype for objects in groups now aren't just taken
  from the original object, but the minimum together with the parent
  drawtype is used.

10 years agoFixing non-working check for incompatible trees
Daniel Genrich [Fri, 5 Sep 2008 12:06:47 +0000 (12:06 +0000)]
Fixing non-working check for incompatible trees

10 years agobvh nodes got parent node reference again
Daniel Genrich [Fri, 5 Sep 2008 11:55:39 +0000 (11:55 +0000)]
bvh nodes got parent node reference again

10 years agoGrease Pencil - Available in Image Editor:
Joshua Leung [Fri, 5 Sep 2008 07:12:04 +0000 (07:12 +0000)]
Grease Pencil - Available in Image Editor:

Grease Pencil is now available in the image editor. It is important to note that the strokes drawn WILL NOT become part of the image visible at the time.

Unfortunately, 'fancy' stroke drawing cannot be enabled for use with the 'Stick to View' setting here, as the scaling is wrong.

10 years agoCompiling/Warning Fixes (for scons/mingw + "split sources hack") Part 1:
Joshua Leung [Fri, 5 Sep 2008 06:05:25 +0000 (06:05 +0000)]
Compiling/Warning Fixes (for scons/mingw + "split sources hack") Part 1:

* Removed compiler warnings from texteditor work
* Added round brackets around the new defines for IPO channels for extra texture layers
* Tweaked priorities so that BLI_heap_* functions in blenlib can be found by linker (split-sources specific)

TODO:
* "monkey*" vars cannot be found still

10 years ago* Made the Ipo editor handle colours initialise from old files to the previously...
Matt Ebb [Fri, 5 Sep 2008 05:17:26 +0000 (05:17 +0000)]
* Made the Ipo editor handle colours initialise from old files to the previously stored Ipo editor vertex colours, rather than the default pink and yellow. This keeps existing themes looking the same as they did before rather than turning them pink by default.

10 years agoBGE Py API
Campbell Barton [Fri, 5 Sep 2008 02:53:12 +0000 (02:53 +0000)]
BGE Py API
added exception messages for replaceMesh.setMesh() and allowed None as an argument.
added exception messages for other BGE module functions.

10 years ago* corrective UV transformation - only works with UV edge slide right now. but should...
Campbell Barton [Fri, 5 Sep 2008 00:28:17 +0000 (00:28 +0000)]
* corrective UV transformation - only works with UV edge slide right now. but should be extended so transforming dosnt distort UV's
* smooth respects mirror option (will move mirrored vert too)

10 years agoMerge of first part of changes from the apricot branch, especially
Brecht Van Lommel [Thu, 4 Sep 2008 20:51:28 +0000 (20:51 +0000)]
Merge ... first part of changes from the apricot branch, especially
the features that are needed to run the game. Compile tested with
scons, make, but not cmake, that seems to have an issue not related
to these changes. The changes include:

* GLSL support in the viewport and game engine, enable in the game
  menu in textured draw mode.
* Synced and merged part of the duplicated blender and gameengine/
  gameplayer drawing code.
* Further refactoring of game engine drawing code, especially mesh
  storage changed a lot.
* Optimizations in game engine armatures to avoid recomputations.
* A python function to get the framerate estimate in game.

* An option take object color into account in materials.
* An option to restrict shadow casters to a lamp's layers.
* Increase from 10 to 18 texture slots for materials, lamps, word.
  An extra texture slot shows up once the last slot is used.

* Memory limit for undo, not enabled by default yet because it
  needs the .B.blend to be changed.
* Multiple undo for image painting.

* An offset for dupligroups, so not all objects in a group have to
  be at the origin.

10 years agoCleaned up some small warnings.
Kent Mein [Thu, 4 Sep 2008 16:40:20 +0000 (16:40 +0000)]
Cleaned up some small warnings.

Kent

10 years agoAdded SDL headers so gamestuff compiles with Makefiles again.
Kent Mein [Thu, 4 Sep 2008 15:29:43 +0000 (15:29 +0000)]
Added SDL headers so gamestuff compiles with Makefiles again.

Kent

10 years agooverlapping UI causing problems, forgot the label has a function assigned to it
Campbell Barton [Thu, 4 Sep 2008 12:17:01 +0000 (12:17 +0000)]
overlapping UI causing problems, forgot the label has a function assigned to it

10 years agopin option for sensors and actuators,
Campbell Barton [Thu, 4 Sep 2008 12:11:47 +0000 (12:11 +0000)]
pin option for sensors and actuators,
this helps in cases where you want to use a logic brick in 2 states, linking the sensor to a second state's controller can be tricky.
This way you can pin a sensor or actuator, change the visible state and link it to another controller.

The pin button will only be displayed when states view is enabled and the logic brick is expanded or when it is alredy pinned.

10 years agoBugfix: yafray export crash if new hsv texture blend types were
Brecht Van Lommel [Thu, 4 Sep 2008 00:27:05 +0000 (00:27 +0000)]
Bugfix: yafray export crash if new hsv texture blend types were
used, the code here needed to be updated.

10 years agofix for 2 python refcounting errors
Campbell Barton [Wed, 3 Sep 2008 23:51:55 +0000 (23:51 +0000)]
fix for 2 python refcounting errors

10 years agoUpdate MSVC project files after GSoC merge
Benoit Bolsee [Wed, 3 Sep 2008 12:54:46 +0000 (12:54 +0000)]
Update MSVC project files after GSoC merge

10 years agoRevert rev16344 on trunk, bullet work is done in sim_physics branch as discussed...
Daniel Genrich [Wed, 3 Sep 2008 11:11:11 +0000 (11:11 +0000)]
Revert rev16344 on trunk, bullet work is done in sim_physics branch as discussed on sunday meeting

10 years agoBGE Py api, deleting properties didnt raise an error when the property wasnt there...
Campbell Barton [Wed, 3 Sep 2008 06:43:07 +0000 (06:43 +0000)]
BGE Py api, deleting properties didnt raise an error when the property wasnt there. also added some exception messages and renamed joystick getConnected() to isConnected()

10 years agocleanup mesh materials option was setting incorrect material indicies
Campbell Barton [Wed, 3 Sep 2008 03:24:01 +0000 (03:24 +0000)]
cleanup mesh materials option was setting incorrect material indicies

10 years agoFinally upgraded to latest Bullet subversion, about to release 2.71. Some recent...
Erwin Coumans [Wed, 3 Sep 2008 02:27:16 +0000 (02:27 +0000)]
Finally upgraded to latest Bullet subversion, about to release 2.71. Some recent changes in extern/bullet2 need to be re-applied, will check with Benoit. Ray tests in 0_FPS_Template.blend is broken, didn't figure out why yet.

HELP BUILD SYSTEM MAINTAINERS: Please help with updating all build systems: the newly added files need to be added. Note that the src/SoftBody has been added for future extension of real-time soft bodies.

10 years agoCompile fixes (reported by broken)
Daniel Genrich [Wed, 3 Sep 2008 00:00:32 +0000 (00:00 +0000)]
Compile fixes (reported by broken)

10 years agoBGE patch 17547 approved: Cleaned up pydoc for BGE, compiles now error free
Benoit Bolsee [Tue, 2 Sep 2008 22:13:07 +0000 (22:13 +0000)]
BGE patch 17547 approved: Cleaned up pydoc for BGE, compiles now error free

10 years agoFix some more gcc warnings.
Ken Hughes [Tue, 2 Sep 2008 21:09:29 +0000 (21:09 +0000)]
Fix some more gcc warnings.

10 years agoFix gcc compiler warnings.
Ken Hughes [Tue, 2 Sep 2008 20:53:07 +0000 (20:53 +0000)]
Fix gcc compiler warnings.

10 years agoBGE patch: simple fix to synchronize sensor pulse mode with sensor state transitions.
Benoit Bolsee [Tue, 2 Sep 2008 18:34:54 +0000 (18:34 +0000)]
BGE patch: simple fix to synchronize sensor pulse mode with sensor state transitions.