12 years agoFix for text plug-in scripts on 64-bit platforms.
Ian Thompson [Tue, 26 Aug 2008 17:09:17 +0000 (17:09 +0000)]
Fix for text plug-in scripts on 64-bit platforms.

12 years agoAdded better grouping for text markers with a separate group field (instead of using...
Ian Thompson [Sun, 24 Aug 2008 13:30:35 +0000 (13:30 +0000)]
Added better grouping for text markers with a separate group field (instead of using flags). The lower two bytes of the group are used for python scripts while the upper two (or more) are reserved for internal grouping. Plenty either way.

12 years agoMade modification alert slightly less intrusive and added Ignore option.
Ian Thompson [Mon, 18 Aug 2008 17:08:25 +0000 (17:08 +0000)]
Made modification alert slightly less intrusive and added Ignore option.

12 years agoMissed parentheses from except clause, has a whole different meaning.
Ian Thompson [Mon, 18 Aug 2008 14:16:34 +0000 (14:16 +0000)]
Missed parentheses from except clause, has a whole different meaning.

12 years agoMoving the find panel caused some funky projection effect, introduced when I fixed...
Ian Thompson [Mon, 18 Aug 2008 10:24:56 +0000 (10:24 +0000)]
Moving the find panel caused some funky projection effect, introduced when I fixed the scrollbar. The scrollbar and panel now play nice.

12 years agoBetter class support with inheritance for text parsing.
Ian Thompson [Mon, 18 Aug 2008 10:01:49 +0000 (10:01 +0000)]
Better class support with inheritance for text parsing.

12 years agoFix for text area scrollbar drawing incorrectly
Ian Thompson [Sun, 17 Aug 2008 10:10:25 +0000 (10:10 +0000)]
Fix for text area scrollbar drawing incorrectly

12 years agoFix for numeric var types creating an error.
Ian Thompson [Sun, 17 Aug 2008 10:08:38 +0000 (10:08 +0000)]
Fix for numeric var types creating an error.

12 years agoFix for fix. Forgot to check if markers exist before trying to clear. Oops
Ian Thompson [Sun, 17 Aug 2008 09:46:47 +0000 (09:46 +0000)]
Fix for fix. Forgot to check if markers exist before trying to clear. Oops

12 years agoFixed problems with markers where Edit All did not behave the same for every marker...
Ian Thompson [Sat, 16 Aug 2008 20:31:38 +0000 (20:31 +0000)]
Fixed problems with markers where Edit All did not behave the same for every marker and deleting selections that intersect markers did not remove the marker in all cases.

12 years agoEsc removes markers in stages. Temporary markers are removed first (if any) then...
Ian Thompson [Sat, 16 Aug 2008 14:38:08 +0000 (14:38 +0000)]
Esc removes markers in stages. Temporary markers are removed first (if any) then other markers follow.

12 years agoImprovements to the base BPyTextPlugin module:
Ian Thompson [Fri, 15 Aug 2008 23:14:22 +0000 (23:14 +0000)]
Improvements to the base BPyTextPlugin module:
 - Added a centralized function for resolving targets (aaa.bbb.ccc)
 - Added documentation support for locally defined classes and methods
 - The time taken to parse now dictates how long to use the cache before parsing again
 - Other tweaks and comments and support for numeric var types

The text plugin scripts have been updated to make use of these features.

12 years agoMerge from trunk 16031:16122
Ian Thompson [Fri, 15 Aug 2008 00:00:27 +0000 (00:00 +0000)]
Merge from trunk 16031:16122

12 years agoAdd a function to join thread by index in the thread list.
Martin Poirier [Thu, 14 Aug 2008 23:48:52 +0000 (23:48 +0000)]
Add a function to join thread by index in the thread list.

This can be safely merged in trunk, in case anyone needs something like that.

12 years agomerging trunk 15964 -> 16116
Martin Poirier [Thu, 14 Aug 2008 21:16:48 +0000 (21:16 +0000)]
merging trunk 15964 -> 16116

12 years agoUsed the Python icon for the text plugin button and created an ON version.
Ian Thompson [Thu, 14 Aug 2008 17:09:39 +0000 (17:09 +0000)]
Used the Python icon for the text plugin button and created an ON version.

12 years agoGot rid of the horrible blocking UI problems with Find and Replace by using a blockha...
Ian Thompson [Thu, 14 Aug 2008 16:22:25 +0000 (16:22 +0000)]
Got rid of the horrible blocking UI problems with Find and Replace by using a blockhandler panel. The panel is shown when find is invoked with Alt F (or from the menu). Successive presses of Alt F search again, while the panel is visible. Alt H does the same for replace. (Ctrl F and Ctrl H also work - more like other editors)

12 years agoPython API get/setObject update for Actuators. (SetParent, AddObject, Camera and...
Campbell Barton [Thu, 14 Aug 2008 08:58:25 +0000 (08:58 +0000)]
Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo)
* bugfix for BGE python api - SetParent actuator getObject would segfault if the object was not set.
* Added utility function ConvertPythonToGameObject() that can take a GameObject, string or None and set the game object from this since it was being done in a number of places.
* allow setObject(None), since no object is valid for actuators, Python should be able to set this.
* added optional argument for getObject() so it returns the KX_GameObject rather then its name, would prefer this be default but it could break existing games.

12 years agoLast part of the svn release commit.
Diego Borghetti [Thu, 14 Aug 2008 06:42:52 +0000 (06:42 +0000)]
Last part of the svn release commit.

No need freeze, in a sec I merge both revision into
the 2.47 branch and tag it.

12 years agoPart one of the 2.47 release commit
Diego Borghetti [Thu, 14 Aug 2008 06:33:19 +0000 (06:33 +0000)]
Part one of the 2.47 release commit

12 years agobugfix (good for 2.47) - 2 cases of returning Py_None without increfing it. this...
Campbell Barton [Thu, 14 Aug 2008 05:06:59 +0000 (05:06 +0000)]
bugfix (good for 2.47) - 2 cases of returning Py_None without increfing it. this can crash blender.

12 years agogame engine python api
Campbell Barton [Thu, 14 Aug 2008 03:23:36 +0000 (03:23 +0000)]
game engine python api
* removed macros that were not used much, some misleading.
* removed error string setting calls that overwrote the error set by PyArg_ParseTuple with a less useful one.

12 years agoAdded a Marker sub-menu to the Edit menu in the text space header.
Ian Thompson [Wed, 13 Aug 2008 21:13:56 +0000 (21:13 +0000)]
Added a Marker sub-menu to the Edit menu in the text space header.

12 years agostarting threading code for retarget
Martin Poirier [Wed, 13 Aug 2008 20:33:57 +0000 (20:33 +0000)]
starting threading code for retarget

nothing working yet, will finish tomorrow at home

12 years agoSnap menu header rewording, to make documentation clearer (there was "mode" and ...
Martin Poirier [Wed, 13 Aug 2008 17:38:38 +0000 (17:38 +0000)]
Snap menu header rewording, to make documentation clearer (there was "mode" and "snap mode").

This can and should be merged for 2.47, as the docs will use those wordings.

12 years agoSmall bug fix: Scripts were not being recompiled after an error, if the (auto-selecte...
Ian Thompson [Wed, 13 Aug 2008 17:29:51 +0000 (17:29 +0000)]
Small bug fix: Scripts were not being recompiled after an error, if the (auto-selected) erroneous text was simply deleted and the script re-run.

12 years agoPageUp/Down now moves the mouse cursor instead of just the view. Also added some...
Ian Thompson [Wed, 13 Aug 2008 12:20:49 +0000 (12:20 +0000)]
PageUp/Down now moves the mouse cursor instead of just the view. Also added some other pops for when the cursor went off screen (click after horizontal scroll, undo, redo, etc.)

12 years agoBugfix: in the game engine, errors in a particular python script caused
Brecht Van Lommel [Wed, 13 Aug 2008 10:19:47 +0000 (10:19 +0000)]
Bugfix: in the game engine, errors in a particular python script caused
somewhat random crashes, which I think was caused by the error print
using python objects that were freed too soon. Now it frees the dictionary
after the print.

12 years agoAdded a button to allow plug-ins to be enabled/disabled for each text space. It was...
Ian Thompson [Tue, 12 Aug 2008 22:12:24 +0000 (22:12 +0000)]
Added a button to allow plug-ins to be enabled/disabled for each text space. It was confusing using the syntax button for both.

12 years agoAdd missing stuff in new scene code to properly init skeletor params properly.
Martin Poirier [Tue, 12 Aug 2008 19:56:03 +0000 (19:56 +0000)]
Add missing stuff in new scene code to properly init skeletor params properly.

Add sanity check on file load to fix old files (won't be merged in trunk).

12 years agoSpeed improvements for reading text lines and the option to specify a range for Text...
Ian Thompson [Tue, 12 Aug 2008 15:17:08 +0000 (15:17 +0000)]
Speed improvements for reading text lines and the option to specify a range for Text.asLines([start[, end]]) Also some tweaks for the plug-in scripts and updates to pydocs.

12 years agoNew nearest_point_in_tri_surface function.. 50% faster
Andre Susano Pinto [Tue, 12 Aug 2008 13:30:17 +0000 (13:30 +0000)]
New nearest_point_in_tri_surface function.. 50% faster
Results were verified against the old function

Non 2.47 fix

12 years agoraise an error when assigning properties to a game object that cant be converted...
Campbell Barton [Tue, 12 Aug 2008 12:32:54 +0000 (12:32 +0000)]
raise an error when assigning properties to a game object that cant be converted. also use python apis functions for converting floats and int types (faster then PyArg_Parse)

12 years agoRolled back on rev. 16039. Had problems with display, messages being blank and script...
Ian Thompson [Tue, 12 Aug 2008 10:08:46 +0000 (10:08 +0000)]
Rolled back on rev. 16039. Had problems with display, messages being blank and scripts not being recompiled in some cases. Needs more thought before committing.

12 years agobdiego no 2.47 option for now
Jens Ole Wund [Mon, 11 Aug 2008 20:40:29 +0000 (20:40 +0000)]
bdiego no 2.47 option for now
make soft bodies spawn threads on a mid level
use G.rt == 16 to switch to 'old style'
i am going to remove that G.rt switch if everyone is fine /* i do not intend to keep 2 versions of code up because of "BAD STYLE" */
so .. give feed back ..

12 years agoFix flipped arc caused by harmonic interpolation
Martin Poirier [Mon, 11 Aug 2008 20:01:15 +0000 (20:01 +0000)]
Fix flipped arc caused by harmonic interpolation

12 years agoPython API
Ken Hughes [Mon, 11 Aug 2008 19:06:30 +0000 (19:06 +0000)]
Python API
Added texture.offset and textute.gain attributes, to access parameters for Musgrove textures.

12 years agoSuggestion list scrolling and selection made independent for easier use. Selections...
Ian Thompson [Mon, 11 Aug 2008 11:10:16 +0000 (11:10 +0000)]
Suggestion list scrolling and selection made independent for easier use. Selections no longer move away from the cursor.

12 years ago* Fix for a bug zanqdo reported in IRC - transparent shadows were not
Matt Ebb [Mon, 11 Aug 2008 05:23:36 +0000 (05:23 +0000)]
* Fix for a bug zanqdo reported in IRC - transparent shadows were not
getting correct alpha when cast through node materials - in fact the
node tree wasn't being shaded at all.

12 years agofix for [#17365] PLY export script writes comment in invalid way
Campbell Barton [Mon, 11 Aug 2008 03:52:21 +0000 (03:52 +0000)]
fix for [#17365] PLY export script writes comment in invalid way
this is good for 2.47

12 years agoAdded sys.path module search to BPyTextPlugin module and fixed IndentationError when...
Ian Thompson [Sun, 10 Aug 2008 17:00:25 +0000 (17:00 +0000)]
Added sys.path module search to BPyTextPlugin module and fixed IndentationError when parsing.

12 years agoFixed inconsistencies between the text plugins and them not suggesting when called...
Ian Thompson [Sun, 10 Aug 2008 16:07:14 +0000 (16:07 +0000)]
Fixed inconsistencies between the text plugins and them not suggesting when called from the menu.

12 years agoShift keys cancelled the suggestions list (missed from earlier event refactor)
Ian Thompson [Sun, 10 Aug 2008 14:24:14 +0000 (14:24 +0000)]
Shift keys cancelled the suggestions list (missed from earlier event refactor)

12 years agoFixed saving to relative paths and made external modification messages more user...
Ian Thompson [Sun, 10 Aug 2008 12:02:33 +0000 (12:02 +0000)]
Fixed saving to relative paths and made external modification messages more user friendly.

12 years agoChanged a few places where visibility for EditMode bones is tested, so that they...
Joshua Leung [Sun, 10 Aug 2008 03:39:09 +0000 (03:39 +0000)]
Changed a few places where visibility for EditMode bones is tested, so that they now use a macro I introduced in the previous commit.

12 years ago== Armature Editing Tweaks ==
Joshua Leung [Sun, 10 Aug 2008 03:10:07 +0000 (03:10 +0000)]
== Armature Editing Tweaks ==

* New Tool: Switch Direction
This tool switches the direction of selected bones in EditMode, and can be found under the Specials Menu (WKey). It also adjusts the parenting, so that continuous chains can still be linked.

* Bone Locking:
Removed Lock/Unlock functions from Specials menu, and moved this functionality under the Toggle/Set/Clear Bone Settings tools (Shift/Ctrl-Shift/Alt W respectively)

12 years ago* Script to convert BDF pixel fonts into C++ files blender can read. - Amiga bitmap...
Campbell Barton [Sun, 10 Aug 2008 01:38:02 +0000 (01:38 +0000)]
* Script to convert BDF pixel fonts into C++ files blender can read. - Amiga bitmap font example
* BF_CONFIG was missing from SCons help menu.

12 years agoPython API
Ken Hughes [Sat, 9 Aug 2008 22:24:12 +0000 (22:24 +0000)]
Python API
Remove documentation for Render.EnableEdgeShift and Render.EnableEdgeAll methods, which are no longer in the API.

12 years agoFix bug caused by extranuous return in distance weight calculations (ignored the...
Martin Poirier [Sat, 9 Aug 2008 19:39:31 +0000 (19:39 +0000)]
Fix bug caused by extranuous return in distance weight calculations (ignored the weighting parameter)
Extract constant for shape level matching
Go to lowest node with matching shape, instead of just lowest node (created bugs)

12 years agoPython errors originating in the active text are now displayed at the top of the...
Ian Thompson [Sat, 9 Aug 2008 18:11:40 +0000 (18:11 +0000)]
Python errors originating in the active text are now displayed at the top of the text area. Errors in other files/scripts still pop up a message as before and all errors are still printed to the console. This removes the need to switch to the console for local errors.

12 years agoLine highlighting did not work for syntax errors.
Ian Thompson [Sat, 9 Aug 2008 14:47:51 +0000 (14:47 +0000)]
Line highlighting did not work for syntax errors.

12 years agoBugfix #17465: "Pose Edit Not Possible" message activated on 3D navigation
Joshua Leung [Sat, 9 Aug 2008 10:50:59 +0000 (10:50 +0000)]
Bugfix #17465: "Pose Edit Not Possible" message activated on 3D navigation

When navigating the 3d-view with a bone (or bones) selected, 'Rest Pose' enabled for the armature, and 'Orbit Around Selection' turned on, a "Pose Edit Not Possible" warning would pop up every time the view was manipulated.

Was caused by a missing check for the 'TFM_DUMMY' transform mode used when calculating center to use (based on active item)

12 years agoMerge from trunk: 15912:16031
Ian Thompson [Sat, 9 Aug 2008 10:12:59 +0000 (10:12 +0000)]
Merge from trunk: 15912:16031

12 years agoWhole word ops. now treat symbols differently to whitespace allowing better control...
Ian Thompson [Fri, 8 Aug 2008 23:14:32 +0000 (23:14 +0000)]
Whole word ops. now treat symbols differently to whitespace allowing better control over cursor movements (solves mindrones' request).

12 years agoImprovements to the suggestion and doc listing events (when to update and when to...
Ian Thompson [Fri, 8 Aug 2008 20:30:55 +0000 (20:30 +0000)]
Improvements to the suggestion and doc listing events (when to update and when to remove).

12 years agoClipboard operations added to text editor RMB menu.
Ian Thompson [Fri, 8 Aug 2008 16:49:14 +0000 (16:49 +0000)]
Clipboard operations added to text editor RMB menu.

12 years agoFix for [#13697] Reactor particles with children doesn't render
Janne Karhu [Fri, 8 Aug 2008 16:40:41 +0000 (16:40 +0000)]
Fix for [#13697] Reactor particles with children doesn't render
-Particles were being recalculated a bit too aggressively. Normal particles didn't care, but since reactor particles have dynamic birth times they lost crucial information in the recalculation.

12 years agoTyping 'from a import b' threw an error if b was not found. Accidentally moved this...
Ian Thompson [Fri, 8 Aug 2008 15:54:04 +0000 (15:54 +0000)]
Typing 'from a import b' threw an error if b was not found. Accidentally moved this out of the try block in an earlier tidy-up.

12 years agoFix for [#16671] Moving a metaball that a particle system uses as a object (for visua...
Janne Karhu [Fri, 8 Aug 2008 15:38:14 +0000 (15:38 +0000)]
Fix for [#16671] Moving a metaball that a particle system uses as a object (for visualization) also moves the particles
-The particle dupliobjects were using the objects trackflag in combination with it's rotation causing strange behavior. Now the trackflag is ignored and only the rotation of the object being duplicated is taken into account.

12 years agoFixing point-face distance to support degenerated tris/quads with area<FLT_EPSILON
Daniel Genrich [Fri, 8 Aug 2008 14:24:47 +0000 (14:24 +0000)]
Fixing point-face distance to support degenerated tris/quads with area<FLT_EPSILON

12 years agoforgot update ver.number in last commit
Remigiusz Fiedler [Fri, 8 Aug 2008 11:40:51 +0000 (11:40 +0000)]
forgot update ver.number in last commit

12 years ago== PoseLib: Add New (on Current Frame) ==
Joshua Leung [Fri, 8 Aug 2008 10:15:08 +0000 (10:15 +0000)]
== PoseLib: Add New (on Current Frame) ==

When adding poses to a PoseLib, it is now possible to make them be added on the current frame. It is still recommended to use the default method (plain Add New), as it is prevents poses stored in the PoseLib from being overwritten accidentally.

12 years agoBGE bug #17450 fixed: When we have parented objects with no scale-applyed objects...
Benoit Bolsee [Fri, 8 Aug 2008 09:57:17 +0000 (09:57 +0000)]
BGE bug #17450 fixed: When we have parented objects with no scale-applyed objects the ray hit system doesn't work properly. Fix by separating rotation and scaling in the parent inverse node to keep scaling correct down to the leaf objects. Only isotropric scaling should be used, as always with the BGE.

12 years agoUpdate MSVC project to include bvhutils.c
Benoit Bolsee [Fri, 8 Aug 2008 09:52:32 +0000 (09:52 +0000)]
Update MSVC project to include bvhutils.c

12 years ago-> Fix for warnings in FLT exporter and Palette Manager
Geoffrey Bantle [Thu, 7 Aug 2008 22:31:35 +0000 (22:31 +0000)]
-> Fix for warnings in FLT exporter and Palette Manager

Removed buffer overflow masking warnings from the
FLT exporter and Palette Manager.

12 years agoTyping digits over the line numbers jumps to that line (from mindrones' wishlist)
Ian Thompson [Thu, 7 Aug 2008 22:15:54 +0000 (22:15 +0000)]
Typing digits over the line numbers jumps to that line (from mindrones' wishlist)

12 years agoFixing compile error with msvc (introducing max tree to 32)
Daniel Genrich [Thu, 7 Aug 2008 22:05:45 +0000 (22:05 +0000)]
Fixing compile error with msvc (introducing max tree to 32)

12 years agoFixed compiling warnings of bvhutils.c
Andre Susano Pinto [Thu, 7 Aug 2008 20:12:56 +0000 (20:12 +0000)]
Fixed compiling warnings of bvhutils.c
Commited the right version of BLI_kdopbvh.c

12 years agoDisable redcode (the file format of RED one, R3D) by default.
Ken Hughes [Thu, 7 Aug 2008 18:01:39 +0000 (18:01 +0000)]
Disable redcode (the file format of RED one, R3D) by default.

12 years agoBGE bug #17408 fixed: Radar sensor is oriented the wrong way when the set along negat...
Benoit Bolsee [Thu, 7 Aug 2008 17:29:06 +0000 (17:29 +0000)]
BGE bug #17408 fixed: Radar sensor is oriented the wrong way when the set along negative axis. Improve reliability of Radar detection by clearing the manifold cache instead of updating it.

12 years agoBVH-KDOP update (merge from shrinkwrap branch): supports raytracing, nearest neighbou...
Daniel Genrich [Thu, 7 Aug 2008 17:27:29 +0000 (17:27 +0000)]
BVH-KDOP update (merge from shrinkwrap branch): supports raytracing, nearest neighbour, non-recursive now, faster than kdtree.c implementation normaly, divided into 2 sources: generla structure in blenlib, mesh/derivedmesh depending interface stuff in blenkernel

12 years agoWord-wrap support for up and down arrows between lines, and home/end keys for a wrapp...
Ian Thompson [Thu, 7 Aug 2008 14:21:43 +0000 (14:21 +0000)]
Word-wrap support for up and down arrows between lines, and home/end keys for a wrapped line segment.

12 years agoBGE bug #17409 fixed: BGE Near Sensor Incorrect once inside the radius. The bug is...
Benoit Bolsee [Thu, 7 Aug 2008 11:31:24 +0000 (11:31 +0000)]
BGE bug #17409 fixed: BGE Near Sensor Incorrect once inside the radius. The bug is located in Bullet: the manifold contact points for non-response objects (sensor, ghost) are not refreshed and stay in the cash as long as the objects overlap in the broad phase. Instead of fixing Bullet, I put a work around in the BGE. This may need review when a new Bullet library is integrated

12 years agoBGE fix: alignToVect() fac parameter clamping should obviously be done the other...
Benoit Bolsee [Thu, 7 Aug 2008 11:25:45 +0000 (11:25 +0000)]
BGE fix: alignToVect() fac parameter clamping should obviously be done the other way round

12 years agofix for [#17448] Duplicating textures with IPOs doesn't increment IPO user count
Campbell Barton [Thu, 7 Aug 2008 09:56:31 +0000 (09:56 +0000)]
fix for [#17448] Duplicating textures with IPOs doesn't increment IPO user count

12 years ago-> Slight tweak to FLT exporter
Geoffrey Bantle [Thu, 7 Aug 2008 04:38:35 +0000 (04:38 +0000)]
-> Slight tweak to FLT exporter

FLT files written by the FLT exporter would
reference external files (other FLT files,
texture maps, ect) with standard backslash
seperators on win32. However, many tools
that deal with FLT files expect directory
seperators to always be forward slashes
regardless of platform.

12 years agoadded back copy buttons to "Texture Face" panel.
Campbell Barton [Thu, 7 Aug 2008 01:02:06 +0000 (01:02 +0000)]
added back copy buttons to "Texture Face" panel.

12 years agoGetting the blenderplayer to compile/link with CMake.
Chris Want [Wed, 6 Aug 2008 20:37:15 +0000 (20:37 +0000)]
Getting the blenderplayer to compile/link with CMake.

Note: yuck, this is a horrible way to do it -- python devs should
think about splitting the python stuff into separate libs if they
only want to partially include it in the game engine.

12 years agoPython API
Ken Hughes [Wed, 6 Aug 2008 20:05:08 +0000 (20:05 +0000)]
Python API
Fix typo in documentation for render.startFrame() and render.endFrame().  Arguments are valid in the range 1 to MAXFRAME.

12 years agoFixed a warning due to a change in policy between cmake 2.4 and
Chris Want [Wed, 6 Aug 2008 19:47:52 +0000 (19:47 +0000)]
Fixed a warning due to a change in policy between cmake 2.4 and
cmake 2.6. (Other warnings still exist, but are harder to fix.)

12 years agoVarious UI drawing and event tweaks to make markers feel more natural and avoid getti...
Ian Thompson [Wed, 6 Aug 2008 13:46:44 +0000 (13:46 +0000)]
Various UI drawing and event tweaks to make markers feel more natural and avoid getting in the way. If there is a marker under the cursor, ESC will remove it and others in its group. Otherwise all temporary markers are removed. Tab finds/cycles/removes temp. markers, cycles non-temp. markers (under cursor) and behaves normally in all other cases.

12 years agoBGE fix: confirm fix for segmentation fault by Diego and remove warning in calling...
Benoit Bolsee [Wed, 6 Aug 2008 10:23:47 +0000 (10:23 +0000)]
BGE fix: confirm fix for segmentation fault by Diego and remove warning in calling ConvertMaterial Ipos.

12 years ago* blenderplayer wasnt useing the scenes frame rate.
Campbell Barton [Wed, 6 Aug 2008 04:09:10 +0000 (04:09 +0000)]
* blenderplayer wasnt useing the scenes frame rate.
* GBE Python API's alignToVect wasnt clamping the align ammount from 0.0-1.0
* Generated images arnt animated - use for a test to see if the textures animated.

12 years agoAdded a Python interface to the marker system with a few additional functions for...
Ian Thompson [Tue, 5 Aug 2008 23:23:31 +0000 (23:23 +0000)]
Added a Python interface to the marker system with a few additional functions for modifying text selections in general. Tweaked some of the events and drawing code and added a template completion script along the lines of gedit's snippets.

12 years agoMade Mathutils its own module rather then GanmeLogic.Mathutils
Campbell Barton [Tue, 5 Aug 2008 22:26:00 +0000 (22:26 +0000)]
Made Mathutils its own module rather then GanmeLogic.Mathutils

12 years agoUpdate MSVC project files for Mathutils support in the blenderplayer
Benoit Bolsee [Tue, 5 Aug 2008 22:23:38 +0000 (22:23 +0000)]
Update MSVC project files for Mathutils support in the blenderplayer

12 years agoFix compiler warnings from earlier commit.
Ken Hughes [Tue, 5 Aug 2008 22:13:13 +0000 (22:13 +0000)]
Fix compiler warnings from earlier commit.

12 years agoFix segmentation faul in GE.
Diego Borghetti [Tue, 5 Aug 2008 21:20:14 +0000 (21:20 +0000)]
Fix segmentation faul in GE.

We assign the material name before check the pointer.

Please Benoit check this and also I have a compiler warning
about the second argument in the previous call of
ConvertMaterialIpos, the argument is NULL but the function
need a dword.

12 years agoFind and Replace now support "Mark All" which marks all occurrences of a string and...
Ian Thompson [Tue, 5 Aug 2008 17:43:03 +0000 (17:43 +0000)]
Find and Replace now support "Mark All" which marks all occurrences of a string and allows them to be edited from one instance. Improvements have also been made to the UI allowing better control over which occurrences to replace.

12 years agoBGE fix bug #17430: BGE Collide/Touch Sensor interfearing with other unrelated sensor...
Benoit Bolsee [Tue, 5 Aug 2008 16:23:33 +0000 (16:23 +0000)]
BGE fix bug #17430: BGE Collide/Touch Sensor interfearing with other unrelated sensor states. The bug was introduced in the recent logic optimization patch. It only affects collision and touch sensors. The bug is fixed by keeping track of registration count.

12 years agoFix for [#17421] Issue with Displace modifier not updating with
Ben Batt [Tue, 5 Aug 2008 14:42:04 +0000 (14:42 +0000)]
Fix for [#17421] Issue with Displace modifier not updating with
                 animated textures

I have added a dependsOnTime function for the Displace modifier which checks
if the displacement texture has IPOs, is a plugin, or uses an animated image.

12 years agoAdded GameLogic.Mathutils so Mathutils and its types can be accessed from blenderplayer.
Campbell Barton [Tue, 5 Aug 2008 09:35:46 +0000 (09:35 +0000)]
Added GameLogic.Mathutils so Mathutils and its types can be accessed from blenderplayer.
also changed importText so it dosnt do a malloc

12 years agoBugfix #16673: Segfault when using Bake Constraints Script
Joshua Leung [Tue, 5 Aug 2008 03:29:46 +0000 (03:29 +0000)]
Bugfix #16673: Segfault when using Bake Constraints Script

There were several buggy things here (in order of significance):
1) PyAPI method didn't check to make sure that there was an active posechannel when deleting posechannel constraints. This was required by constraint_active_func() to be able to update the 'active' flags for the constraints in that stack
2) PyAPI method removed the links to the constraint data from the constraints list, even though that wasn't necessary, and may have caused memory leaks.
3) constraint_active_func() had no error checking for no constraints-stack being found

12 years agoMerging with trunk
Martin Poirier [Tue, 5 Aug 2008 02:27:09 +0000 (02:27 +0000)]
Merging with trunk
15568 - 15963

12 years agoown bug in weightpaint cleaning, wasnt removing as many groups from verts as it shoul...
Campbell Barton [Mon, 4 Aug 2008 23:20:12 +0000 (23:20 +0000)]
own bug in weightpaint cleaning, wasnt removing as many groups from verts as it should be.

12 years agoText Markers: multiple, coloured selections within a Text object with group relations...
Ian Thompson [Mon, 4 Aug 2008 23:01:47 +0000 (23:01 +0000)]
Text Markers: multiple, coloured selections within a Text object with group relationships. They allow portions of text to be edited as one and enable quick jumping between and editing of different areas.

Flags control the behaviour and grouping of markers. At present, Ctrl+M places a marker with TMARK_EDITALL set for testing purposes.

I have also split the text area event handler into separate methods for marker handling and the existing text tools. This makes the events system much easier to follow as it was getting a little hairy.

12 years agoOption to hide embedding dots on display
Martin Poirier [Mon, 4 Aug 2008 19:12:42 +0000 (19:12 +0000)]
Option to hide embedding dots on display
Merge internal and external filtering in a single loop (solve problems caused by order of filtering)
Made graph length calculations work on cyclic graphs (it unrolls them)

12 years agoFix for better icc + openmp support using scons
Daniel Genrich [Mon, 4 Aug 2008 17:24:11 +0000 (17:24 +0000)]
Fix for better icc + openmp support using scons

12 years agoFix for [#17291] Array modifier merge caps leaves a whole
Ben Batt [Mon, 4 Aug 2008 16:44:13 +0000 (16:44 +0000)]
Fix for [#17291] Array modifier merge caps leaves a whole
This code was missing a test_index_face call after merging, so it was making
quads with v4 == 0.

12 years agoFix for [#17376] Applying mirror modifier does not respect UV pinning.
Ben Batt [Mon, 4 Aug 2008 14:49:55 +0000 (14:49 +0000)]
Fix for [#17376] Applying mirror modifier does not respect UV pinning.

The custom data system wasn't swapping pinning or selection flags for MTFace
data when face vertices were reordered.