blender.git
11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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

11 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.

11 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.

11 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.

11 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".

11 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. :)

11 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!)

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

11 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...

11 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.

11 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.

11 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!

11 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.

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

Grease Pencil panel now updates correctly in Sequencer

11 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

11 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. :)

11 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.

11 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

11 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

11 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.

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

Two menu errors in Node Editor.

11 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!

11 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.

11 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)

11 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.

11 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)

11 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.

11 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()

11 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.

11 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.

11 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.

11 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

11 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

11 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.

11 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

11 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

11 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

11 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).

11 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*/

11 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.

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

11 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.

11 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

11 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.

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

Kent

11 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.

11 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.

11 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

11 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

11 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.

11 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

11 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.

11 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.

11 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)

11 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.

11 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

11 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

11 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

11 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.

11 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.

11 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

11 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

11 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

11 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()

11 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

11 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.

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

11 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

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

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

11 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.

11 years agoFix segmentation fault when try separate a mesh with the active face selected.
Diego Borghetti [Tue, 2 Sep 2008 17:50:54 +0000 (17:50 +0000)]
Fix segmentation fault when try separate a mesh with the active face selected.

If the active face is part of the selection, Blender crash when
split the mesh because the act_face have an invalid pointer.

The solution is simple, check if the active face is part of the selection
and in that case, set it to NULL.

Campbell please double check this.

11 years ago-> Fix for 64 bit alignment of Vertex colors in bmesh
Geoffrey Bantle [Tue, 2 Sep 2008 16:39:03 +0000 (16:39 +0000)]
-> Fix for 64 bit alignment of Vertex colors in bmesh

Vertex color structure in bmesh needed to be padded for
8 byte aligned memory access.

11 years agoBGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used...
Campbell Barton [Tue, 2 Sep 2008 06:12:19 +0000 (06:12 +0000)]
BGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used at the same time.
The event queue was running for every joystick sensor without checking if the events were for that joystick.
seperating the event queue for each joystick is overkill so instead deal with all joysticks events in once function.

Also removed some unused functions

11 years agoBGE joystick sensor bugfix, was sending true events logic tick (as if the true pulse...
Campbell Barton [Tue, 2 Sep 2008 02:03:03 +0000 (02:03 +0000)]
BGE joystick sensor bugfix, was sending true events logic tick (as if the true pulse option was enabled).

11 years agoText Editor (GSOC 2008)
Ian Thompson [Mon, 1 Sep 2008 14:04:22 +0000 (14:04 +0000)]
Text Editor (GSOC 2008)
=======================
Merge of branch soc-2008-quorn to trunk:
Merged 14970:16308 to trunk@16307, updated to HEAD.
Merged 16318

Main features from this branch:
 - Python text plugins
 - Suggestions and documentation elements
 - Improved syntax highlighting
 - Word wrap
 - Additional editing tools
 - Various undo and clipboard fixes
 - File header info and modification checks

11 years agoBGE joystick sensor py api function 'getConnected()', returns true if the joystick...
Campbell Barton [Mon, 1 Sep 2008 06:25:13 +0000 (06:25 +0000)]
BGE joystick sensor py api function 'getConnected()', returns true if the joystick is connected and working.
SCA_Joystick.h seemed to have twice as many newlines as needed.

11 years agoBugfix #17557: Segfault when no active node and trying to insert keyframe
Joshua Leung [Mon, 1 Sep 2008 04:09:07 +0000 (04:09 +0000)]
Bugfix #17557: Segfault when no active node and trying to insert keyframe

When there is no active node in the Composite Nodes, Blender crashes when trying to insert a keyframe using IKEY.

11 years agoBGE python api for get/setting the joystick index, minor cleanup also.
Campbell Barton [Mon, 1 Sep 2008 00:12:39 +0000 (00:12 +0000)]
BGE python api for get/setting the joystick index, minor cleanup also.

11 years agoBGE bug #17459 fixed: action actuators depending on their order in the actuator list.
Benoit Bolsee [Sun, 31 Aug 2008 21:53:39 +0000 (21:53 +0000)]
BGE bug #17459 fixed: action actuators depending on their order in the actuator list.

11 years agoBGE patch 17547 applied in trunk: Cleaned up pydoc for BGE, compiles now error free
Benoit Bolsee [Sun, 31 Aug 2008 19:07:10 +0000 (19:07 +0000)]
BGE patch 17547 applied in trunk: Cleaned up pydoc for BGE, compiles now error free

11 years agoBGE patch approved: BGE Multiple Joysticks
Benoit Bolsee [Sun, 31 Aug 2008 18:42:58 +0000 (18:42 +0000)]
BGE patch approved: BGE Multiple Joysticks

11 years agoMinor tidying and commenting soc-2008-quorn
Ian Thompson [Sun, 31 Aug 2008 16:23:31 +0000 (16:23 +0000)]
Minor tidying and commenting

11 years ago== Grease Pencil Conversions - Armature ==
Joshua Leung [Sun, 31 Aug 2008 12:47:04 +0000 (12:47 +0000)]
== Grease Pencil Conversions - Armature ==

Can now also convert active layer to a series of bone chains. Each stroke will be converted to a chain of connected bones.

At the moment, it is still necessary to manually recalculate roll angles after the armature has been created, as the bones are not assigned the correct roll angles yet.

11 years agoBugfix #17551: AutoKey for Visual Keying non-functional
Joshua Leung [Sun, 31 Aug 2008 07:33:27 +0000 (07:33 +0000)]
Bugfix #17551: AutoKey for Visual Keying non-functional

No VisualKeying checks were being done

11 years agoFix for win64 building (gettextlib had wrong name)
Daniel Genrich [Sun, 31 Aug 2008 01:57:53 +0000 (01:57 +0000)]
Fix for win64 building (gettextlib had wrong name)

11 years agoFixing typo to make compile working again
Daniel Genrich [Sat, 30 Aug 2008 23:12:01 +0000 (23:12 +0000)]
Fixing typo to make compile working again

11 years agopatch for bug #17553: material emit is allowed to go from 0.0 to 2.0; however curves...
Nathan Letwory [Sat, 30 Aug 2008 21:41:02 +0000 (21:41 +0000)]
patch for bug #17553: material emit is allowed to go from 0.0 to 2.0; however curves only make it go to 1.0

reported and patched by slikdigit