11 years agoAdd directives to support multi dir lib.
Guillermo S. Romero [Fri, 25 Sep 2009 22:38:15 +0000 (22:38 +0000)]
Add directives to support multi dir lib.

11 years agoFixing up Makefiles, its not fully working but its closer...
Kent Mein [Fri, 25 Sep 2009 18:47:43 +0000 (18:47 +0000)]
Fixing up Makefiles, its not fully working but its closer...


11 years agoalmost all event managers stored a pointer back to the logic manager, easier if this...
Campbell Barton [Fri, 25 Sep 2009 16:30:15 +0000 (16:30 +0000)]
almost all event managers stored a pointer back to the logic manager, easier if this pointer is in the base class - SCA_EventManager

11 years agoremoved double library entries without realizing I had the BGE disabled, these are...
Campbell Barton [Fri, 25 Sep 2009 16:27:12 +0000 (16:27 +0000)]
removed double library entries without realizing I had the BGE disabled, these are needed.

11 years agoWITH_CXX_GUARDEDALLOC was broken since BL_ArmatureObject become a PyObject
Campbell Barton [Fri, 25 Sep 2009 14:26:00 +0000 (14:26 +0000)]
WITH_CXX_GUARDEDALLOC was broken since BL_ArmatureObject become a PyObject

11 years agofix for buildinfo on mac's
Campbell Barton [Fri, 25 Sep 2009 13:09:18 +0000 (13:09 +0000)]
fix for buildinfo on mac's

11 years agoGraph Editor: F-Modifiers can now be added to multiple selected F-Curves at once...
Joshua Leung [Fri, 25 Sep 2009 12:20:31 +0000 (12:20 +0000)]
Graph Editor: F-Modifiers can now be added to multiple selected F-Curves at once with the Ctrl-Shift-M hotkey.

* All the selected F-Curves will get the same type of F-Modifier added.
* The button in the properties region will still only added the F-Modifier to the active F-Curve though
* For now, there must be an active F-Curve in either case, otherwise the poll() callback fails.

11 years agoGraph Editor: Drawing + Selection Tweaks
Joshua Leung [Fri, 25 Sep 2009 10:52:29 +0000 (10:52 +0000)]
Graph Editor: Drawing + Selection Tweaks

* Deselect all now selects/deselects F-Curves too

* Tangents of unselected F-Curves now draw 'faded' like the curves they belong to. This experimental change is quite subtle, but can be made stronger still if people want.

* Cleaned up some old comments in the code too...

11 years agomodal kaymaps for view3d rotate/move/zoom removed redundant 'view' prefix from these...
Campbell Barton [Fri, 25 Sep 2009 10:24:42 +0000 (10:24 +0000)]
modal kaymaps for view3d rotate/move/zoom removed redundant 'view' prefix from these operators.

11 years agoWarning fixes for ITASC. Also, use <stdlib.h> instead of <malloc.h>,
Brecht Van Lommel [Fri, 25 Sep 2009 09:33:46 +0000 (09:33 +0000)]
Warning fixes for ITASC. Also, use <stdlib.h> instead of <malloc.h>,
it works everywhere.

11 years agoFix OSX compilation problem with malloc.h in itasc
Benoit Bolsee [Fri, 25 Sep 2009 07:44:29 +0000 (07:44 +0000)]
Fix OSX compilation problem with malloc.h in itasc

11 years ago- use pythons time module rather then bpy.sys.time()
Campbell Barton [Fri, 25 Sep 2009 05:25:44 +0000 (05:25 +0000)]
- use pythons time module rather then bpy.sys.time()
- comment poll functions, maybe could check for editable scene later
- importing OBJs imports triangle meshes.

11 years agoDrivers: Copy/Paste tools for the RMB Menu
Joshua Leung [Fri, 25 Sep 2009 04:51:04 +0000 (04:51 +0000)]
Drivers: Copy/Paste tools for the RMB Menu

Drivers can now be copied/pasted for single properties, allowing drivers set up on one property to be added to a few other properties relatively easily.

Also, added description strings for the other driver-button operators.

11 years agostill doesn't work but this fixes make clean
Campbell Barton [Fri, 25 Sep 2009 04:25:40 +0000 (04:25 +0000)]
still doesn't work but this fixes make clean

11 years agooptions WITH_LZO and WITH_LZMA for cmake and scons (default to true) pointcache.c...
Campbell Barton [Fri, 25 Sep 2009 02:40:10 +0000 (02:40 +0000)]
options WITH_LZO and WITH_LZMA for cmake and scons (default to true) pointcache.c also needed to have checks for these defines.

11 years agoShell script exit values should be non-negative.
Guillermo S. Romero [Fri, 25 Sep 2009 01:59:43 +0000 (01:59 +0000)]
Shell script exit values should be non-negative.
Exact error with dash as sh "exit: 12: Illegal number: -1".
The rest are just changes to whitespace and polishing.

11 years agoneeded for linking with cmake on unix
Campbell Barton [Fri, 25 Sep 2009 01:49:06 +0000 (01:49 +0000)]
needed for linking with cmake on unix

11 years agoQuick tweaks to commonly debated mesh-editing hotkeys:
Joshua Leung [Fri, 25 Sep 2009 01:43:34 +0000 (01:43 +0000)]
Quick tweaks to commonly debated mesh-editing hotkeys:

* Loopcut is now just Ctrl-R.
The preview will be activated when you do this, and you can just click to confirm as in 2.4x and also like when this was activated from the toolshelf. This is less error prone than having to click at the same time as picking the loop as with the previous hotkey.

* Knife is now just: hold k-key and lmb click+drag to draw a cut line and cut the mesh.
This is more direct than the (rather arcane) Ctrl-X-LMB-drag, and is quite similar to what's done for Grease Pencil now.

11 years agoBugfixes:
Joshua Leung [Fri, 25 Sep 2009 01:30:32 +0000 (01:30 +0000)]

* #19459: Shape Keys not Animateable
Shape Keys were missing the appropriate 'path' callbacks.

* #19458: 3D Viewport doesn't refresh when adding new bone in editmode (using Shift-A)
The 'wrong' notifier was being sent. Currently, Armature EditMode only responds to NC_OBJECT|ND_TRANSFORM, which isn't strictly that correct for all cases.

* Alignment code for constraints headers (i.e. enable/disable lumped with the delete constraint button) was causing the delete button to not work anymore. Removed the offending code (it shouldn't have been there to start off with).

* When object's don't have their own AnimData (i.e. if you only animate the values of some shapekeys), a space is no longer left beside the object's name for a visibility toggle in the Graph Editor.

11 years agomissing includes
Campbell Barton [Fri, 25 Sep 2009 01:29:30 +0000 (01:29 +0000)]
missing includes

11 years agoSVN maintenance.
Guillermo S. Romero [Fri, 25 Sep 2009 01:13:07 +0000 (01:13 +0000)]
SVN maintenance.

11 years ago* some fixes to have scons/mingw compile the sources too, even with BF_DEBUG=1 and...
Nathan Letwory [Thu, 24 Sep 2009 22:11:35 +0000 (22:11 +0000)]
* some fixes to have scons/mingw compile the sources too, even with BF_DEBUG=1 and WITH_BF_GAMEENGINE=1

11 years agoMerge of itasc branch. Project files, scons and cmake should be working. Makefile...
Benoit Bolsee [Thu, 24 Sep 2009 21:22:24 +0000 (21:22 +0000)]
Merge ... itasc branch. Project files, scons and cmake should be working. Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library.

11 years agonetrender: usage based balancer. more useful than credits
Martin Poirier [Thu, 24 Sep 2009 21:05:54 +0000 (21:05 +0000)]
netrender: usage based balancer. more useful than credits

11 years ago* explicit cast needed for mingw.
Nathan Letwory [Thu, 24 Sep 2009 20:20:43 +0000 (20:20 +0000)]
* explicit cast needed for mingw.

11 years agonetrender: draft code for cluster usage per job calculations. Eventually, this will...
Martin Poirier [Thu, 24 Sep 2009 19:52:32 +0000 (19:52 +0000)]
netrender: draft code for cluster usage per job calculations. Eventually, this will be used for load balancing

11 years ago* fix snprintf error with mingw
Nathan Letwory [Thu, 24 Sep 2009 19:50:15 +0000 (19:50 +0000)]
* fix snprintf error with mingw
* move header guards to the right place.

11 years agofixed some indentation, and removed
Kent Mein [Thu, 24 Sep 2009 16:18:17 +0000 (16:18 +0000)]
fixed some indentation, and removed
declaration of index in a couple of places because it was
already defined and safe to use the old def.


11 years agoadd buildinfo to cmake (no win32 support)
Campbell Barton [Thu, 24 Sep 2009 15:36:00 +0000 (15:36 +0000)]
add buildinfo to cmake (no win32 support)

11 years agoimagewrap was using uninitialized vars from do_material_tex
Campbell Barton [Thu, 24 Sep 2009 12:27:20 +0000 (12:27 +0000)]
imagewrap was using uninitialized vars from do_material_tex
found while looking into a different bug.

11 years agoFix for panorama backwards compatibility not working correct.
Brecht Van Lommel [Thu, 24 Sep 2009 12:15:17 +0000 (12:15 +0000)]
Fix for panorama backwards compatibility not working correct.

11 years agomingw - silencing the warnings about '#pragma' warnings being unrecognised or being...
Joshua Leung [Thu, 24 Sep 2009 11:46:17 +0000 (11:46 +0000)]
mingw - silencing the warnings about '#pragma' warnings being unrecognised or being ignored. This should still work fine for msvc, and other platforms though.

11 years agofix for [#19437] Console (Python): first run doesn't have the ">>>"
Campbell Barton [Thu, 24 Sep 2009 11:37:33 +0000 (11:37 +0000)]
fix for [#19437] Console (Python): first run doesn't have the ">>>"

11 years agoFix #19446: merge operator needs to be undone twice, interface
Brecht Van Lommel [Thu, 24 Sep 2009 10:46:52 +0000 (10:46 +0000)]
Fix #19446: merge operator needs to be undone twice, interface
was still doing undo pushes in cases it was not needed.

11 years ago3rd attempt to fix ssize_t problem in MSVC and mingw
Benoit Bolsee [Thu, 24 Sep 2009 10:41:28 +0000 (10:41 +0000)]
3rd attempt to fix ssize_t problem in MSVC and mingw

11 years agofix for middle mouse up events not working with modal keymaps (used for fly mode).
Campbell Barton [Thu, 24 Sep 2009 10:35:04 +0000 (10:35 +0000)]
fix for middle mouse up events not working with modal keymaps (used for fly mode).

With mouse events event->val started as 0/1 for press/release but later the tweak function made LMB and RMB zero value into KM_RELEASE, somehow MMB didnt get used by the tweak function so was left at 0 and the modal keymap function failed when comparing MMB Mouse ups.

now initialize event->val as KM_PRESS/KM_RELEASE

11 years agoFix more problem with mingw this time
Benoit Bolsee [Thu, 24 Sep 2009 10:04:43 +0000 (10:04 +0000)]
Fix more problem with mingw this time

11 years agoFix compilation problem in Windows and update project files
Benoit Bolsee [Thu, 24 Sep 2009 09:29:59 +0000 (09:29 +0000)]
Fix compilation problem in Windows and update project files

11 years ago- cmake/make/scons didnt define INTERNATIONAL when buidling blenfont
Campbell Barton [Thu, 24 Sep 2009 07:03:18 +0000 (07:03 +0000)]
- cmake/make/scons didnt define INTERNATIONAL when buidling blenfont

- BLF_lang_init used confusing IFDEF's, unlikely this was well tested. Split this into 3 functions for Apple/Win32/Unix, Unix uses BLI_gethome_folder(), cant test others, ideally they should use BLI_gethome_folder too but needs testing.
Possibly each os cant be made to use BLI_gethome_folder and the separate func's can be removed (please test).

- units, hectometers were displayed wrong.

11 years agoUse Shift+F for fly-mode (like 2.4x) rather then Any+F
Campbell Barton [Thu, 24 Sep 2009 06:48:03 +0000 (06:48 +0000)]
Use Shift+F for fly-mode (like 2.4x) rather then Any+F

11 years agobrush curve - use clamped values (0-1) for everything except sculpt which can have...
Campbell Barton [Thu, 24 Sep 2009 01:32:23 +0000 (01:32 +0000)]
brush curve - use clamped values (0-1) for everything except sculpt which can have positive and negative values.

11 years agonetrender: load balancer fixes, cancel all jobs button and small html interface changes
Martin Poirier [Wed, 23 Sep 2009 21:46:29 +0000 (21:46 +0000)]
netrender: load balancer fixes, cancel all jobs button and small html interface changes

11 years agoInitial sketch of file access wrappers.
Guillermo S. Romero [Wed, 23 Sep 2009 21:26:24 +0000 (21:26 +0000)]
Initial sketch of file access wrappers.
It compiles but does nothing useful yet. The "//" comments are notes to
remember what to do in each block.

11 years ago2 Anim Bugfixes:
Joshua Leung [Wed, 23 Sep 2009 13:09:09 +0000 (13:09 +0000)]
2 Anim Bugfixes:

* Loading old (2.4x) files with keyframes now inits them properly so that keyframes are tagged as normal keyframes not breakdowns

* TrackTo consraint was flagged wrongly for adding it with a target. This meant that the target didn't get set when using the Ctrl-Shift-C hotkey.

11 years ago* fixes for compiling with scons/mingw when BF_DEBUG=1. Needs svn up in lib/windows...
Nathan Letwory [Wed, 23 Sep 2009 12:10:56 +0000 (12:10 +0000)]
* fixes for compiling with scons/mingw when BF_DEBUG=1. Needs svn up in lib/windows, where I added necessary mingw libs.

11 years agoSome UI tweaks as listed by William
Joshua Leung [Wed, 23 Sep 2009 11:49:12 +0000 (11:49 +0000)]
Some UI tweaks as listed by William

* Removed panel docking. "It is too easy to do by accident when reordering panels, is very hard to control and use, and has no real benefit."

* Scoll bars have minimum size now, so that the 'thumb' doesn't disappear in long lists.

11 years agofly mode back as a modal operator
Campbell Barton [Wed, 23 Sep 2009 11:26:16 +0000 (11:26 +0000)]
fly mode back as a modal operator
- access with the F key, Ctrl+Alt+F in editmode, View->Navigation menu
- camera, perspective & 4split (perspective view only)
- uses modal keymap, (same as 2.4x).
- bugfix since 2.4x, when flying upside down, turning left/right was inverted.
- bugfix for "Align Camera To View", was using deprecated v3d->ofs rather then rv3d->ofs, fixed for NDof fly too. checked v3d->ofs is only used in readfile.c

- Warping the cursor removed in 2.5, no way to place the cursor in the middle of the view.
- Adding keyframes while in flymode to record the path is missing.
- Not getting MMB mouse release events (used for pan). need to look into why.

11 years agoA few quick bugfixes:
Joshua Leung [Wed, 23 Sep 2009 07:28:26 +0000 (07:28 +0000)]
A few quick bugfixes:

* Vertex Groups list now has a more normal length (2 rows by default)

* Copy vertex groups button now has an icon

* Pose Sliding tools now allow events which it doesn't process to pass through (i.e. zooming the view now works, and also moving around using the numpad works too)

11 years agonetrender. first draft of html master details. Just point a browser at the master...
Martin Poirier [Wed, 23 Sep 2009 01:59:57 +0000 (01:59 +0000)]
netrender. first draft of html master details. Just point a browser at the master's address and port, et voila. Gives a list of jobs and slaves and well as per frame status for each job and access to slave output logs per frame

11 years agoremove rna function convert_to_triface because it uses an internal editmesh function...
Campbell Barton [Wed, 23 Sep 2009 01:35:45 +0000 (01:35 +0000)]
remove rna function convert_to_triface because it uses an internal editmesh function and only the OBJ exporter called this.

Converting to tri's on export isnt very important.

11 years ago* Tweak to fix:
Matt Ebb [Wed, 23 Sep 2009 00:53:30 +0000 (00:53 +0000)]
* Tweak to fix:

[#8358] Performance regression with raytraced refraction

Now shadows are only sampled once in reflections/refractions. For cases where this would be a problem (perfect specular reflection/refraction), the full OSA takes care of it.

11 years agoMake edge slide a proper operator
Martin Poirier [Tue, 22 Sep 2009 20:16:56 +0000 (20:16 +0000)]
Make edge slide a proper operator

Clean up a couple of things in transform (PET settings, custom data, ...)

11 years agoSVN maintenance.
Guillermo S. Romero [Tue, 22 Sep 2009 19:09:04 +0000 (19:09 +0000)]
SVN maintenance.

11 years agofixed some edge slide issues
Joseph Eagar [Tue, 22 Sep 2009 18:47:28 +0000 (18:47 +0000)]
fixed some edge slide issues

11 years agominor fixes for merge of soc-2009-kazanbas, rev23422
Campbell Barton [Tue, 22 Sep 2009 17:50:29 +0000 (17:50 +0000)]
minor fixes for merge of soc-2009-kazanbas, rev23422
- Use CTX_data_main(C) over G.main
- no need to define object_type_items inline.
- rna_mesh.c - dynamic length array was commented out, not sure why this was needed. Povray and PLY scripts rely on faces having 3/4 verts rather then checking the 4th index is 0 (ok in C, not nice in py).

11 years agoManual merge of soc-2009-kazanbas branch:
Arystanbek Dyussenov [Tue, 22 Sep 2009 16:35:07 +0000 (16:35 +0000)]
Manual merge of soc-2009-kazanbas branch:

* copied I/O scripts
* copied, modified rna_*_api.c and rna_*.c

I/O scripts not working yet due to slight BPY differences and RNA changes. Will fix them later.

Not merged changes:

* C unit testing integration, because it is clumsy
* scons cross-compiling, can be merged easily later

11 years agoPyConsole improvements
Campbell Barton [Tue, 22 Sep 2009 16:23:46 +0000 (16:23 +0000)]
PyConsole improvements
- Commands from the history wont get modified in-place when you cycle back and re-use them.
- Ctrl Left/Right skip words.
- Autocompletion on a variable that has no alternatives adds a '.'
  'bpy' -> 'bpy.', generally more useful since autocomp again will give the members of bpy

also moved text_check_* functions into BKE_text.h for the console to access.

11 years ago2.5 - Animation Tweaks
Joshua Leung [Tue, 22 Sep 2009 11:45:30 +0000 (11:45 +0000)]
2.5 - Animation Tweaks

* delta-transforms for objects should work again. These were basically extra transforms that could get added on top of the values calculated from animation values.

* Added some skeleton code for fixing paths when some data needs to be renamed.

11 years agoChanges to allow python to do redraws through the timer operator, a reliable way...
Campbell Barton [Tue, 22 Sep 2009 09:12:39 +0000 (09:12 +0000)]
Changes to allow python to do redraws through the timer operator, a reliable way to test the overhead of the python api (printed to the consoel on exit).

- rename WM_OT_ten_timer to WM_OT_redraw_timer
- added iterations argument to run more then 10 times (10 is default still)
- use report api rather then always calling a popup directly.
- added a new test that draws every region without swapping.
- dont show the info popup when operators are called from python.
- operators called from python now print reports, useful with the interactive console.

>>> bpy.ops.wm.redraw_timer(type='DRAW_WIN', iterations=300)
Info: 300 x Draw Window: 4168.56 ms,  average: 13.8952

11 years agofixed a crash in edge slide
Joseph Eagar [Tue, 22 Sep 2009 09:04:43 +0000 (09:04 +0000)]
fixed a crash in edge slide

11 years ago* ensure mingw toolset is recognised properly for python debug when doing BF_DEBUG=1
Nathan Letwory [Tue, 22 Sep 2009 08:57:00 +0000 (08:57 +0000)]
* ensure mingw toolset is recognised properly for python debug when doing BF_DEBUG=1

11 years agobrought back edge slide.
Joseph Eagar [Tue, 22 Sep 2009 08:41:03 +0000 (08:41 +0000)]
brought back edge slide.

11 years ago- removed View3D->localview since it wasnt set on entering localview (making many...
Campbell Barton [Tue, 22 Sep 2009 04:40:16 +0000 (04:40 +0000)]
- removed View3D->localview since it wasnt set on entering localview (making many tools fail, add objects for eg.), check localvd instead.
- Accent (`) key now sets all layers (like in 2.4x)
- added Alt+C keybinding for converting object types.

11 years ago2.5 - Keyframe types are now preserved after inserting keyframes which would overwrit...
Joshua Leung [Tue, 22 Sep 2009 01:27:48 +0000 (01:27 +0000)]
2.5 - Keyframe types are now preserved after inserting keyframes which would overwrite the existing keyframes

11 years agoFix #19391: quiting BGE could give drawing errors. Blender now restores
Brecht Van Lommel [Mon, 21 Sep 2009 21:37:19 +0000 (21:37 +0000)]
Fix #19391: quiting BGE could give drawing errors. Blender now restores
the default OpenGL state after exiting the game engine, and also removed
settings the default state on start, since the game engine already does

11 years agoUpdated some colors in node space and file browser to better match the color theme...
William Reynish [Mon, 21 Sep 2009 21:28:48 +0000 (21:28 +0000)]
Updated some colors in node space and file browser to better match the color theme in 2.5.

11 years agoFix #19427, problem in blenfont not computing the width of text correct,
Brecht Van Lommel [Mon, 21 Sep 2009 21:26:04 +0000 (21:26 +0000)]
Fix #19427, problem in blenfont not computing the width of text correct,
particularly text including spaces. This gave some problems with placing
the cursor and selection, and clipping text inside buttons.

11 years agoRNA: added a "factor" subtype next to "percentage", and only display
Brecht Van Lommel [Mon, 21 Sep 2009 21:19:58 +0000 (21:19 +0000)]
RNA: added a "factor" subtype next to "percentage", and only display
% sign for percentage assuming it is between 0-100, while factor is
for values 0-1.

Move collision setting absorption from modifier to collision settings,
was inconsistent to have it there as the only one, and made it have
range 0.0-1.0 instead of 0-100.

11 years agoFix part of #19307: modifier cage button not working as a toggle button.
Brecht Van Lommel [Mon, 21 Sep 2009 21:03:50 +0000 (21:03 +0000)]
Fix part of #19307: modifier cage button not working as a toggle button.

11 years agoFix part of #19309: editing node vector input in a popup did
Brecht Van Lommel [Mon, 21 Sep 2009 20:50:11 +0000 (20:50 +0000)]
Fix part of #19309: editing node vector input in a popup did
not keep it open after changing one of the buttons.

11 years ago* Wrong Property Range for Blur Size_Y.
Thomas Dinges [Mon, 21 Sep 2009 19:26:27 +0000 (19:26 +0000)]
* Wrong Property Range for Blur Size_Y.

11 years agoFix #19426: loop select with occlude background geometry did not
Brecht Van Lommel [Mon, 21 Sep 2009 17:32:25 +0000 (17:32 +0000)]
Fix #19426: loop select with occlude background geometry did not
work after subdivide operator, needed a check for valid backbuf.

11 years agoFix #19384: missing redraw when changing transform orientation.
Brecht Van Lommel [Mon, 21 Sep 2009 17:00:22 +0000 (17:00 +0000)]
Fix #19384: missing redraw when changing transform orientation.

11 years agoFix #19378: border render coordinates were not RNA wrapped.
Brecht Van Lommel [Mon, 21 Sep 2009 16:51:04 +0000 (16:51 +0000)]
Fix #19378: border render coordinates were not RNA wrapped.

11 years agoFix #19361: BGE keyboard sensor allowed to set mouse events
Brecht Van Lommel [Mon, 21 Sep 2009 16:39:07 +0000 (16:39 +0000)]
Fix #19361: BGE keyboard sensor allowed to set mouse events
too, should only be keyboard events.

11 years ago2.5 Nodes:
Thomas Dinges [Mon, 21 Sep 2009 16:21:54 +0000 (16:21 +0000)]
2.5 Nodes:

* Wrapped Color Key and Blur Node.
* Nodes using RNA properties can be animated. You can now choose if the Nodes Window should be updated while animation playback too. (Timeline>Playback Menu)

11 years agoFix #19382: crash on uv edit stitch, tweaking limit property in tool area.
Brecht Van Lommel [Mon, 21 Sep 2009 16:08:38 +0000 (16:08 +0000)]
Fix #19382: crash on uv edit stitch, tweaking limit property in tool area.

11 years agonetrender: more load balancing rules
Martin Poirier [Mon, 21 Sep 2009 16:01:31 +0000 (16:01 +0000)]
netrender: more load balancing rules

11 years agoSecond attempt at fixing #19335: holding down backspace in the
Brecht Van Lommel [Mon, 21 Sep 2009 15:51:29 +0000 (15:51 +0000)]
Second attempt at fixing #19335: holding down backspace in the
text editor creates squares on some systems. Based on info from
Martin, it appears the keymodifier is being set when it shouldn't.
I think this is happening become some systems may be generating
KM_PRESS events without a matching KM_RELEASE?

Also ignore ascii values 1-32 now instead of 14-32, not sure why
they were included now in 2.5 because they were not in 2.4, but
I don't see a reason to do it. This fixes squares when pressing
e.g. ctrl+b or ctrl+n.

11 years agoremove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.
Campbell Barton [Mon, 21 Sep 2009 15:47:41 +0000 (15:47 +0000)]
remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.

11 years ago* Removed an unused context callback.
Thomas Dinges [Mon, 21 Sep 2009 14:45:28 +0000 (14:45 +0000)]
* Removed an unused context callback.

11 years agoFix #19425: crash with long filename and rendering full sample.
Brecht Van Lommel [Mon, 21 Sep 2009 14:30:59 +0000 (14:30 +0000)]
Fix #19425: crash with long filename and rendering full sample.

11 years agoautocomplete poll function wasn't working, added autocomplete in the console header
Campbell Barton [Mon, 21 Sep 2009 13:43:11 +0000 (13:43 +0000)]
autocomplete poll function wasn't working, added autocomplete in the console header
operator docstrings with newlines and tabs show up as junk in tooltips so just use a single line.

11 years agoFix #19418: file browse button for strip filename did not work,
Brecht Van Lommel [Mon, 21 Sep 2009 13:23:47 +0000 (13:23 +0000)]
Fix #19418: file browse button for strip filename did not work,
sequence RNA now also splits up directory and filename automatic.

11 years ago2.5 - Keyframes can now be marked as 'extremes' in addition to 'breakdowns'
Joshua Leung [Mon, 21 Sep 2009 12:29:53 +0000 (12:29 +0000)]
2.5 - Keyframes can now be marked as 'extremes' in addition to 'breakdowns'

* Extremes are shown as red/pink diamonds
* I've changed the order of extremes and breakdowns in the code to make for nicer sizing/ordering. This might break a couple of files out there, but it shouldn't be too many.

Still on my todo is to make these tags more useful (i.e. less likely to be overwritten by keyframing)

11 years agobugfix [#19392] Typing help() in the console window freezes Blender
Campbell Barton [Mon, 21 Sep 2009 12:23:56 +0000 (12:23 +0000)]
bugfix [#19392] Typing help() in the console window freezes Blender

for now set the sys.stdin to None, this gives an error on input() or help() but better then locking up blender.
Would be nice to support for the blender console to be used as a stdin but this isnt so simple.

also quiet some warnings.

11 years ago2.5 - Partial Bugfixes for Parenting Objects to Curves (Ctrl-P)
Joshua Leung [Mon, 21 Sep 2009 12:09:00 +0000 (12:09 +0000)]
2.5 - Partial Bugfixes for Parenting Objects to Curves (Ctrl-P)

* Path Constraint option (i.e. this creates a follow-path constraint but doesn't actually parent the object to the curve) works now. Fixed a crash here too.

* Follow Path option (i.e. parent the object to the curve, and follow it), is not working correctly yet. Some matrix seems to get set wrongly.

11 years agocolorbands could display with no items in the colorband array, letting you set 0...
Campbell Barton [Mon, 21 Sep 2009 10:57:46 +0000 (10:57 +0000)]
colorbands could display with no items in the colorband array, letting you set 0 and -1 colorband index.

11 years agoFix #19389: add lamp had no submenu to choose the type.
Brecht Van Lommel [Mon, 21 Sep 2009 10:54:15 +0000 (10:54 +0000)]
Fix #19389: add lamp had no submenu to choose the type.

11 years agotested running the cheat-sheet, found a number of segfaults
Campbell Barton [Mon, 21 Sep 2009 09:17:14 +0000 (09:17 +0000)]
tested running the cheat-sheet, found a number of segfaults
pressing escape in the outliner was also crashing (somehow it tried to exit the file selector)

11 years ago* Added Armature data filter buttons in Dopesheet/Graph editor headers
Matt Ebb [Mon, 21 Sep 2009 07:25:48 +0000 (07:25 +0000)]
* Added Armature data filter buttons in Dopesheet/Graph editor headers

* Fixed an RNA typo to fix ranges in action constraint

11 years ago* Added AnimData for Armature data, for animating armature/bone settings.
Matt Ebb [Mon, 21 Sep 2009 06:43:20 +0000 (06:43 +0000)]
* Added AnimData for Armature data, for animating armature/bone settings.

This allows you to do funky things like animating the number of segments in a b-bone.

11 years ago5 button mouse support from b333rt in IRC with some edits for X11.
Campbell Barton [Mon, 21 Sep 2009 05:56:43 +0000 (05:56 +0000)]
5 button mouse support from b333rt in IRC with some edits for X11.

Tested in X11 where its fairly confusing.
buttons 4 and 5 are used for the wheel which is well known, but it seems 6 and 7 are used for horizontal scrolling, my mouse assigns the extra 2 buttons to events 8 & 9.

So the X11 events used for buttons called 4&5 in blender are 8&9 in X11.

The mouse buttons can be re-ordered like this once xorg starts (swaps 6,7 with 8,9)
  xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7"

Couldn't test Win32, Apple not supported.
If someone wants to add horizontal scrolling its quite easy.

11 years agoBetter unix filesystem integration as documented here
Campbell Barton [Mon, 21 Sep 2009 03:16:26 +0000 (03:16 +0000)]
Better unix filesystem integration as documented here

for scons WITH_BF_FHS enabled an alternative layout eg.
´╗┐scons WITH_BF_FHS=1 BF_INSTALLDIR="/usr/local"

for CMake just run "make install" after make (´╗┐CMAKE_INSTALL_PREFIX is used for the base path)

Currently only scripts use both the system and user path correctly, other areas of blender have their own path code inline with lots of ifdefs, needs to be carefully updated.

11 years ago* Testing removing the click-region-edge-to-minimise functionality
Matt Ebb [Mon, 21 Sep 2009 01:32:37 +0000 (01:32 +0000)]
* Testing removing the click-region-edge-to-minimise functionality

It was getting very annoying, hitting it by accident and having the region disappear. Now, you can still hide the region by resizing it down to zero, or by using the hotkeys (i.e. N, or T in the 3D View).

Perhaps this minimising would be better done in a RMB menu on sub-regions (i.e. like previous Header: top/bottom/hide stuff)

11 years agoNew transform input function for joeedh, to be used for edge slide.
Martin Poirier [Mon, 21 Sep 2009 00:48:36 +0000 (00:48 +0000)]
New transform input function for joeedh, to be used for edge slide.

Like Vertical or Horizontal ratio input, but along a line defined by two points on screen.

11 years agoUpdate condition checks to match user definable CC and CCC.
Guillermo S. Romero [Sun, 20 Sep 2009 20:21:01 +0000 (20:21 +0000)]
Update condition checks to match user definable CC and CCC.
Also make faster to notice which FIX_NAN_WARN as not been replaced.

11 years agoAdd audaspace search path.
Guillermo S. Romero [Sun, 20 Sep 2009 20:14:34 +0000 (20:14 +0000)]
Add audaspace search path.

11 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 19:10:12 +0000 (19:10 +0000)]
2.5 filebrowser
* fix crash in autocomplete for very long paths
* allow longer paths in directory button
* added some TODO comments for G.lib

11 years ago2.5 Game Sound:
Thomas Dinges [Sun, 20 Sep 2009 18:49:46 +0000 (18:49 +0000)]
2.5 Game Sound:

* Added Sound Buttons for Game in the Scene Buttons.