9 years agosoc-2008-mxcurioni: merged changes to revision 23516
Maxime Curioni [Mon, 28 Sep 2009 06:03:55 +0000 (06:03 +0000)]
soc-2008-mxcurioni: merged changes to revision 23516

9 years agoIntegrated Freestyle to rendering pipeline
Maxime Curioni [Mon, 28 Sep 2009 04:12:06 +0000 (04:12 +0000)]
Integrated Freestyle to rendering pipeline

9 years agoMigration of Freestyle to Blender 2.5 codebase (continued):
Maxime Curioni [Mon, 28 Sep 2009 03:56:31 +0000 (03:56 +0000)]
Migration of Freestyle to Blender 2.5 codebase (continued):
- proper Freestyle initialization, with support for undo/redo
- re-added FreestyleStyleConfig data structure
- Freestyle Python interpreter updated

This commit should compile without errors. More work is necessary to complete the migration:
- add Freestyle in the UI
- set up RNA support

9 years agoadded missing notifyer/depsgraph call to loopcut, fixed tweaking the edge slide opera...
Joseph Eagar [Mon, 28 Sep 2009 03:28:28 +0000 (03:28 +0000)]
added missing notifyer/depsgraph call to loopcut, fixed tweaking the edge slide operator in the last operator panel, and uncommented a line in the remove doubles op that was making it not work (and tweaked the rna limits a bit there, too).

9 years ago- removed 2.4x release/scripts
Campbell Barton [Mon, 28 Sep 2009 03:19:52 +0000 (03:19 +0000)]
- removed 2.4x release/scripts
- moved release/io and release/ui into release/scripts/io, ui
- updated scons, cmake, make

When porting 2.4x scripts back, use a command like this so as not to loose the commit history...

 svn cp release/scripts/io/

9 years agoSpeed optimization in itasc when with armature with many bones and few targets. Thank...
Benoit Bolsee [Sun, 27 Sep 2009 16:20:42 +0000 (16:20 +0000)]
Speed optimization in itasc when with armature with many bones and few targets. Thanks to Brecht who pointed out a simple but efficient optimization in SVD decomposition.

9 years ago2.5 Layout Files:
Thomas Dinges [Sun, 27 Sep 2009 11:00:35 +0000 (11:00 +0000)]
2.5 Layout Files:

* Some Code and Whitespace Cleanup.

9 years agoRNA + Animation:
Joshua Leung [Sun, 27 Sep 2009 09:38:13 +0000 (09:38 +0000)]
RNA + Animation:

* Added missing RNA wrapping for Scene -> AnimData
* Fixed bug (with temp-fix) where sequence strips with no names couldn't be animated properly. Currently, this will just use the index of the strip, although that is likely to be mutable (adding/removing strips will change it).

* Removed some old unused code from action.c

9 years agoAdded Image.get_abs_filename() and updated scripts to use it. This removes the necess...
Arystanbek Dyussenov [Sun, 27 Sep 2009 09:19:29 +0000 (09:19 +0000)]
Added Image.get_abs_filename() and updated scripts to use it. This removes the necessity of bpy.sys.expandpath().
Added missing Object.dupli_list.

9 years agoBugfix: Shapekey NLA Tracks were shown mixed with the ones for Objects
Joshua Leung [Sun, 27 Sep 2009 06:27:45 +0000 (06:27 +0000)]
Bugfix: Shapekey NLA Tracks were shown mixed with the ones for Objects

9 years agoAnimation Editors - Moved the code for drawing the filtering toggles into a single...
Joshua Leung [Sun, 27 Sep 2009 06:14:42 +0000 (06:14 +0000)]
Animation Editors - Moved the code for drawing the filtering toggles into a single function.

9 years ago2.5 - Assorted Animation UI/Editing Tweaks
Joshua Leung [Sun, 27 Sep 2009 04:22:04 +0000 (04:22 +0000)]
2.5 - Assorted Animation UI/Editing Tweaks

Main Feature:
* It is now possible to choose which AnimData block is the 'active' one for editing, and/or select them too. AnimData blocks are generally the dark blue and lighter-blue expanders (i.e. Scene, Object, Camera, Lamp, Curve, Armature, etc.)

* Objects are no longer selected/deselected when AKEY is used to toggle selection of channels. This was getting a bit annoying.

* Following on from selection of AnimData blocks, it is now possible to select/make active an AnimData block in the animation editors, and change the active action for that block via the 'Animation Data' panel in NLA Editor's properties region.
--> Be aware that user-counts are not totally handled correctly there yet, so some funky behaviour might be seen...
--> It is possible to assign a new action, or to assign an existing one, allowing to switch between actions as in the past with Actions/IPO Editors...

Other tweaks:
* Some code tweaks towards making the 'Euler Filter' feature for Graph Editor working sometime soon
* Added some backend code for snapping the values of keyframes to a single value. Still need to work out some UI for it though.
* Shuffled the code for ACT_OT_new() around, and removed the poll() callback so that it worked in NLA too.
* Fixed some more notifier bugs with deleting bones and a few other editmode operations for Armatures.

9 years agoMade standard style modules compatible with Python 3.
Tamito Kajiyama [Sun, 27 Sep 2009 00:58:38 +0000 (00:58 +0000)]
Made standard style modules compatible with Python 3.

9 years agoMade the Freestyle Python API compatible with Python 3.
Tamito Kajiyama [Sun, 27 Sep 2009 00:32:20 +0000 (00:32 +0000)]
Made the Freestyle Python API compatible with Python 3.

9 years agoSound:
Joerg Mueller [Sat, 26 Sep 2009 20:03:01 +0000 (20:03 +0000)]

* Threading buxfix letting MSVC Debug builds crash because of corrupted std::lists
* Adopted two property ranges
* Changed the mixdown volume to set the device volume instead of the volume of every sound.

I also removed the private redefinition of m_logicmgr in SCA_BasicEventManager, which was already defined protected in the parent class SCA_EventManager and thus caused a bug letting GE crash here because of an uninitialized pointer.

9 years agonetrender: split off job settings in their own panel. Add button to open up web inter...
Martin Poirier [Sat, 26 Sep 2009 19:50:59 +0000 (19:50 +0000)]
netrender: split off job settings in their own panel. Add button to open up web interface in a browser.

9 years agoAssorted tiny UI tweaks
William Reynish [Sat, 26 Sep 2009 16:43:20 +0000 (16:43 +0000)]
Assorted tiny UI tweaks

9 years agonetrender: fix some bugs with job cancellation, remove credits system, add more statu...
Martin Poirier [Sat, 26 Sep 2009 16:22:52 +0000 (16:22 +0000)]
netrender: fix some bugs with job cancellation, remove credits system, add more status report on server, cleanup server error management

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

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


9 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

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

9 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

9 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

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

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

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

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

9 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

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

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

9 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

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

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

9 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

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

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

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

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

9 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

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

9 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

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

9 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

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

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


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

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

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

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

9 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 ">>>"

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

9 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

9 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

9 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

9 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

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

9 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

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

9 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

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

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

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

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

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

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

9 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

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

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

9 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, ...)

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

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

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

9 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

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

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

9 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

9 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

9 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

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

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

9 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

9 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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