12 years agoRemoved the termporary defines added to make the Game Engine compile. Hopefully this...
Joshua Leung [Tue, 29 Sep 2009 01:52:54 +0000 (01:52 +0000)]
Removed the termporary defines added to make the Game Engine compile. Hopefully this fixes all of the cases which broke.

12 years agoAdding back more functionalities for transform orientations.
Martin Poirier [Mon, 28 Sep 2009 19:49:36 +0000 (19:49 +0000)]
Adding back more functionalities for transform orientations.

Create new orientation is now Ctrl-Alt-Space (Alt-Space is select orientation and the old ctrl-shift-c is taken by add constraints).

New orientation panel in 3d view sidebar (nkey) has operator buttons for select, create and delete. Eventually, this should become a list.

Note that orientation operators are missing notifiers to properly redraw the 3d view and its header properly.

12 years agoPreview icon rendering for menus now runs in a separate thread, to avoid
Brecht Van Lommel [Mon, 28 Sep 2009 18:33:45 +0000 (18:33 +0000)]
Preview icon rendering for menus now runs in a separate thread, to avoid
blocking the user when opening a menu. Material and texture buttons now
display these icons in the list. Also fixes #19387, icon and full preview
render at the same time would crash.

I'm not really convinced this is thread-safe, but on the other hand also
not sure regular preview render is really thread-safe yet.

12 years agoFix python error in boids panel, missing variable psys.
Brecht Van Lommel [Mon, 28 Sep 2009 16:13:23 +0000 (16:13 +0000)]
Fix python error in boids panel, missing variable psys.

12 years agoFix #19483: error using FBX export script, diffuse_reflection
Brecht Van Lommel [Mon, 28 Sep 2009 16:11:55 +0000 (16:11 +0000)]
Fix #19483: error using FBX export script, diffuse_reflection
changed to diffuse_intensity.

12 years agoFix potential crash for file operators that don't define
Brecht Van Lommel [Mon, 28 Sep 2009 16:11:06 +0000 (16:11 +0000)]
Fix potential crash for file operators that don't define
a "path" property, now it will just give a warning.

12 years agoFix compile problem on OS X Snow Leopard. The Mac code for dynamic
Brecht Van Lommel [Mon, 28 Sep 2009 16:05:34 +0000 (16:05 +0000)]
Fix compile problem on OS X Snow Leopard. The Mac code for dynamic
library loading was using some non-public OS X functions, which give
linking issues for me. Since OS X 10.3 standard unix dlopen() is
supported, so I just removed this code, we don't support earlier
versions anyway.

12 years agoFix drawing of MENU buttons with only an icon, was not aligned right
Brecht Van Lommel [Mon, 28 Sep 2009 15:59:09 +0000 (15:59 +0000)]
Fix drawing of MENU buttons with only an icon, was not aligned right
and showing unneeded triangles (+ buttons in Boids Brain).

12 years ago* Copy() -> Clone() (even though these hopefully will be obliterated from extern...
Nathan Letwory [Mon, 28 Sep 2009 15:49:26 +0000 (15:49 +0000)]
* Copy() -> Clone() (even though these hopefully will be obliterated from extern/ soon)
* remove reference to docs SConscript
* python dbg commit - somehow this one was left uncommitted when I was working on r23465 and r23464

12 years agoFile paths: use release/ for scripts if possible again, this got
Brecht Van Lommel [Mon, 28 Sep 2009 15:47:05 +0000 (15:47 +0000)]
File paths: use release/ for scripts if possible again, this got
changed with the file path changes, the reason to check this first
is that it allows to edit py scripts without having to run the
build system for each change.

12 years agoFix #19479: ctrl+N could temporarily freeze the window when user
Brecht Van Lommel [Mon, 28 Sep 2009 15:34:15 +0000 (15:34 +0000)]
Fix #19479: ctrl+N could temporarily freeze the window when user
preferences were saved from a separate window. Missing transfor of
active window state to the new window.

12 years agoFix #19477: transform manipulator did not work correct with
Brecht Van Lommel [Mon, 28 Sep 2009 15:14:52 +0000 (15:14 +0000)]
Fix #19477: transform manipulator did not work correct with
quad view, got wrong context.

12 years agoFix #19468: particle mode crash in transform, when there are
Brecht Van Lommel [Mon, 28 Sep 2009 14:51:42 +0000 (14:51 +0000)]
Fix #19468: particle mode crash in transform, when there are
no editable particles.

12 years agoFix #19453: rendering with mesh in edit mode would put the object
Brecht Van Lommel [Mon, 28 Sep 2009 14:40:37 +0000 (14:40 +0000)]
Fix #19453: rendering with mesh in edit mode would put the object
partially back in object mode, disabling e.g. X delete.

12 years agoFix #19351: items in outliner disappear prematurely. Note icons
Brecht Van Lommel [Mon, 28 Sep 2009 14:33:38 +0000 (14:33 +0000)]
Fix #19351: items in outliner disappear prematurely. Note icons
still disappear too soon, but this is an issue in the icon system,
same happens on all buttons, will have a fix for this later.

12 years agoRNA
Brecht Van Lommel [Mon, 28 Sep 2009 14:28:45 +0000 (14:28 +0000)]
* Move mesh API functions to mesh_data.c, would like to keep
  RNA layer fairly thin, any non-trivial functions shoud be
  in their modules.
* Replace mesh.create_copy by generic id.copy.
* Fix #19250: Mesh.add_geometry() in editmode fails silently,
  now gives an error.

12 years agomissing Del key in the keymaps where Xkey was used
Campbell Barton [Mon, 28 Sep 2009 12:33:52 +0000 (12:33 +0000)]
missing Del key in the keymaps where Xkey was used

12 years agoadd temp defines to keep the game engine building, should be fixed properly.
Campbell Barton [Mon, 28 Sep 2009 12:20:56 +0000 (12:20 +0000)]
add temp defines to keep the game engine building, should be fixed properly.
fix implicit declaration too.

12 years agoFile Browser fixes:
Brecht Van Lommel [Mon, 28 Sep 2009 12:10:23 +0000 (12:10 +0000)]
File Browser fixes:

* The code to draw only visible items was not working, giving slow
  performance with many files (bug #19469).
* Fix detailed list display on non-windows, would give overlapping text.
* Fix folders with many files not displaying all items, changed short to
  int in various places, was overflowing.
* Recreate layout on area resizes, file view gets out of sync otherwise.
* Workaround for v2d height not being correct with image display due to
* Fix view2d code to compute minimum scroller size, this would make the
  scroller go outside of its bounds.

12 years agojpeg2000 presets were broken.
Campbell Barton [Mon, 28 Sep 2009 12:10:13 +0000 (12:10 +0000)]
jpeg2000 presets were broken.

12 years agoCompile fix for GameEngine
Joshua Leung [Mon, 28 Sep 2009 11:29:07 +0000 (11:29 +0000)]
Compile fix for GameEngine

12 years agoDurian Feature Request: Rotation Modes for Objects
Joshua Leung [Mon, 28 Sep 2009 10:19:20 +0000 (10:19 +0000)]
Durian Feature Request: Rotation Modes for Objects

This (biggish) commit generalises the rotation modes functionality added for Bones, allowing Objects to use the various Euler Rotation orders, Axis-Angle, and Quaternion rotation representations.

I've also cleaned up the nomenclature of the rotation-related settings so that the naming styles are more consistent with each other. Unfortunately, this will break all files involving object or bone rotation animation made in 2.5 versions (2.4x will still get correctly converted).

General Notes:
* By default, Objects still default to using Eulers, while Bones will use Quaternions by default still.
* I've fixed all areas that I'm currently aware of to work with these changes. However, there are probably a few places where I've missed a few changes (i.e. auto-keyframing will need attention later).
* Removed the old "IPO-Keys" stuff from Transform code. I'm unlikely to restore this in the near future, and trying to fix that to include support for this commit would have been too much work.

12 years agoFix #19470: displaying depth pass could crash, conversion from
Brecht Van Lommel [Mon, 28 Sep 2009 09:06:28 +0000 (09:06 +0000)]
Fix #19470: displaying depth pass could crash, conversion from
float to byte was not working correct.

12 years agoFix #19482: setting cursor position in uv editor was not correct
Brecht Van Lommel [Mon, 28 Sep 2009 08:52:02 +0000 (08:52 +0000)]
Fix #19482: setting cursor position in uv editor was not correct
zoomed in, needed to make view2d offset for pixel rounding dependent
on zoom level.

12 years agoremove warnings, print errors if or fail to import
Campbell Barton [Mon, 28 Sep 2009 05:02:09 +0000 (05:02 +0000)]
remove warnings, print errors if or fail to import

12 years agoAdded "scripts/modules" as permanent module search path.
Campbell Barton [Mon, 28 Sep 2009 04:29:01 +0000 (04:29 +0000)]
Added "scripts/modules" as permanent module search path.
- added bpy.sys as a python module - with bpy.sys.expandpath()
- moved bpy.ops into scripts/modules
- moved autocomplete into its own module from

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

12 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/

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

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

12 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

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

12 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

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

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

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

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

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

12 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

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

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


12 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

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

12 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

12 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

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

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

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

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

12 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

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

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

12 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

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

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

12 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

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

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

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

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

12 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

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

12 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

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

12 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

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

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


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

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

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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

12 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

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

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

12 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

12 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

12 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