Commit Graph

3523 Commits

Author SHA1 Message Date
Brecht Van Lommel
50671905d6 2.5: rename "Operator Cheat Sheet (new textblock)" to "Operator Cheat Sheet",
this is already reported after running the operator.
2010-07-12 11:02:01 +00:00
Brecht Van Lommel
0815fd4762 2.5: remove pin floating panels settings, there are no floating panels
at the moment so it shouldn't be there.
2010-07-12 10:55:05 +00:00
Mitchell Stokes
4497bd3b90 Adding COMPAT_ENGINE stuff to the particle panels so that they no longer show up when using the "Blender Game" render engine.
Also, "Maximize Gain" on the sound actuator was incorrectly labeled "Minimize Gain", so I fixed it.
2010-07-11 08:48:21 +00:00
Campbell Barton
047cc31013 patch by manaphuun on IRC. 2010-07-10 15:44:27 +00:00
Thomas Dinges
49c6aab6dc Fix for [#22793] Flip normals Missingf form face specials.... 2010-07-10 11:38:40 +00:00
Luca Bonavita
4059df91a4 == user preferences ==
- tooltips were showing numbers in the addons categories list
2010-07-09 09:46:22 +00:00
Campbell Barton
aff6b6885f added imports to templates 2010-07-08 16:24:24 +00:00
Campbell Barton
90e1119619 import bpy needed for presets now 2010-07-08 16:10:14 +00:00
Campbell Barton
b511fbea6d Sequencer display overlay option, this can show a border area from another time to help compare for color grading.
- Okey sets the border in the display.
- Okey resets the frame offset in the sequencer timeline.
- ghost icon in the header can enable/disable.
- frame offset can be relative or absolute (lock icon)

Not very happy that this commit adds a call to BKE_animsys_evaluate_animdata(scene, ...) in do_build_seq_array_recursively()
without this the offset frames dont have fcurves applied.
Though we will need something like this for prefetch frames to work too.
2010-07-08 10:03:29 +00:00
Nathan Letwory
a797e81e31 === Windows installer ===
* cleanup link section for Start Menu
2010-07-08 06:16:08 +00:00
Nathan Letwory
ccf35e0a68 remove unused files. 2010-07-07 12:50:24 +00:00
Nathan Letwory
120d49cf27 === Windows Installer ===
* have nice image also in uninstaller
* ensure we can remove start menu links
2010-07-07 12:46:39 +00:00
Diego Borghetti
cfc35a4d30 Bring back "Sort Faces" command.
This was the old Ctrl + FKEY in object mode, now it's in
edit mode and is part of the Ctrl + FKEY menu (Faces).

I also assing this to the Ctrl + Alt + FKEY, but Matt please
check this and feel free to change (or tell me and I will change).

Still there is no "reverse" function, but I commit now to finish
in my home.
2010-07-06 19:26:38 +00:00
Nathan Letwory
ca5de1ea33 === Windows Installer ===
Make sure for win64 version of Blender that we set default install dir to $PROGRAMFILES64
and keep win32 version to $PROGRAMFILES32.

Reported on Graphicall.org by Robroy
2010-07-06 16:39:40 +00:00
Nathan Letwory
f38511cbed === Windows Installer ===
* add info about bitness: 32bit, 64bit or mingw-build
2010-07-06 09:19:52 +00:00
Nathan Letwory
b0cee52ecc Waste less memory ;) 2010-07-06 09:15:33 +00:00
Nathan Letwory
f655911c91 === Windows Installer ===
* Proper deletion of install dir - everything under it will be gone
* Ask if config/userdata can be removed and act accordingly. If selected, everything under user/config dir (BLENDERHOME) will be gone.
* The installer now will automatically update vc runtime

To be able to properly create an installer, you need:
- NSIS, and the MoreInfo plugin for NSIS. Make sure NSIS is in your path
- Set in your user-config.py BF_VCREDIST full path to the redist you have.

Note: this works only with SCons.
2010-07-06 09:13:10 +00:00
Nathan Letwory
d37bae5bd1 committed one file too many 2010-07-06 05:24:18 +00:00
Campbell Barton
d9f86e3c73 pedantic pep8 warnings, mostly white space. 2010-07-05 22:22:22 +00:00
Nathan Letwory
78adaa6bc7 * use blender_decimal_version() in places where '.blender/' was still being used
* simplify the NSIS file creation (and add those files back).

NOTE: The installer is still pretty much WIP, tomorrow more improvements.
2010-07-05 19:59:27 +00:00
Campbell Barton
deb7402299 option for color wheel widget to make it easier to select values closer to white, enable for color balance. 2010-07-05 15:52:25 +00:00
Campbell Barton
c9f667a92e texture saturation option.
we'll need a do-version bump soon or this will convert 0.0 saturation to 1.0 on load.
2010-07-05 10:18:59 +00:00
Campbell Barton
83a2a4e5b8 Improvements to Blenders color balance (lift/gamma/gain).
Fairly closely match some mac application colin has called 'Looks', to give better results.
- lift is now applied non linear (was being added to the color)
- change the color wheel to preserve the luminance of the gamma and gain values, this stops the color from being set too dark (option for the color wheel template).
- sub-pixel precission for the color wheel since the white area at the center can make a lot of difference with a very small change.

This change will make existing node and sequencer setups lift render slighly differently however discussed this with Ton and he's ok with it.
2010-07-04 20:59:10 +00:00
Andrea Weikert
ca81aa704e Patch [#22339] File/installation paths changes
Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127

This patch implements the proposal outlined here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal

Original patch by Matt Ebb.
Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert

NOTE:
This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory.

Commit discussed on IRC with Ton and Campbell.
2010-07-04 15:35:23 +00:00
Campbell Barton
8e97e561a9 convenience functionality for browse button (requested by Colin for the sequence editor, useful for managing files for the final edit)
- Holding Alt while clocking on the browse button opens a file browser with the containing dir.
- Holding Shift opens the file its self in the default application.

obscure but at least theres a tooltip so its not totally hidden.
2010-07-04 10:02:30 +00:00
Thomas Dinges
ce94f52dbc Fix for [#22714] Constraints stack : move up and move down buttons problem
* Constraint template now uses 2 rows as well, when the area width is small. 
* UI Code could use some code/layout cleanup still, will look into that soon.
2010-07-04 09:42:00 +00:00
Campbell Barton
c7869f9f85 - draw sequence strips within metastrips using their real start/end and channel positions.
- dont show color balance unless its enabled.
2010-07-04 01:56:04 +00:00
Campbell Barton
281902d6ee sequencer re-assign inputs back 2010-07-03 22:25:22 +00:00
Campbell Barton
9a85435e96 rna api:
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)
2010-07-03 17:39:29 +00:00
Campbell Barton
742c4eb1d1 enable external pointcache for smoke in the UI. 2010-07-01 13:25:49 +00:00
Matt Ebb
f6dabd51c9 Fix for [#22667] Soft Body Aero on/off switch
Under guidance from Jens, converted the 'aero' property into a two-way switch, 
which is what it actually represents.
2010-06-30 02:34:34 +00:00
Jens Ole Wund
f7f44696ba ui glitch fix [#22667] 2010-06-29 22:30:55 +00:00
Daniel Salazar
7b09e47dc4 Added name to object color in object properties. Kinda misleading
without it
2010-06-29 05:02:51 +00:00
Campbell Barton
5cc2e136ec nicer alignment for preset UI 2010-06-27 21:35:31 +00:00
Campbell Barton
003d69f9d4 use expanded enum for addons to give faster access (matches theme layout) 2010-06-27 19:04:44 +00:00
Campbell Barton
bb07503d89 remove filename and directory from python operators that dont need them 2010-06-26 22:32:47 +00:00
Campbell Barton
0d84ac375e more generic sorting of theme items by type (was adding all non color items last) 2010-06-26 22:23:54 +00:00
William Reynish
4eba521903 Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons. 2010-06-26 21:40:11 +00:00
Campbell Barton
f6eed88a78 - changed recent commit from William to have enum in user preferences as an expanded enum (like it was before)
- rename 'no_bg' argument to 'emboss' (and negated)
- added 'emboss' option for operator buttons.
- Addon UI Layout slight modifications, changed enable/disable buttons for checkbox, grey out text of disabled addons to make it obvious at a glance whats enabled.
- column expanded enums now align text to the left.
- renamed ui_item_enum_row to ui_item_enum_expand since its used for columns and rows.
2010-06-26 20:00:45 +00:00
Daniel Salazar
942ebd6558 Patch by Oenvoyage: Lamp specials menu was context insensitive,
displaying lamp properties regardless of type hence causing errors. Now
active object controls what properties to display. Still it's possible to
manage multiple mixed lamps types at once. Also added useful items for
cameras and empties
2010-06-26 19:00:44 +00:00
Campbell Barton
5ce214a06f object color property in the object UI panel 2010-06-26 17:46:14 +00:00
Campbell Barton
1c362019cd minor changes to Williams commit to be a bit less verbose. 2010-06-26 17:24:01 +00:00
William Reynish
bd03f26c3a Updated Themes user preference pane.
Layout is now simpler, more easy to scan. This commit also simplifies the Python code and gets rid of hundreds of wasted lines of code, making it much easier to make layout changes.
2010-06-26 17:06:55 +00:00
Matt Ebb
ba16b24262 Added back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49) 2010-06-23 03:20:57 +00:00
William Reynish
8a6ea2584d Small update to text boxes UI. It now works in single-column layout. 2010-06-22 21:31:26 +00:00
Peter Schlaile
df76cebb8a == Sequencer ==
Removed "frame_locked"-flag from sequencer completely, since it doesn't 
work any more in Blender 2.5. (All IPOs are frame-locked now anyways.)
2010-06-22 21:09:50 +00:00
Campbell Barton
096c4ddea4 error in last commit 2010-06-22 14:27:04 +00:00
Campbell Barton
24be7abab6 rename sequence.length -> frame_length_final
added sequence.frame_length to get the original length of the strip
2010-06-22 13:45:21 +00:00
Matt Ebb
1d6c2f214b Timeline addition: Display cached frames
This started off doing pointcache debugging but it's also very useful for users too.
Previously it was very hard to see the state of the system when you're working caches
such as physics point cache - is it baked? which frames are cached? is it out of date?

Now, for better feedback, cached frames are drawn for the active object at the bottom 
of the timeline - a semitransparent area shows the entire cache extents, and more 
solid blocks on top show the frames that are cached. Darker versions indicate it's 
using a disk cache.

It can be disabled in general in the timeline View -> Caches menu, or by each individual
system that can be shown.

There's still a bit to do on this, behaviour needs to be clarified still eg. deciding what
shows when it's out of date, or when it's been played back but not cached, etc. etc. 
Part of this is due to a lack of definition in the point cache system itself, so we should
try and clean up/clarify this behaviour and what it means to users, at the same time.

Also would be interested in extending this to other caches such as fluid cache, 
sequencer memory cache etc. in the future, too.
2010-06-22 02:29:52 +00:00
Luca Bonavita
6a1d8d8e04 Origin button in the toolshelf
Minipatch to add the Origin button in the Toolshelf in the Transform section.
I missed this because
1) it was called "center" in 2.4 and it's difficult to find just searching if you don't know it's "origin"
2) it was in the the object » transform menu, not very practical to use often
Discussed with Gensher, Campbell and Matt before committing :)
2010-06-22 00:08:05 +00:00
William Reynish
91deffc429 Added ability to add and remove text boxes back from Blender 2.4x. One on those small things missing. 2010-06-21 23:20:44 +00:00
Campbell Barton
72d21c35ad sequencer swap data operator.
needed for durian so we can swap out preview AVI's for EXR sequences.
2010-06-21 17:37:50 +00:00
Martin Poirier
78d3793d31 netrender
Save and Restore master from disk.

When the "clear on exit" option is off, write a data file (blender_master.data) in the master's path on exit and reads it back on load.

Note: Jobs and Slaves lists are restored, but not balancer settings (problem with the pickle module).
2010-06-20 20:33:59 +00:00
Martin Poirier
62ffe63045 etch-a-ton bugfix
Add Convert operator and button (missing in 2.5)
Fix stroke selection (uneeded separate operator and missing redraw)
Map sketch operators to LEFTMOUSE and RIGHTMOUSE instead of SELECTMOUSE AND ACTIONMOUSE (more in line with other sketching operators, might work better with swapped mouse buttons)
2010-06-19 20:25:00 +00:00
Campbell Barton
f50714a64b minor edit to speed up api property name editing. 2010-06-19 12:11:40 +00:00
Campbell Barton
0ecae611f9 rna info module now prints out property names into the console when run directly 2010-06-19 12:06:34 +00:00
Joerg Mueller
229b7639e7 Merged revision 29562 from /branches/soc-2010-nexyon. 2010-06-19 10:50:23 +00:00
Luca Bonavita
22bca493b2 == addons ==
- release/scripts/ui/space_userpref.py
  added the change to add a 'warning' field to bl_addon_info
  warning icons are used to show 'broken' scripts or warnings 
  asked permission to campbell and matt in blendercoders to apply this

- source/blender/python/doc/sphinx_doc_gen.py:
  small fix in the url
2010-06-17 02:38:49 +00:00
Jens Ole Wund
449569812d soft body
text label correction
2010-06-16 00:42:18 +00:00
Campbell Barton
42ab9ed59a New Scene now has the popup from 2.4x which gives the option to copy.
Added some test code for rna_info to create a big list of property+type+descriptions, useful for api name review.
2010-06-15 17:14:21 +00:00
Campbell Barton
927aac74ab - module for reading blend start/end frames and scene name (useful for finding the total frame count without loading a blend file)
- added render api as unstable to the docs.
2010-06-15 12:06:30 +00:00
Campbell Barton
6a0365f59c - option for redraw timer to playback the animation
- py utility property group.users_dupli_group
2010-06-14 10:33:26 +00:00
Matt Ebb
329277bcfe Update interaction preset for property renaming 2010-06-14 08:47:58 +00:00
Matt Ebb
69a7807790 restored old 'uv orco' for curves, renamed to 'map along length' 2010-06-14 07:43:45 +00:00
Campbell Barton
c2f36a4d6a naming changes
path -> filepath (for rna and operators, as agreed on with elubie)
 path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-14 03:52:10 +00:00
Campbell Barton
262cfb59d3 solidify rim material option, use the next material slot for rim faces.
a bit arbitrary but with most cases where solidify is used in durian we get UV texture stretching since there is no way to access the newly created size faces this gives us a way to switch out the material on the rim.
2010-06-13 13:56:13 +00:00
Michael Fox
e7dd562095 Made Add Surface Operator more atomic, now each primitive has own operator, but calling the same function with different flags.
So they can me used in macros, and addons can use the menu  now, hope to see some very nice surface plugins
2010-06-13 05:48:21 +00:00
Guillermo S. Romero
32ce3e3433 Change couple of strings.
Clearly mention SVN version being built and more direct POVRay error.
2010-06-12 23:09:01 +00:00
Campbell Barton
a0a99e4a4d [#22554] Register option on Texts doesn't work anymore
there were no hints that '.py' extension is needed, added tooltip.
2010-06-11 14:10:02 +00:00
Campbell Barton
e0bada19f9 [#22496] OpenSuse 11.2 The problem with built-Povray
give a better error message when povray isnt found.
2010-06-11 13:45:58 +00:00
Campbell Barton
4aa2ad003b game world buttons had old property name for mist toggle 2010-06-11 09:09:57 +00:00
Dalai Felinto
b45b0512c8 create COMPAT_ENGINE in game panels to allow external game engines - patch from Xavier Thomas(xat) 2010-06-10 23:53:13 +00:00
Campbell Barton
1022ec3fe4 clear python console namespace when used with a new window manager, otherwise old python objects are kept around between opening different blend files (leaking memory).
ideally loading a new file would clear the namespace but practically its unliekly to be a problem.
2010-06-10 21:31:39 +00:00
Campbell Barton
006d5e82e8 more cleanup to bpy.context.copy(), exclude rna values and its self. 2010-06-09 19:44:06 +00:00
Campbell Barton
dd72ffe3ff py/rna api:
- bpy.context wasnt being created from the python bpy.types.Context type defined in bpy_types.py (bpy.context.copy() failed for eg.)
- bpy.context.copy() was returning C defined methods like FloatProperty(), which are not useful in this case, removed.
2010-06-09 19:31:10 +00:00
Campbell Barton
1028284301 pep8, whitespace edits 2010-06-09 19:12:03 +00:00
Campbell Barton
6cc6f8495f - added a flag argument to WM_operator_properties_filesel() currently only used for relative path option.
- added relative option to saving external multires data
- renamed multires external functiosn to have save / pack as suffix.
- added TODO's for file select operators that should support relative paths but dont.

- also disable openmp on linux cross compile, mingw currently isnt linking -lgomp
2010-06-09 14:04:34 +00:00
Campbell Barton
0ef2431220 python utility property library.users_id: returns a tuple of all ID datablocks which use this library. 2010-06-09 09:48:41 +00:00
Campbell Barton
eb081dd991 rename rna function obj.make_display_list(scene) --> obj.update(scene)
also added 3 optional bool arguments, 'object', 'data' & 'time', matching the object recalc flags.
2010-06-09 08:24:31 +00:00
Campbell Barton
728799e0d8 texture user attributes, users_material, users_object_modifier 2010-06-08 13:03:49 +00:00
Campbell Barton
416e82b022 node toggle preview and hidden socket key shortcuts (Ctrl+H, Shift+H) 2010-06-07 20:03:40 +00:00
Thomas Dinges
c13c3d0081 Smoke UI:
* Greying out for Smoke High Resolution Panel.
* Code cleaning, removed some unnecessary declarations.
2010-06-07 15:28:17 +00:00
Matt Ebb
61f50707a4 'fix' [#22527] Lens angle under View in 'N' panel does not change the camera view
Made the UI more clear that the Lens value is for the 3d view space data only.
2010-06-07 03:44:54 +00:00
Matt Ebb
21d112c36f Reworked the non-blocking reports display in the info header:
* Now it displays the last report from the global list, not just from operators
* Rather than disappearing when a new operator is run, it stays until it times 
out or a new report is added
* Fun animated transitions ;)
http://mke3.net/blender/devel/2.5/reports_header.mov

Now need to investigate report usage with popups. Ideally we can have most
 reports non-blocking, so they're less intrusive, only popping up for dire errors.
Problem is many things in Blender right now are marked as RPT_ERROR 
when probably RPT_WARNING is more appropriate. Should probably keep 
RPT_ERROR for things that demand immediate attention.
2010-06-03 07:27:55 +00:00
Dalai Felinto
3b6aa5b6a5 Logic Editor: clear properties operator + logics in the object menu
clear properties operator
- now it's not part of the copy properties anymore (Matt's suggestion).

If anyone want to change the menu, please help yourself (renaming, putting in it's own submenu, making it invisible when mode is not Game ..)
2010-06-03 06:41:24 +00:00
Campbell Barton
9cbbc9d3af rename some rna properties filename --> filepath
* filename == "foo.ext"
 * filepath == "/path/to/and/including/foo.ext"

this was alredy followed in some places not not everywhere.
2010-06-02 17:58:28 +00:00
Campbell Barton
ed3a7bd299 script reload (f8), is closer to working.
there are internal memory problems which can make it crash still.
If you remove all directories in the scripts folder except for 'modules' and 'ui', it runs without crashes.
2010-06-01 08:15:43 +00:00
Matt Ebb
eab7f6d3c2 Fix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data texture of type Image sequence
Cleaned up the code here, made it more efficient and more reliable with threaded render.
2010-06-01 06:07:22 +00:00
Thomas Dinges
ccda04131a Python Open Link operator.
* Unified some code for Opening an URL to use only one operator: WM_OT_url_open
* Removed the HELP_OT_url operators.
2010-05-31 11:38:13 +00:00
Thomas Dinges
bff5410504 * Sun & Sky presets were labeled as Render presets. 2010-05-31 10:21:57 +00:00
Thomas Dinges
a57026b597 * Tooltip fix for Addon links.
I rather have this general text than 2 separate operators for wiki/tracker url.
2010-05-31 08:43:23 +00:00
Peter Schlaile
d7dd651e70 == Sequencer ==
This makes volume range larger and adds an additional attenuation-variable to RNA,
which makes volume-changes in dezibel units possible.
2010-05-30 21:17:59 +00:00
Thomas Dinges
03220bfe71 2.5 Addons:
Request from mindrones :)
* Next to the Wiki URL, it's now possible to have a link to the tracker, for bug reports.

"bl_addon_info" dictionary: 
* Renamed 'url' to 'wiki_url'
* Added 'tracker_url'
2010-05-30 20:48:09 +00:00
Peter Schlaile
b8f3a1f4fe == Sequencer ==
Current SVN crashes, if we are using hard-cuts on multicam tracks. Changing to soft cuts for now 
(since it should be the same for effect strips anyways...)
2010-05-30 20:04:24 +00:00
Peter Schlaile
fe83427cc9 == Sequencer ==
This fixes loading of hard trimmed audio files in readfile
and adds trim options to N-keys for audio files.
2010-05-30 19:33:26 +00:00
Peter Schlaile
c2580dd639 == Sequencer ==
Multicam editing: don't cut to the camera we are already on...
2010-05-30 19:29:58 +00:00
Campbell Barton
a9867c226b add torus now works like other C add-object operators, location and rotation are initialized and kept even when settings are changed after. 2010-05-30 17:18:16 +00:00
Campbell Barton
71d4c092ce console now shows unicode errors as well as errors caused by introspecting the api with autocompleate. 2010-05-30 15:17:33 +00:00
Janne Karhu
f8ecc3fd2f Some cleanup of particle path drawing logic:
* Path drawing now works for non hair particles.
* Should fix the following bugs too:
  [#21316] Hair weight drawing is wrong
  [#21923] Consistent Crash When Rendering Particle Scene.
  [#21950] Path rendering option for particles causes crash
2010-05-30 14:53:26 +00:00
Campbell Barton
1658a28a58 - Python console argument '--python-console', option so you can start blender and drop into a python console, (useful for debugging some problems on a renderfarm over ssh)
- Also made it so sys.stdin isnt overwritten anymore, instead the interactive consoel overwrites while it executes and restores after.

- removed hope folder from sphinx patch path
2010-05-30 14:05:58 +00:00
Joshua Leung
5d6bdd7c2e Various constraint code cleanups:
1) Fixed some weird formatting introduced during math-lib cleanups, and some other inconsistencies
2) Optimised the Maintain Volume constraint by taking the value calculations out

Copy All Constraints Operators:
* Added one for bones too
* These are now included in the menus
* Removed some weird/extra code copying/changing/bleh the actcol/totcol stuff...
2010-05-27 11:56:31 +00:00
Joshua Leung
4ebc634168 == Pivot Constraint ==
This constraint allows an object or bone to have their rotations applied as if their origin/pivot-point was located elsewhere. The most obvious uses include foot-roll, see-saws, but could also include more complicated rolling-box examples.  

== Usage Examples ==
=== Foot Roll ===
1. Add 'Pivot' Constraint to the bone without any target.
2. Set the 'Y' value of the offset to the length of the bone. Usually this should be negative (if you rig with feet facing 'forwards' along -Y axis). This gives you a pivot point relative to the bone's (preconstraint) location, which should be at the tip of the bone here. Disabling the 'Use Relative Offset' would make this offset be relative to 0,0,0 instead of to the owner/bone-head.
3. Ensure that the 'Pivot When' setting is set to '-X Rot', (default) which means that the pivot will only used when the rotation on the X-Axis is negative to get tip-toe 'roll'. 

=== See Saw ===
1. Add a 'Pivot' constraint too see-saw plank object, this time with a target that you wish to have as the pivot-point. It's possible to do this without too (as before), but is less intuitive.
2. Optionally, if you want the plank slightly raised, set the z-offset value, which should make the pivot-point used to be relative to the target with the z-offset applied.
3. Ensure that 'Pivot When' is set to 'Always', which means that the pivot will always be used, irrespective of the rotation.

== Notes ==
* The 'Pivot When' setting has been integrated in the constraint, since this is something that will often be required for these setups. Having to set up additional drivers to drive the constraint to do this kindof beats the purpose of providing this.

* The 'Offset' functionality is probably not presented as clearly as it could be. We may need to go over this again.

* For foot-roll - if any scaling of the foot is required, simply set up a driver on the y-offset to make this dynamically respond to the "scale" RNA property of the bones (don't use the "Transform Channel" vartype since that won't work correct here). However, this shouldn't be common enough to warrant special treatment.
2010-05-27 10:50:06 +00:00
Matt Ebb
6e92ddf8b3 Progress indicators for threaded jobs
Now, rather than the bit-too-alarming stop sign, threaded wmJobs 
display a progress indicator in the header. This is an optional feature
for each job type and still uses the same hardcoded ui template
(could use further work here...).

Currently implemented for:
Render - parts completed, then nodes comped
Compositor - nodes comped
Fluid Sim - frames simulated
Texture Bake - faces baked

Example: http://mke3.net/blender/devel/2.5/progress.mov
2010-05-27 08:22:16 +00:00
Campbell Barton
1bd58bdbf4 = misc small stuff =
- own mistake in scene help text.
- rename properties to have users as the prefix for better ordering.
- use fixed height for stamp, gives better aligned text.
2010-05-25 17:04:32 +00:00
Matt Ebb
e26cc71bd0 Tweaks to copy game properties operator for Dalai 2010-05-25 06:24:45 +00:00
Campbell Barton
8c767ce0e8 utility function for mesh data types
mesh.edge_loops_from_edges(edges=None)

Lets you get edge loops from python either from the entire mesh or from by passing an edge list.
2010-05-24 12:18:12 +00:00
Campbell Barton
a1ada0f21c - remove OBJECT_OT_curve_add
- rename CURVE_OT_primitive_bezier_add --> CURVE_OT_primitive_bezier_curve_add # matches nurbs operator
- rename CURVE_OT_primitive_curve_path_add --> CURVE_OT_primitive_nurbs_path_add
- fix for warnings from 28923
2010-05-24 07:14:55 +00:00
Campbell Barton
70905d06f1 add new object py module.
- added view align from twisted torus script and return the object's base.
2010-05-23 12:38:49 +00:00
Campbell Barton
f1b9d395e3 - base_object.layers_from_view(view3d), needed for setting local layers
- module 'add_object_utils', so each script doesnt need its own add object code, dealing with layers, scene, cursor location, editmode etc.
2010-05-23 12:14:07 +00:00
Campbell Barton
c9d4672edc [#22301] Fix for 22300 : Blender 2.52 FBX exporter doesn't export correct FBX
patch from Mariusz Borsa (wrotki) 

edited the patch to stay closer to the original function.
2010-05-23 06:43:43 +00:00
Campbell Barton
a368bdad8d [#22391] Fix for eps-export of UVs
patch from Marc Fontaine (cubbie)
2010-05-23 06:00:08 +00:00
Campbell Barton
b5afa606bc replace context.areas.spaces[0] with context.space_data 2010-05-23 05:34:45 +00:00
Michael Fox
3d417a833c 2010-05-23 02:02:04 +00:00
Matt Ebb
a17f074ffc Fix typo in add group instance menu 2010-05-21 04:44:23 +00:00
Campbell Barton
e8ed1f1f55 enable different rotation types for imported BVH's including 'Native', which uses the rotation order defined in the BVH 2010-05-20 17:36:59 +00:00
Campbell Barton
f37518d902 bugfix [#22311] BVH Import broken
from Stig Olavsen & Tod Liverseed
2010-05-20 17:23:37 +00:00
Campbell Barton
4d6d68bfa1 obscure sounding feature thats actually useful: isolate render type
Select lamp, isolate, all other visible lamps are disabled.
2010-05-20 15:30:28 +00:00
Joshua Leung
89b7d4a5d6 Motion Path Tweaks:
- #22155: keyframe dots not shown on path for bone keyframes that aren't in a group with a matching name. Since this situation is going to become more common in 2.5, I've added an option which will alternatively just search the entire action to find all F-Curves associated with bones. The old option is still the default though for the general cases.

- When keyframe drawing is enabled, the current frame will also be indicated on the path now as a (bigger) green dot, as requested by William. This makes it easier to see the position on the path on the current frame.
2010-05-20 12:31:55 +00:00
Campbell Barton
79a45e75d3 view3d modal operator template 2010-05-20 07:49:41 +00:00
Joshua Leung
226140f2ee 3D View Header - Removing the annoying little extra gap between expand-icon and first menu 2010-05-20 03:52:35 +00:00
Campbell Barton
b7a7859eb0 render_ -> use_ prefix, copied from render branch. 2010-05-19 08:26:33 +00:00
Campbell Barton
ba728620ce text utility functions.
- st = text.as_string()
 - text.from_string(st)
2010-05-18 09:07:58 +00:00
Campbell Barton
0a9d914ad7 context.PointCache --> context.point_cache (not to confuse type with property name) 2010-05-18 07:39:07 +00:00
Matt Ebb
10f5be4fbf Fix [#22345] ReleaseRenderOpt 2.5 Problem with rendering displacement map
Communicate the existing material displacement feature's strange dependence on both
'normal' and 'displacement' influences better. This will do until the improved displacement
is merged from render branch.
2010-05-18 03:10:47 +00:00
Campbell Barton
26ded51077 add back codecs UI for exr (from previous patch) 2010-05-17 16:38:20 +00:00
Thomas Dinges
01b16aea59 Decimate Modifier UI:
* Changed Face Count button to a label.
2010-05-17 13:48:09 +00:00
Dalai Felinto
ce6e6112eb Logic UI: copy logic operator (old Ctrl+C) + add logics (shift+a)
According to Matt the RMB->Copy to selected wouldn't work for logics because the copy we need is for the whole logic (s/c/a). So (at least for the time been), copy logic is possible again.
It work as 2.49 (replacing the existent logic).

Add Logics is a python menu to give quick access to add logics. I have to see how to put that in Add Menu. I should be easy, but I'll leave it for later.
2010-05-16 16:28:50 +00:00
Campbell Barton
80de1162ee clear some pep8 warnings 2010-05-16 12:15:04 +00:00
Joshua Leung
6e66bfe110 Removed obsolete comment for previous commit 2010-05-16 11:43:48 +00:00
Thomas Dinges
e1bf9d30bc Properties Window:
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout. 

ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future. 

* Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.
2010-05-16 10:21:00 +00:00
Thomas Dinges
91a6fb4b5c Some Renaming:
Render:
*antialiasing > render_antialiasing
Mist:
*enabled > use_mist
Stars:
*enabled > use_stars
2010-05-16 08:36:29 +00:00
Campbell Barton
05eeee3fe3 bugfix [#22325] bpy.ops.import is invalid name 2010-05-16 08:30:40 +00:00
Matt Ebb
0524fc1df6 Fix [#22337] Wrong operator descriptions 2010-05-14 07:20:16 +00:00
Matt Ebb
2b44cab9ef Tweak to text editor context menu 2010-05-13 01:46:48 +00:00
Diego Borghetti
3c3502fda4 Small change to Node Space and two new function.
"Select all of the same type" now is binding to Shift + GKEY

Two new function, select next and prev node of the same type.

Select a node and press Shift + [ or Shift + ] go to the
previous and next node of the same type (of the active node).
2010-05-12 13:55:09 +00:00
Diego Borghetti
9a4ba57ee9 Node Space: Small feature for Venomgfx, Shift + F select node of the same type
This is a small request from Venomgfx, select a node
and then press Shift + F to select all the nodes of the
same type (of the active node).

The key binding can be change, we thing in a "Find Next" (that is
way the FKEY) with venomgfx, but no problem with change that.

Also I add the entry in the select menu.
2010-05-12 12:03:38 +00:00
Matt Ebb
4cc49ad899 Add a little RMB context menu to text editor 2010-05-12 08:03:36 +00:00
Joseph Eagar
aaa7c493e4 merge of last commit to trunk 2010-05-11 20:06:20 +00:00
Campbell Barton
e8408697de bpy.utils.blend_paths(absolute=False) (was Blender.GetPaths in 2.4x) 2010-05-11 07:08:32 +00:00
Campbell Barton
daba1d23ff utility functions
bpy.utils.smpte_from_seconds(time)
 bpy.utils.smpte_from_frame(frame)
2010-05-10 20:41:01 +00:00
Thomas Dinges
9502fb0dcf Wrong operator description in preset base class. 2010-05-10 18:04:04 +00:00
Thomas Dinges
68376214b5 Themes "3D View":
*Minor code changes and added some missing edge settings.
2010-05-10 17:54:34 +00:00
Sergey Sharybin
8d9e55122f "Every Nth number of Points" operator for curves/surfaces
This is replacement of old "Select every Nth" operator with
de-select strategy to make the same behaviour as for meshes.
2010-05-10 17:32:11 +00:00
Matt Ebb
413c4c91ca Fix [#22296] Wrong Operator Names? 2010-05-10 01:49:35 +00:00
Campbell Barton
d58a591072 Sequencer crashes with clips that have OpenGl render enabled (rev 28658)
disabling for now, opengl write rendering isnt drivial to solve.
2010-05-08 19:08:33 +00:00
Toni Alatalo
05e2e92611 Add the option to show also the UVs of other selected objects in image
space / uv edit. The code was already there, and the option as a rna 
bool, but no ui to set it. Matt figured that the View menu in image 
space next to other uv stuff, which only shows when UVs are edited, is 
the right place. 

Works so that when entering editmode for an object to edit UVs, when 
have also other objects selected and this option on, also the UVs of 
those other objects are shown in the image view.

Liquidape asked this on IRC, and we thought the feat doesn't exist, so I 
looked out of curiosity in the code as was thinking it would be easy to 
add. Was surprised to find it there already :)

First time that did anything with 2.5, was sure fun enough to search 
thru the code to figure out how things work. Adding this ui thing proved 
to be exactly as trivial and nice as it should, and the things under the 
hood seemed nice, yay!
2010-05-06 23:47:25 +00:00
Campbell Barton
c8a0592288 option to use the linked path or the local path for pointcache.
needed for sintels hair to be baked locally.
2010-05-06 17:12:44 +00:00
Campbell Barton
cbf7d507c5 last commit broke linking to scenes from the UI 2010-05-06 11:47:10 +00:00
Campbell Barton
52517570f0 python property - object.scene_users
Also made this and object.group_users return tuples so it raises an error in this case...
  ob.scene_users.append(scene)
2010-05-06 08:30:42 +00:00
Campbell Barton
12cf8ac1d6 - split objet group add/link into 2 operators
- link now brings up a search box so when there are 100's of groups its less annoying.
- utility functions for id-enums so only local objects can be displayed in a search list (used for group_link)
- renamed operator properties from typle to scene, group, action etc.
2010-05-05 15:41:38 +00:00
Joseph Eagar
a7cbd5008e merging revisions 28564-28569 from render branch into trunk 2010-05-04 12:31:24 +00:00
Campbell Barton
98754f3ae5 small adjustments for getting the default string of a property 2010-05-04 06:08:00 +00:00
Peter Schlaile
e09c47a0da == Sequencer ==
Added operator (and menu entry) to deinterlace all selected movie strips.
(does also walk into selected meta strips)

Also: small fix for multicam cutting tool (now works also within metas)
2010-05-03 22:17:05 +00:00
Campbell Barton
20fd05abc1 manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)
2010-05-03 19:12:11 +00:00
Campbell Barton
245ab753f5 misc uninteresting stuff (killing time at airport commit)
- pep8 updates
- RNA_TwoDFilterActuator --> RNA_Filter2DActuator
- minor changes to conolse namespace init.
2010-05-03 16:00:42 +00:00
Campbell Barton
914d5e5f62 sphinx doc generation
- include default values as well as min/max.
- partial rebuilds, so we dont have to build all docs each time, only the changed files.
2010-05-03 15:52:15 +00:00
Matt Ebb
114d930bf0 Fix for renaming particle selection operators a little while ago 2010-05-03 07:42:40 +00:00
Matt Ebb
b18d377292 Updated icon set, thanks jendryzch! 2010-05-03 03:33:20 +00:00
Matt Ebb
23ccac18cd Fix [#22199] Cloth Cache Panel > Disk Cache doesn't work
Condition for this to work (.blend file must be saved) was poorly communicated 
in the UI (printfs are no good for this - ideally should use reports). Tweaked this a bit.
2010-05-03 03:02:27 +00:00
Martin Poirier
139f456bd1 NetRender
Repath functionality: Edit paths in blend file on slaves to match the transfered files.
Tested with textures and point caches. Fluid should work. Point Caches with the External option might not.


This should fix previous problems when using absolute paths in blend files.
2010-05-02 21:34:08 +00:00
Peter Schlaile
31cfad9fda == Sequencer ==
Made Multicam-Editing really work:
* added a panel within N-keys, so that one can start/stop playback
  and cut between cameras directly from the panel
* made "active_strip" RNA editable, to make that work correctly
  (is usefull anyways :) )
2010-05-02 17:36:38 +00:00
William Reynish
d750c07d67 Tweaked Cache panels to make them clearer, simpler, and added single column UI. 2010-05-02 14:34:37 +00:00
Daniel Salazar
4fd2bb044d Put ray mirror Fade To color next to Max Distance. Grayed out Fade To if
Distance is 0
2010-05-02 04:40:44 +00:00
Martin Poirier
dd3a07a9f7 [#22211] Sending single frame job to netrender
Patch by Jeroen Bakker
2010-05-01 20:39:04 +00:00
Campbell Barton
188d1ccf56 fix for exporting a rig to a graph 2010-04-30 05:45:02 +00:00
Sergey Sharybin
16e7ed28be Highlight last selected point in curve/surface edit mode.
Curve->lastselbp field was renamed to Curve->lastsel and now not last
either BPoint or BezTriple is storing here. It's not easy to determine
type of selected point, but operator which depends on such point reviews
the full nurbs, so this shouldn't be a problem.

Made changes to curve undo stuff to restore last selected point on undo/redo.

Added new theme color for curve last selected point.
2010-04-30 04:48:40 +00:00
Matt Ebb
53dbc1efdf Fix [#22207] Selecting Roots also selects hidden 2010-04-30 01:22:21 +00:00
Campbell Barton
dfc1b8428e missed this in recent api edits 2010-04-29 18:40:33 +00:00
Campbell Barton
2d4d820b97 3dview --> view3d, patch by Jonathan Smith with small corrections and changes. 2010-04-28 07:25:39 +00:00
Martin Poirier
f3c0743b41 NetRender:
- multires cache files and image .tex cache support in dependency list
- Compare md5 of files before using a local copy (not one transfered by netrender). Could be changed to a simpler CRC if speed is an issue. The goal is not to have a strong crypto signature but just to detect outdated local files.
- Reduce slave timeout to 5 minutes (down from 30). Slaves should report at most every 30s, there's no reason for a value to be that high.
- Reorder the presentation tables on the main web page (job list is more important)
- Collapse dependency list by default on job page (only show main file and headers for other files, point cache and fluid cache)
- Slave option (default: True) to also output render log to the console (as well as the usual copy to the master)
2010-04-28 01:54:12 +00:00
Campbell Barton
cf8ebbf751 update for changes to blf module 2010-04-27 19:46:15 +00:00
Matt Ebb
79bd15c32d Fix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function & is confusing
Cleaned up UI, made it a bit clearer
2010-04-27 06:47:12 +00:00
Martin Poirier
061a306d66 NetRender tweaks by Brecht
* Client connection is made from panel poll functions even if
netrender is disabled
* Network render slave should print when it has connected to server,
now it says "node initiation", I initially thought this meant it was
not connected yet.
* Web interface should auto-refresh, I got confused if job and slaves
were actually found or not.
2010-04-27 03:14:40 +00:00
Campbell Barton
5e2a9770f5 bugfix [#22163] Add->mesh->torus is broken
recent commit broke this, missed changing double to float.
2010-04-26 21:25:14 +00:00
Daniel Salazar
449d6a3cac Some work on the cluthered particles UI; lot's more to do 2010-04-26 09:33:59 +00:00
Daniel Salazar
724c8afde8 Got tired of the heavily compressed armature layer icons. Also added
a smart wide/narrow UI conversion

http://www.pasteall.org/pic/show.php?id=2940
2010-04-26 08:55:14 +00:00
Campbell Barton
873d4a3f05 py api
- mathutils.Color.hsv attribute. eg. material.diffuse_color.hsv = 0.2, 0.8, 0.4
- Vector/Euler/Quaternion/Color now only take a single seq arg.
- internal function for parsing arrays. (cleanup messy internal list/vector/tuple/seq parsing)
- didnt update rigify yet.
2010-04-25 19:27:59 +00:00
Peter Schlaile
4f6e3dad47 == Sequencer ==
Forgot some changes for multicam support.
2010-04-25 15:39:04 +00:00
Campbell Barton
93bc6fb829 py console autocomp. fix
import missing_mod
...would raise an error.
2010-04-25 15:21:46 +00:00
Campbell Barton
95c2b3297e workaround for (what looks like) a bug in python's StringIO module. should investigate further but for now this works. 2010-04-25 04:06:34 +00:00
Matt Ebb
320408ff12 Tweaks to Render Layers panel
'Mask layers' should be visible always, they still work to mask out objects on 
layers when zmask isn't on (zmask is slightly different.. a bit confusing)

Icon tweaks too
2010-04-23 06:33:30 +00:00
Joshua Leung
ce9d5c43e2 Spline IK - Influence Control
Made the 'Influence' slider work for Spline IK too, and made that setting visible now that it works. 

Note that there is still some popping that can occur when going to/from influence = 0.0. I'm not sure exactly what's causing this yet, but hopefully it won't be too noticeable in practice.
2010-04-23 05:14:00 +00:00
Joshua Leung
eba8672f12 Outliner Live-Search Bugfixes:
Ton's commits missed the RNA changes needed to make this work (i.e. the search field was un-defined). This has now been added, and the search field has the 'search eyeglass' icon to make its purpose clearer.

I've also taken this opportunity to restore the search matching flags (i.e. case sensitivity and complete vs partial matches), making these separate toggle options instead. The old searching operator stuff can probably be removed now?
2010-04-23 03:53:05 +00:00
Matt Ebb
26e4a5802e Fix [#22121] Object Mapping - "clone" linked w/previous material/texture
after Make Single User

Was an error in UI display of node materials/texture lists, combined with a 
very weird node setup.

I will be a very happy person the day we finally get rid of the terribly 
confusing materials-inside-materials behaviour.
2010-04-23 02:25:19 +00:00
Matt Ebb
d4e1bcb7f2 Fix [#22120] Physics modifiers can't be removed 2010-04-23 01:06:28 +00:00
Matt Ebb
7f635f2c91 Fix for small error in r28348, was preventing texture influence panel from displaying 2010-04-23 00:05:46 +00:00
Campbell Barton
341d82657f rename scene.visible_layers -> layers, since layers are used for editing, export, rendering & anim evaluation. 2010-04-22 20:00:19 +00:00
Ton Roosendaal
e57303e5ac Header button for search filter in outliner. 2010-04-22 18:17:17 +00:00
Campbell Barton
749f027e1d rna rename start/end --> frame_start/end 2010-04-22 17:35:00 +00:00
Campbell Barton
22845f8209 avoid try/except with in texture UI 2010-04-22 16:22:47 +00:00
Matt Ebb
a2b6abeee1 Fix [#22097] missing panels in texture tab
Made texture/texture slot context a bit less flaky when dealing with active material and 
texture nodes inside a node material in the node editor. Now if the active material has 
nodes enabled, and there are no active material/texture nodes inside it, nothing will be 
shown in the texture properties (similar to 2.49).
2010-04-22 06:59:41 +00:00
Campbell Barton
1132d0774d Save a Copy, (operator option for save as),
Too many times we have images in blend files that are just saved renders.
2010-04-21 19:14:20 +00:00
Campbell Barton
d5e60226e5 filter 'Enable' wasnt working. 2010-04-21 16:50:51 +00:00
Campbell Barton
bd1363a898 fix for divide by zero on vertex dirt script, show from the vertex paint menu 2010-04-21 16:22:37 +00:00
Campbell Barton
f7717b2e80 option to use curve point weights to influence particle effectors. 2010-04-21 11:59:47 +00:00
Campbell Barton
6a5c036304 py api. bpy.utils.relpath() function. 2010-04-21 09:27:36 +00:00
Campbell Barton
24eedb2175 vertex group option for lattice, needed for applying a lattice to a beard/moustache without moving the roots about. 2010-04-20 21:38:55 +00:00
Daniel Genrich
13e0d584c0 Python API fix: Add COMPAT_ENGINES to properties_data_camera 2010-04-19 11:24:22 +00:00
Daniel Salazar
fb0291523a After handling demohero's keymaps to a beta tester it became apparent
that going for the full hotkey translation is actually counter
productive. Now using a more conservative keymap by Michael W that
focuses on general navigation, selection and other details
2010-04-19 06:20:16 +00:00
Matt Ebb
aaa6b7f165 Fix [#22058] Presets system not setting some input options.
Added a few more input properties to store in interaction presets
2010-04-19 01:50:30 +00:00
Daniel Genrich
6bc2eb1949 Python API fix: Make properties_texture compatible with COMPAT_ENGINES, also a little enhancement for data_mesh (thanks to Matt) 2010-04-19 00:39:46 +00:00
Daniel Salazar
97d90fad43 New and much improved Maya Interaction Preset by demohero 2010-04-19 00:29:50 +00:00
Daniel Genrich
6cdf29e1c9 Python API: Make properties_data_mesh compatible with COMPAT_ENGINES. (supervised by Matt ;) 2010-04-18 23:52:37 +00:00
Andrea Weikert
cf4d63c09d == sequencer ==
* new icon for split view (at least temporary)
* icon buttons in header rather than popup menus for better efficiency (can easily be changed in python UI script again)
2010-04-18 18:46:16 +00:00
Peter Schlaile
cf1953bb7e Brought back secondary input filtering, thereby
fixing 
[#21014] SEQUENCER: Can no longer apply colour balance filter to colour effect strip.

Also: reordered some UI elements so that
geometry, time and color modifications are grouped together.
2010-04-18 13:05:17 +00:00
Daniel Salazar
5e186d3de0 Updating operator_simple template with new register functions and
missing bpy import
2010-04-18 05:13:58 +00:00
Campbell Barton
4cf697de89 - for BGE mouse and keyboard events use tuples rather then lists
- pep8 corrections
2010-04-17 19:05:53 +00:00
Campbell Barton
7eb4eebe22 add the modules directory from the user scripts path (if it exists) 2010-04-16 09:31:58 +00:00
Matt Ebb
4ad2b51d64 'Fix' [#21119] volumetric material always casts shadows
Revealed hidden 'options' panel for volumes too.
2010-04-16 04:24:29 +00:00
Campbell Barton
1f87dbbbbc rna api, when linking objects to an inactive scene, dont change its layer, removed NULL object data check since this isnt allowed from the api side. 2010-04-14 08:52:22 +00:00
Campbell Barton
2eddf083e1 avoid using exec() 2010-04-14 07:58:33 +00:00
Matt Ebb
94102b7017 Missed this file too 2010-04-14 07:09:01 +00:00
Matt Ebb
f24573720c Forgot to add new files 2010-04-14 06:45:22 +00:00
Matt Ebb
486796ce31 * Interaction Presets
This adds a new presets menu in the splash screen and the Input section of
User Preferences to choose a preset interaction style, consisting of key configurations
and also other user preferences such as select mouse button, view rotation style, etc.
Currently, just 'Blender' and 'Maya' presets are included, hopefully we can have more
presets contributed (and maintained!) by the community.

It's best to keep these presets minimal to avoid too many key conflicts. In the Maya one
I changed the view manipulation key/mouse combos and also the transform 
manipulator keys, not much more than that.

To save an interaction preset, open the user preferences Input section, and press the 
[ + ] button next to the presets menu. It will save out a .py file containing any edited key 
maps and navigation preferences to the presets/interaction folder in your scripts folder.

---

Part of this commit changes the way that key maps are exported/displayed in 
preferences - now partial key configs are allowed. Previously it would export/import the 
entire key configuration, regardless of whether individual key maps were edited or not 
(which would make them more susceptible to conflicts in unexpected areas).

(note, in blender terminology, a key map is a category of key items, such as 
'Object Mode' or 'View 2d'.)

Now, the export and the UI display work in a similar way to how key maps are 
processed internally - Locally edited key maps (after pressing the 'Edit' button) are 
processed first, falling back to other key maps in the current key config, and then falling 
back to the default key config. So it's possible for a key config to only include a few 
key maps, and the rest just gets pulled from the default key config. The preferences 
UI display works like this too behind the scenes in deciding what to show users, 
however using it is just like it was before, the complexity is hidden.
2010-04-14 06:27:50 +00:00
Ton Roosendaal
bc4d93cc16 Adding 'running jobs' button in node header. 2010-04-13 17:11:53 +00:00
Janne Karhu
919565f196 Subframe calculations for particles, original patch by Raul Fernandez Hernandez
* Increasing subframe count increases stability for SPH fluid and Newtonian particles
* Also small tweaks into physics ui panel to better fit new subframes value
* This commit also fixes the moving fluid emitter problem as described by Raul in the mailinglist
2010-04-12 17:34:06 +00:00
Dalai Felinto
7135edb75d BGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)
the patch exposes a rna property to get the active edit mode face. This is a hack.
However it's a small patch (a.k.a. easy to revert later if needed).

The official plan is to wait for BMesh before tackling it properly. Nevertheless TexFace panel is really important for BGE.

Missing: operators to copy the current parameters to other selected faces.

* note: what I changed from the original patch is the UI script. The pool wasn't defined and it was using tabs.
2010-04-12 03:06:49 +00:00
Martin Poirier
e5a01c66a3 Fix external image editor (needs to be a list, otherwise extends adds each character as a list item).
Note: The default value ("start") on windows doesn't work. Start is not a real program.
2010-04-12 02:43:17 +00:00
Peter Schlaile
978609aa44 == Sequencer ==
Made custom proxy files a lot more sensible to select
(upgraded to filepath get/setters)

Changed semantics, since custom files don't make much
sense without custom directories...
2010-04-11 19:26:46 +00:00
Peter Schlaile
a6b8ac5452 == Sequencer ==
Proxy render size settings is now back. (Maybe still in need of some sensible
icons, though...)

Also: waveform color seperation works in N-keys dialog again.
2010-04-11 18:37:49 +00:00
Martin Poirier
56b1c4e47f Specific operator for Push/Pull (no need to go through the generic operator and it makes it available in the operator search) 2010-04-11 16:04:11 +00:00
Campbell Barton
67cfc427ee PyAPI
- added new mathutils.Color() type, use with rna so we can do for eg:
 material.diffuse_color.r = 1.0
 # also has hsv access
 material.diffuse_color.s = 0.6

 - made Mathutils and Geometry module names lowercase.
2010-04-11 14:22:27 +00:00
Campbell Barton
fe9a22a018 py api file rename
- prefix mathutils api.
- 2 blf.c files (annoying for debugging)
- py api docs ignore keying sets as with operators.
2010-04-11 12:05:27 +00:00
Campbell Barton
6e3920e8fa rna/py/reference doc improvements..
- vectors now respect min/max settings.
- keyframing and adding drivers raises an error in an index is set on a non array, keyframing raises an error if it fails.

reference docs...
- added docstrings for remaining python bpy_struct functions
- added fake class for docs, bpy_struct, which is the base class of everything in bpy.types
- improved inherictance references for struct classes, include bpy_struct members.
2010-04-10 18:35:50 +00:00
Damien Plisson
c939331a6c QTKit (OSX 64bit): Add audio export to Quicktime
Supports default OSX codecs : Linear PCM, Apple Lossless and AAC

Note that AAC codec doesn't support sample rates above 48kHz. If a python/rna guru knows how to easily enforce this limit, he is welcome!

Enjoy making Quicktime movies now with audio!
2010-04-10 09:31:41 +00:00
Campbell Barton
c3ab6bc509 rna reference docs, list inherited properties and functions at the bottom of each type. 2010-04-09 20:43:58 +00:00
Campbell Barton
c169c5ddfe dont document parent classes funcs and properties 2010-04-09 20:04:37 +00:00
Thomas Dinges
b2330d44d2 * Texture Mapping Panel could raise an error, missed check for an active texture slot. 2010-04-07 18:08:30 +00:00
Nathan Vegdahl
54b12df3bc Added tongue and neck rigs. The neck rig is quite solid, I think, and is working well in production on Durian. The tongue rig is a bit hacky, but I'm adding it for now since we're using it in Durian.
Also added pupil dilation to the eye rig type, and made the finger rig type work with two-digit fingers.
2010-04-07 14:46:06 +00:00
Matt Ebb
9acba540db Fix [#21756] Texture paint "quick edit" sending wrong path on unsaved scenes
* Made it use the temp directory in user preferences when the .blend file hasn't been saved yet
* Made bmain->name (wrapped as bpy.data.filename) contain an empty string when 
there's no .B25.blend and no file saved, rather than "<memory2>".

This is a good candidate for consistent file path api, retrieving temp dirs / project-
specific temp dirs / etc...
2010-04-07 09:07:06 +00:00
Matt Ebb
58a38bfc08 Fix [#21760] Snap to Origin doesn't work
Removed the 'Snap selected to origin' operator, it was dysfunctional and other operators 
contain better functionality to do the same things.
2010-04-07 00:43:06 +00:00
Joshua Leung
2275b69ff8 Quick fix to NLA-Baking for Beorn:
Group baked F-Curves by bones instead of by transform type.
2010-04-06 10:07:24 +00:00
Janne Karhu
f1ac9b559e "Fix" for [#21591] Explode modifier bug
* The new default particle size is quite small, so exploded pieces didn't match the original pieces
* There's now an option to use the particle size (useful for some effects), but it isn't used by default
* This commit will change how some old files look (explode modifier and not 1.0 particle size), but the exact old behavior is achieved with the new "size" option
2010-04-06 08:43:52 +00:00
Campbell Barton
bad41fcff5 - new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().
2010-04-06 07:49:10 +00:00
Matt Ebb
b9d60f2010 Fix [#21440] Bug or loose feature? Texture painting brushes
Removed extra brush features that aren't applicable in some painting modes from the UI.
Would be great to have this properly cleaned up and made consistent.

Also tweak to startup blend, hiding brush tools panel.
2010-04-06 05:52:52 +00:00
Joshua Leung
56b67d41aa Bugfix #21916: Baking NLA strips doesn't group transforms
- Added an optional string arg to struct.keyframe_insert() and struct.keyframe_delete() for the name of the group to add the keyframes to (for newly created F-Curves), instead of doing this as post process.

- Added error prints to the RNA function for setting an F-Curve's group. The old way of setting the groups afterwards couldn't be used anymore, since there was no way to find the action the F-Curve belonged to. This is necessary if the F-Curve list is to be kept in a valid state, since adding to any random group that may not be in the same Action does not work well. There were other issues with the list being iterated over changing while it was still being iterated over too...

TODO: 
Find a way to allow the iterator there to still work ok?
2010-04-06 04:25:48 +00:00
Matt Ebb
825c162167 Fix [#21678] Crease color cannot be adjusted
Gave edge crease a unique theme colour.
2010-04-06 02:36:37 +00:00
Matt Ebb
bfe248b3d6 Patch [#21750] Add luma waveform and vectorscope to image view
by Xavier Thomas

This adds the waveform monitor and vectorscope to the image editor 'scopes' 
region, bringing it inline (plus a bit more) with sequence editor functionality,
and a big step closer to the end goal of unifying the display code for image/
comp/sequence editor. It's non-intrusive, using the same code paths as 
the histogram.

There's still room for more tweaks - I modified the original patch, changing 
the openGL immediate mode drawing of the waveform display to vertex arrays for 
speed optimisation. Xavier can look at doing this for the vectorscope now too.

Thanks very much Xavier!
2010-04-06 02:05:54 +00:00
Brecht Van Lommel
9498121463 Object API changes so these functions now require a scene as first argument:
create_mesh, create_dupli_list, make_display_list and is_visible.

This is done in order to make these context independent as the RNA API should
be as much as possible, and to fix #21297 and #21719, where there was an
assumption from these functions that there is a scene in the context, which
does not work for external render engines exporting in a separate thread.

Also avoided using context in a number of other functions, ideally only UI/WM
type functions should use context.

I've updated the scripts in trunk, but the addons and external ones in
development will need updates too.
2010-04-06 01:28:39 +00:00
Brecht Van Lommel
93cc8eea45 Fix #21383: appending a group would also instance it by default, which
will give duplicate objects since the actual object are appended already,
so only enable this option by default for linking now.
2010-04-06 01:16:39 +00:00
Joshua Leung
f525312721 Animation Editors: Select Linked Operator
This operator selects all the keyframes in the same F-Curve as a selected keyframe.
2010-04-05 11:47:55 +00:00
Matt Ebb
5478384761 Fix [#21886] OBJ export crashes if attempted while in edit mode
Didn't crash for me, but did export incorrectly since editmode changes weren't flushed.
Fixed this by setting all exporters to go back to object mode before exporting.

Also cleaned up some naming in exporter creator strings, it's "Blender" not "Blender3D".
2010-04-05 06:45:44 +00:00
Joshua Leung
76e483edef Durian Feature Request for Graph Editor: Border Select (optionally) considers handles
Early when implementing the Graph Editor in 2.5, a key complaint that was levelled at the old 'IPO Editor' was that it was a constant annoyance that adjacent handles were getting selected in addition to the keyframes, when only the keyframes were intended. I solved this by making this default to only selecting keyframes and ignoring the handles, but this means that it isn't possible to batch move several handles at once. 

I've now improved this situation by adding an option to the border select operator (involved using Ctrl-B instead of B) which makes the handles get treated separately (as if they were separate verts, as in 2.4x). The default is still to only select keyframes, to have consistency with the DopeSheet...

Also performed some more renaming work in the code...
2010-04-05 03:37:28 +00:00
Joshua Leung
f90f3d9c29 Animation fixup squad to the rescue!
R 27991 broke all script-based Keying Set support, including all the Built-In Keying Sets. This meant that it nearly impossible to still keyframe anything (there are other less convenient ways, but none work quite as well).
2010-04-04 22:13:57 +00:00
Elia Sarti
687c752b75 Commented out some unimplemented operators, avoids gray text in the UI
Also I noticed there's a check on strip.type == 'EFFECT', which can never be true because strip.type actually contains the type of effect, e.g. "GLOW", "ADD" etc. Not a big problem currently because it's not used.
2010-04-04 18:56:03 +00:00
Campbell Barton
bc149e0fbe pep8 cleanup 2010-04-04 14:52:15 +00:00
Janne Karhu
c5871b8750 Fluid physics for particles by Raul Fernandez Hernandez (Farsthary) and Stephen Swhitehorn:
This patch add SPH (Smoothed Particle Hydrodynamics)fluid dynamics to the
blender particle system. SPH is an boundless Lagrangian interpolation
technique to solve the fluid motion equations.
 
From liquids to sand, goo and gases could be simulated using the particle
system.
 
It features internal viscosity, a double density relaxation that accounts
for surface tension effects, static internal springs for plastic fluids,
and buoyancy for gases.

---------------------------------------

This is a commit of the core fluid physics. Raul will work on proper
documentation soon and more features such as surface extraction from
the particle point cloud and increasing stability by sub-frame calculations
later.
2010-04-04 12:29:06 +00:00
Campbell Barton
069e955a1d keymap.add_item, add_modal_items --> keymap.items.add()/add_modal() 2010-04-03 22:09:44 +00:00
Daniel Salazar
c1e55a75b8 Commit removing Mesh Deform modifier's surface mode broke the it's UI 2010-04-03 09:09:48 +00:00
Daniel Salazar
bee158cf02 Adding Subdivide UVs flag to modifier UI 2010-04-03 07:57:28 +00:00
Daniel Salazar
8ab985a816 Patch #21892 by Ruslan M (luciofulci): Removing 16 materials per mesh
limit from OBJ import script. Also made split materials off by default
2010-04-03 05:20:58 +00:00
Brecht Van Lommel
fb4b16b799 "Fix" #20225: mesh deform surface modifier problems. This mode was an
experiment and turn out to work poorly because it does not preserve
rotations, so I've just removed the option now. Alternative is to use
a solidify modifier on the cage mesh, which will usually give better
results.
2010-04-02 11:39:40 +00:00
Joshua Leung
c6b77a06dd Keyframe Defaults and Cleanups:
This commit fixes reports #21638 and #21818, which were both also Durian feature requests.

Cbanges:
* Added new default setting for the type of handles created when creating keyframes. This can be found in the user-preferences, and is used whenever existing keyframes aren't being overwritten (instead of the value being always taken from the keyframes either side, #21638).

* When keyframing over existing keyframes, only the values will be changed. The handles will be offset by the same amount that the value of the keyframe changed, though how well this works in practice still needs to be tested more thoroughly (#21818, already fixed earlier, but this commit is the full fix).

* When 'free' handles are added by default, they are offset to be +/- 1 frame on either side of the keyframe so that it is obvious that they can be moved. However, they just take the same value of the keyframe since this is easiest.

* Properly initialising handle colour defaults for 3D-View and Graph Editor. Graph Editor's theme userprefs also show these settings now, though the layout is really quick hack-style.
2010-04-02 01:03:40 +00:00
Campbell Barton
9105f6f0bd rna naming, *_frame --> frame_* 2010-04-01 21:44:56 +00:00
Brecht Van Lommel
4924654b03 Remove some experimental python script code. 2010-04-01 20:48:20 +00:00
Thomas Dinges
8ba6b0a47b [#21835] Improved Addons in User Prefs by Keith Boshoff (wahooney)
This adds a "description" field to addons (ideally a small 1 liner, with basic info)
2010-04-01 17:50:49 +00:00
Brecht Van Lommel
aff0551e5b Some minor python UI script fixes. 2010-04-01 12:53:38 +00:00
Campbell Barton
a6f02e27d8 missed in merging from render branch 2010-04-01 09:29:35 +00:00
Daniel Salazar
4a471a3a98 Added missing Bottom, Left, Back view modes in the "View" menu on 3D area 2010-04-01 08:55:47 +00:00
Joshua Leung
c46a955ee0 Assorted animsys fixes/tweaks:
* Fixed all the dangerous code added in 27907. Using the code there, scripters could corrupt animation files in ways which would render them useless, with channels not appearing in any animation editors, and others not getting evaluated at all. 

* Partial fix of bug 21818, by disabling destructive replacement of keyframes. Will followup this commit with a more comprehensive commit which gets rid of the rest of the problems, by incorporating some requests from Durian team.

* Fixed problems with users being able to see+edit the name of the active Keying Set in the Scene buttons. There is still a bug though with the list widget given how the indices are now interpreted...
2010-04-01 06:26:41 +00:00
Matt Ebb
f49a82b03e Fix [#20711] Loop selection not working with Emulate MMB + Left mouse select
Emulate 3 button mouse is now disabled when Left mouse select is used, to
prevent keymap conflicts. Configs for single button macs etc we can do with
keymap presets.
2010-04-01 02:28:08 +00:00
Campbell Barton
c19725b266 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r27895:27901; svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r27902:27907, skipping 27902 2010-03-31 20:39:08 +00:00
Campbell Barton
ba627ff40c svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r27867:27871 2010-03-31 07:28:23 +00:00
Brecht Van Lommel
71446eea57 * Multiply for panorama cameras
* Some cases of struct name being set where it shouldnt have been.
* Spelling: wich --> which
* Copy and initialize uv modifier scale, remove unneeded enum.
* Ability to pin any object into the context.
* Update uv window while transforming (useful when used with UVProject modifier)
* Patch by Wahooney, so new template's are internal text and dont get saved over
  by mistake.
* Fix for https://bugzilla.redhat.com/show_bug.cgi?id=572186
  Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process
  /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted
  by Jochen Schmitt.
* [#21816] bpy.data.add_image has stopped working on Windows. moved to
  bpy.data.images.load(), missed this call.

(commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)
2010-03-30 12:15:16 +00:00
Brecht Van Lommel
253de0ed86 * Assign weight from bones in weight paint mode now respects paint face
mask, also avoid making vertex groups if they will not be filled.
* Add back image pin option in image editor header.
* Fix deep shadow not respecting Cast Buffer Shadows option.
* Tangent space normal map baking should work again now.
* Fix a problem with particle duplis, due to own bugfix for #20350,
  the problem for that seems to be in dupliverts, not particles.
* Fix external multires data link getting lost on exiting editmode.

(commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)
2010-03-30 12:01:17 +00:00
Brecht Van Lommel
052cb2afd2 Rest shape key for cloth option, this makes it possible
to specify different spring lengths.

Implementation is quite ugly because the shape key has to be pulled
through the modifier stack somehow, need a more flexible data mask
system to solve this properly.

(commits 27773,27775,27778 by Brecht from render25 branch)
2010-03-30 11:49:07 +00:00
Matt Ebb
b09ee4923d Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
in uv/image editor properties panel

Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's 
more accessible to RNA.
2010-03-30 05:52:05 +00:00
Matt Ebb
1f8cd57073 Fix [#20115] Some theme settings are not saved
Theme colours were getting overwritten on startup with defaults (as in 2.4 
system). Changed this to allow changing the default theme, and added a 
'Reset to defaults' operator in user prefs. Perhaps next step to look into the 
py presets system for themes too (nice and easy to share).

If you're using a custom B.blend you may get some strange theme colours on 
startup if they weren't saved properly before. 'Reset to default' button in theme 
preferences should fix it back to defaults.
2010-03-30 04:27:13 +00:00
Matt Ebb
f20427ffbe Fix [#21814] 3D Curves and Caps Confusion
Stopped curves 'caps' properties from being greyed out when the curve is 3D - 
there's the totally obscure feature where turning off 'Front' and 'Back' turns the 
3D curve into a tube.

Would really like this feature to be implemented in a less bizarre way, but 
for now it should be enabled in the UI at least.
2010-03-30 00:57:54 +00:00
Elia Sarti
97e1c0289d Added splash screen item in the Help menu. Not sure why it wasn't there in the first place? It's used to get the revision number and if the intention was to add a more adequate "About" window it can be replaced later. 2010-03-29 08:27:04 +00:00
Matt Ebb
bd7ed4f077 Fix [#21708] Copy/Paste Texture channels for Lamps/World not working 2010-03-29 05:37:34 +00:00
Martin Poirier
c09476bfee [#21807] Import Key Configuration problems
For some reason, __import__ doesn't recognize the cfg folder as part of the part.

Using exec("import " ... fixes that, but should be investigated further.
2010-03-28 21:10:48 +00:00
Martin Poirier
c4f0a07267 Netrender: Fix for API changes (it would be nice if people at least fixed built-in script when breaking things)
Also force post process off. 

This is a partial fix for Bug [#21410], there is still the problem that loading back multilayer exr as render results doesn't load the composited result correctly (bug is assigned to Brecht). The results are still ok when downloaded outside of the render engine, so there's a work around for now.
2010-03-28 20:46:25 +00:00
Thomas Dinges
95d1d82313 Bugfix for [#21798] Submit description doesn't work. 2010-03-28 10:52:24 +00:00
Brecht Van Lommel
17777e7cd1 Fix #21561: .ply exporter doesn't export normals. 2010-03-27 14:54:22 +00:00
Brecht Van Lommel
6188a28e75 The version in this file was not updated to alpha2, resulted in alpha1
still showing up in e.g. the Mac about dialog.
2010-03-27 14:38:46 +00:00
Brecht Van Lommel
3d5954604d Fix #20716: using wavefront .obj exporter multiple times could crash
because references to materials from previous exports were not cleared.
2010-03-27 11:20:27 +00:00
Thomas Dinges
892f18e6ac * Single Column UI for Screw Modifier. 2010-03-26 13:47:16 +00:00
Brecht Van Lommel
666cca69e9 Cloth simulation can now use a group to specify which objects
to collide with, in addition to the effectors group.
(commit 27746 by Brecht from render25 branch)
2010-03-26 10:52:55 +00:00
Joshua Leung
386e97f73a Purging compiler warnings 2010-03-26 03:10:58 +00:00
Joshua Leung
3c872daa59 4 Devs in Agreement - End of the Road for Old Track
This commit removes the Old Track method (used to be found under Object -> Animation -> Track), with all existing instances of this being converted to Track To Constraints. In fact, while performing this removal, I found that this was supposed to have happened in version 2.27 already, but for some reason the options were left in, and this function managed to survive for a further decade.

I've left the tracking axes around still, since it seems some curve tools still use that. However, that usage should probably get faded out in future too?


Misc notes:
* Fixed compiling error with constaints from harkyman's Maintain Volume patch. 
* Subversion of 2.52 now bumped up to .2
2010-03-26 02:57:49 +00:00
Matt Ebb
fda6082c68 Fix for ben dansie, incorrect gamma with render baking.
Linear/gamma issues weren't really considered in baking yet.
2010-03-26 01:31:43 +00:00
Brecht Van Lommel
587a1f806c fix for incorrect args, before pyapi fixes these were ignored.
(commit 27723 by Campbell from render25 branch)
2010-03-25 13:53:24 +00:00
Joshua Leung
535bce8cf1 Adding menu entries for the new hotkeys (change keying set) 2010-03-25 11:42:02 +00:00
Matt Ebb
33f880e866 Restored Fluid Sim baking
This commit restores fluid sim baking functionality in 2.5, it's been on the todo for
a while, and was previously almost completely non-functional. The old 
code was quite complicated and specific to the 2.4 animation system, so I've 
pretty much rewritten most of it.

This includes:
* Animated variables work again - just key them in the UI. Non-animateable values
should be already set non-animateable in RNA, hopefully I got them all.

Available are: Domain Gravity / Domain Viscosity / Object loc/rot/scale / 
Object initial velocity / Deforming meshes / Fluid control Attract strength / 
Fluid control Attract radius / Fluid control Velocity strength / 
Fluid control Velocity radius / Object Active status (checkbox next to fluid type)

The Domain time scale is still not yet implemented.

* Fluid sim now use global scene units data by default - when enabled, the 
scene's global gravity value is used and when units are set (metric/imperial)
the simulation real world size is taken from the object's actual measurements.

* The baking process is now done in the background, using the nifty threaded
Jobs system. It's non-blocking and your domain object will show the simulated
fluid as it becomes available for that frame.

A nice extra thing for the future would be to improve the visualisation of the 
object's state while baking, and also the jobs system/ui could do with some
touchups - currently it has to share a bit from the 'render' job, and appears as
'Render' in the header. Progress bars for jobs in the header would be great too.
2010-03-25 06:27:25 +00:00
Campbell Barton
6f724c54bc replace exceptions with getattr() fallback 2010-03-24 15:17:11 +00:00
Campbell Barton
b84bc45c7f fix for keying set rna path attribute and object select menu incorrect args to UI func. 2010-03-24 15:08:15 +00:00
Joshua Leung
230a2e62f0 Keying Sets - PyAPI consistency issues:
* Added 'id_name' property, which is used as the "typeinfo_name" by Keying Set instances. This is simply the name of the relevant KeyingSetInfo classes.

* Renamed the 'array_index' arg for ks.add_path() to 'index'. Also removed the 'entire array' toggle arg in favour of just passing -1 to index. However, Keying Sets in general still maintain their 'entire array' toggle flags for now, it's just that the API function does conversion between the two.
2010-03-24 12:48:03 +00:00
William Reynish
094098fa9d Added Set VIsibility (V key) to Graph Editor menu. 2010-03-24 12:39:51 +00:00
Robert Holcomb
fffb9cb1a2 oops forgot this! 2010-03-23 23:36:24 +00:00
Brecht Van Lommel
cb6d2685bd rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 by Campbell from render25 branch)
2010-03-23 15:25:33 +00:00
Joshua Leung
4ae515a4e5 Keying Sets: BuiltIn vs Absolute Tweaks
This commit clarifies the somewhat "murky" separation between "builtin" and "absolute" KeyingSets as a result of discussions with Cessen.

* "Builtin" Keying Sets are now just the Keying Sets which in the past have been known as PyKeyingSets or Relative KeyingSets. These are registered from Py Scripts at startup, and will use the context info to determine what data they should be keyframing. These are stored per Blender session, independent of files, since usually these will be coded specific to sets of rigs used at a studio.

* "Absolute" Keying Sets are the ones that you can create from the Scene buttons and/or KKEY or RMB over any property. They specify the exact set of properties which should always get keyframed together. These are stored in the scene. 

In relation to this, I've made it possible to now set one of the builtin Keying Set types as the active Keying Set. 
* For now, this can only be done via the box beside the insert/delete key operator buttons on the TimeLine header (now complete with an recycled icon - HINT TO ICON DESIGNERS, to make this a bit more obvious). Later on I'll commit an operator to set this via a hotkey.
* The "IKEY" menu will only show up when there is no active Keying Set. When there is one, keying will happen silently (with info notice at the top of the screen). Later on, I'll hook this menu up to a hotkey, so that that active Keying Set can be changed without inserting keyframes or clearing active Keying Set...
* By default, there isn't any default Keying Set enabled. IMO, this is probably a good default, though some might like to have LocRotScale instead.
* I'm not terribly impressed with the search menu for the items being SORTED (and of all things, alphabetically!) currently, since this does break muscle-memory with the menu (and jumbles up order of closely related vs not closely related).
* The Scene buttons for KeyingSets still need some changes to fully cope with users setting builtin KeyingSets as active sometimes. Controls which are useless or shouldn't be used when a builtin set is shown are being shown.

Builtin set registrations have been tweaked a bit:
* Renamed "bl_idname" to "bl_label" for consistency with rest of API. Note that this is the identifier used by Blender internally when searching for the KeyingSet, and is also what the user sees.
2010-03-23 11:59:34 +00:00
Janne Karhu
371732154b Fix for child drawing bug reported in the comments of [#21103] Updating bugs in Particle Mode 2010-03-22 19:38:40 +00:00
Janne Karhu
867cad85b7 Fix for [#21103] Updating bugs in Particle Mode 2010-03-22 17:12:08 +00:00
Brecht Van Lommel
30efa59b0d Fix node material properties not showing correct, the code here should not
be removed, because some panels use the parent materials while others use
the nested materials.
2010-03-22 15:50:16 +00:00
Brecht Van Lommel
09b1c681e1 Sculpt Mode Bugfixes:
* #20833: layer brush doesn't work with multires.
* #20946: sculpt mode partially removes parts of the mesh in the viewport.
* #20420: grab brush stops after moving some distance.
* #20906: sculpt grab tool moves in wrong direction.
* #21132 and #21272: undo on object with subdivision surface modifier crashes.
* #21115: subsurf + multires + sculpting + undo causes crash.
* #20683: sculpt + multires apply + undo crash.
* #19094: wrong outline in solid mode.
2010-03-22 11:59:36 +00:00
Campbell Barton
fb9546746e Screw Modifier (old patch was called Lathe)
didnt commit this patch because curves are generally better to create a shape to lathe however now that curves can have modifiers applied to them I think its good to have this.

Added options to offset the lathe so it can work like the screw tool as well.

- optional object for axis which also controls the center point.
- screw offset so rather then just lathing this can work more like the screw tool.
- screw optionally using the object distance along the axis.
- iterations so the screw can be applied multiple times.

tested to work well with curves.
2010-03-22 00:22:52 +00:00
Campbell Barton
247b7249bd [#21682] help() doesn't work in the console
replace pydoc's pager function so the console's input isnt used.
2010-03-21 14:56:26 +00:00
Guillermo S. Romero
42ac4a3e7d Fix syntax for ID keyword. 2010-03-21 01:14:04 +00:00
Campbell Barton
be8c398191 - submit docs now uses the new dialog with an OK button
- submitting operator docs sent them twice.
2010-03-20 19:22:34 +00:00