Commit Graph

19548 Commits

Author SHA1 Message Date
Campbell Barton
92ee7ca946 remove warnings, print errors if bpy_ops.py or bpy_sys.py fail to import 2009-09-28 05:02:09 +00:00
Campbell Barton
dab61acd45 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 space_console.py
2009-09-28 04:29:01 +00:00
Joseph Eagar
8ea2904693 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). 2009-09-28 03:28:28 +00:00
Campbell Barton
2d797f35d8 - 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 https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/raw_import.py release/scripts/io/import_raw.py
2009-09-28 03:19:52 +00:00
Benoit Bolsee
0cbc87b428 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. 2009-09-27 16:20:42 +00:00
Thomas Dinges
2fef3dbaa3 2.5 Layout Files:
* Some Code and Whitespace Cleanup.
2009-09-27 11:00:35 +00:00
Joshua Leung
6e0c1cd4e5 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
2009-09-27 09:38:13 +00:00
Arystanbek Dyussenov
4363132788 Added Image.get_abs_filename() and updated scripts to use it. This removes the necessity of bpy.sys.expandpath().
Added missing Object.dupli_list.
2009-09-27 09:19:29 +00:00
Joshua Leung
bd7dc77884 Bugfix: Shapekey NLA Tracks were shown mixed with the ones for Objects 2009-09-27 06:27:45 +00:00
Joshua Leung
8a6d6a33f8 Animation Editors - Moved the code for drawing the filtering toggles into a single function. 2009-09-27 06:14:42 +00:00
Joshua Leung
fbfa8d2f81 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.
2009-09-27 04:22:04 +00:00
Joerg Mueller
69995bb1b3 Sound:
* 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.
2009-09-26 20:03:01 +00:00
Martin Poirier
7af92d6eff netrender: split off job settings in their own panel. Add button to open up web interface in a browser. 2009-09-26 19:50:59 +00:00
William Reynish
128dba3329 Assorted tiny UI tweaks 2009-09-26 16:43:20 +00:00
Martin Poirier
903d8231d9 netrender: fix some bugs with job cancellation, remove credits system, add more status report on server, cleanup server error management 2009-09-26 16:22:52 +00:00
Guillermo S. Romero
da5ff2ca98 Add directives to support multi dir lib. 2009-09-25 22:38:15 +00:00
Kent Mein
72c4c9da7a Fixing up Makefiles, its not fully working but its closer...
Kent
2009-09-25 18:47:43 +00:00
Campbell Barton
aa989c1e83 almost all event managers stored a pointer back to the logic manager, easier if this pointer is in the base class - SCA_EventManager 2009-09-25 16:30:15 +00:00
Campbell Barton
9f6566c0a5 removed double library entries without realizing I had the BGE disabled, these are needed. 2009-09-25 16:27:12 +00:00
Campbell Barton
69e47fcb0e WITH_CXX_GUARDEDALLOC was broken since BL_ArmatureObject become a PyObject 2009-09-25 14:26:00 +00:00
Campbell Barton
38ae41f94e fix for buildinfo on mac's 2009-09-25 13:09:18 +00:00
Joshua Leung
f49a18f30b 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.
2009-09-25 12:20:31 +00:00
Joshua Leung
ff7157d6f8 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...
2009-09-25 10:52:29 +00:00
Campbell Barton
40c175f8f6 modal kaymaps for view3d rotate/move/zoom removed redundant 'view' prefix from these operators. 2009-09-25 10:24:42 +00:00
Brecht Van Lommel
5eecb2ab48 Warning fixes for ITASC. Also, use <stdlib.h> instead of <malloc.h>,
it works everywhere.
2009-09-25 09:33:46 +00:00
Benoit Bolsee
7c9bb3c40a Fix OSX compilation problem with malloc.h in itasc 2009-09-25 07:44:29 +00:00
Campbell Barton
b8c7910be1 - use pythons time module rather then bpy.sys.time()
- comment poll functions, maybe could check for editable scene later
- importing OBJs imports triangle meshes.
2009-09-25 05:25:44 +00:00
Joshua Leung
2d22ea1f92 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.
2009-09-25 04:51:04 +00:00
Campbell Barton
0aa08fce72 still doesn't work but this fixes make clean 2009-09-25 04:25:40 +00:00
Campbell Barton
314d460eb8 options WITH_LZO and WITH_LZMA for cmake and scons (default to true) pointcache.c also needed to have checks for these defines. 2009-09-25 02:40:10 +00:00
Guillermo S. Romero
b4f235adc0 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.
2009-09-25 01:59:43 +00:00
Campbell Barton
5fdb839865 needed for linking with cmake on unix 2009-09-25 01:49:06 +00:00
Joshua Leung
83c3780d8c 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.
2009-09-25 01:43:34 +00:00
Joshua Leung
558626714e Bugfixes:
* #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.
2009-09-25 01:30:32 +00:00
Campbell Barton
2060127e1f missing includes 2009-09-25 01:29:30 +00:00
Guillermo S. Romero
5eb2b4b40d SVN maintenance. 2009-09-25 01:13:07 +00:00
Nathan Letwory
ee6cf88d4d * some fixes to have scons/mingw compile the sources too, even with BF_DEBUG=1 and WITH_BF_GAMEENGINE=1 2009-09-24 22:11:35 +00:00
Benoit Bolsee
1483fafd13 Merge of itasc branch. Project files, scons and cmake should be working. Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library. 2009-09-24 21:22:24 +00:00
Martin Poirier
c995c605f6 netrender: usage based balancer. more useful than credits 2009-09-24 21:05:54 +00:00
Nathan Letwory
ebfc93de21 * explicit cast needed for mingw. 2009-09-24 20:20:43 +00:00
Martin Poirier
ddb46e12f9 netrender: draft code for cluster usage per job calculations. Eventually, this will be used for load balancing 2009-09-24 19:52:32 +00:00
Nathan Letwory
2a63c4ab7b * fix snprintf error with mingw
* move header guards to the right place.
2009-09-24 19:50:15 +00:00
Kent Mein
22d027dcb2 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.

Kent
2009-09-24 16:18:17 +00:00
Campbell Barton
a8bb313629 add buildinfo to cmake (no win32 support) 2009-09-24 15:36:00 +00:00
Campbell Barton
b078503058 imagewrap was using uninitialized vars from do_material_tex
found while looking into a different bug.
2009-09-24 12:27:20 +00:00
Brecht Van Lommel
be380138f1 Fix for panorama backwards compatibility not working correct. 2009-09-24 12:15:17 +00:00
Joshua Leung
24128d2e86 mingw - silencing the warnings about '#pragma' warnings being unrecognised or being ignored. This should still work fine for msvc, and other platforms though. 2009-09-24 11:46:17 +00:00
Campbell Barton
4aade8ad7e fix for [#19437] Console (Python): first run doesn't have the ">>>" 2009-09-24 11:37:33 +00:00
Brecht Van Lommel
300df49060 Fix #19446: merge operator needs to be undone twice, interface
was still doing undo pushes in cases it was not needed.
2009-09-24 10:46:52 +00:00
Benoit Bolsee
813f292fc9 3rd attempt to fix ssize_t problem in MSVC and mingw 2009-09-24 10:41:28 +00:00