Commit Graph

4005 Commits

Author SHA1 Message Date
Janne Karhu
44fb6bd1fa Hair ui simplification:
* There were a lot of settings in the particle panels that made no sense for simple hair and only cluttered up the ui.
* Now these settings are hidden by default unless "advanced" hair options are shown.
* Without advanced options the particle velocity controls are replaced by a simple "hair length" value, which actually corresponds to the grown hair length in blender units.
* Some hair effector options that are actually very useful were not shown in ui. These are now found in the "field weights" panel.
2011-02-07 11:43:33 +00:00
Campbell Barton
a17d81cabf add access to radius for game objects (static objects can have radius) as well as anisotropic friction. 2011-02-07 11:42:49 +00:00
Campbell Barton
d272b70ee0 rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update. 2011-02-07 08:13:28 +00:00
Campbell Barton
967299ad97 fix [#25947] Smart Project is broken SVN r34664
own recent mathutils updates broke this script.
2011-02-06 06:59:11 +00:00
Campbell Barton
48a8cba7a9 fix [#25948] blender-thumbnailer.py does incorrect checking for the number of arguments
noticed by Shinsuke Irie (irie)
2011-02-06 06:54:19 +00:00
Martin Poirier
dd924bb93b [#25693] Netrender "shadow" images with last frame always appear
More debugging info with -d

Also fix some conditions that didn't check the proper list in the ui.
2011-02-05 22:46:59 +00:00
Campbell Barton
8b52087d83 update for changes in mathutils. 2011-02-05 07:04:23 +00:00
Janne Karhu
4e8a8d1e8f Improvements for particle grid distribution:
* Particles that aren't shown are now actually deleted (huge memory savings for flat objects).
* Grid distribution for flat objects is now done on the surface object surface without offset.
* Invert grid option wasn't in ui and it didn't work for non-volume grids.
* New parameter to randomize the grid point locations.
* Resolution soft/hard limits changed to even 50/250.
2011-02-04 15:48:13 +00:00
Campbell Barton
736a7b7a22 pep8 cleanup 2011-02-04 09:27:25 +00:00
Joshua Leung
a155d8895d Moved Auto-Keying "Insert for KeyingSet only" option from UserPrefs to
Scene (Toolsettings, i.e. alongside "layered" option for using NLA
while doing auto-keying)

This option makes all Auto-Keying operations use the active Keying Set
to carry out keyframing operations instead of picking and choosing
their own Keying Sets to use, thus cutting down on the number of
unwanted keys.

Warning: if the older userpref option was enabled in an old
startup.blend, it may be difficult to turn this option off.
2011-02-04 08:33:07 +00:00
Daniel Salazar
a7af789864 Added Read Render Layers and Read Full Sample Layers to node editor menu 2011-02-02 10:33:29 +00:00
Joshua Leung
efd1d0f901 Bugfix [#25902] alt+a over 3D view don't up date dropesheet editor
Migrating "redraws" settings from TimeLine view data to per Screen.
The options are now still shown in the TimeLine "Playback" menu
though.

This means that whatever redraw settings you set in a TimeLine editor
will be used throughout a screen (i.e. editor layout) to determine
which editors will get updated during playback, instead of only
certain editors doing certain things at vague times.

---

Also, I moved some version patches pre 2.56 version bump into a
version-check for 2.56. These must've been missed when doing the
release...
2011-02-01 23:41:01 +00:00
Joshua Leung
b8d9d10a65 Action Editor UI Tweaks:
While animating, I realised that actually the 'only selected' and
'include hidden' DopeSheet filtering options are also useful in the
Action Editor, especially while tweaking the animation for some
characters, where you'd like to focus only on some of the character's
control (i.e. eyelid tweaks, hand tweaks, etc.).

The other DopeSheet filtering options aren't so relevant here, so I've
excluded them from this.
2011-02-01 22:21:43 +00:00
Ton Roosendaal
67b1cdd953 Bugfix #25891
Info header: option to switch scenes or add new ones has to be hidden
for "full screen" mode. Current full-screen code doesn't allow to 
browse screens or switch scenes nicely.
2011-02-01 13:35:21 +00:00
Campbell Barton
0d3cf5c8a6 Script to test import operators, so a single command can execute an operator on all files in a directory and optionally save out blend files for inspection.
This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests.

Example usage:

  blender.bin --background --python source/tests/batch_import.py -- \
              --operator="bpy.ops.import_scene.obj" \
              --path="/data/testfiles/obj" \
              --match="*.obj" \
              --start=0 --end=50 \
              --save_path="/tmp/test"


Also found my name was spelt wrong in some places :)
2011-02-01 12:47:50 +00:00
Joshua Leung
86f3ba24e4 Bugfix: Graph Editor menus were missing an entry for the "Smooth
Keyframes" operator

Probably this was missed off, since the DopeSheet doesn't have this
functionality
2011-02-01 11:54:05 +00:00
Campbell Barton
c6d43a02cb bugfix [#25767] Addons cannot be upgraded through the UI
added option to overwrite.
2011-02-01 06:48:19 +00:00
Campbell Barton
0362d19f2d Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths as well as strings, support this with blender/rna too.
- bpy.data.*.load() functions were only accepting UTF-8 paths.
- rna functions/properties now accept byte values rather then strings for file paths.
- bpy.path.resolve_ncase now supports byte objects.
2011-02-01 04:24:47 +00:00
Daniel Salazar
339d3bf05f reverting the new button in node editor.. will need to create a new
operator to get the correct behavior for center backdrop
2011-02-01 01:32:12 +00:00
Daniel Salazar
7b3a49af8c Added Center button to backdrop controls in node editor's side panel
Inlined backdrop's zoom ui limits and hard limits so that
going to minimun and going back to 100 works
2011-02-01 01:18:16 +00:00
Thomas Dinges
05034fb91f Node UI:
* Added Backdrop Panel inside the "Properties" area.
* Hard limit for the "zoom" value. Negative values doesn't make sense. 
* Added a missing notifier for the Node backdrop move operator.
2011-01-31 16:16:15 +00:00
Lukas Toenne
48fc6f5698 Added transparency feature to node editor backdrop, similar to image editor. Alpha blending can be enabled by a button when "Use Backdrop" is selected. 2011-01-31 11:17:50 +00:00
Martin Poirier
d5c7231339 [#25693] Netrender "shadow" images with last frame always appear
Better handling of FSAA when downloading results and on slaves.
2011-01-30 22:15:50 +00:00
Campbell Barton
89c617a116 remove nan-makefiles 2011-01-30 15:29:22 +00:00
Daniel Salazar
4d308dd921 Added handy option to delete all vgroups in the dropdown menu 2011-01-29 23:51:42 +00:00
M.G. Kishalmi
c709524dc9 new bumpmapping options for the renderer
oldbump -> original
newbump -> compatible
 *new*	-> default (3tap)
 *new*	-> best quality (5tap)

the latter two have an option to apply bumpmapping in 
 viewspace - much like displacement mapping
 objectspace - default (scales with the object)
 texturespace - much like normal mapping (scales)
2011-01-29 11:56:11 +00:00
Joshua Leung
e7e5fa0630 "Whole Character" KeyingSet Bugfix: RNA paths for custom properties
were getting formed wrongly

Although the RNA paths for the custom properties could get evaluated
correctly, keyframe status highlights in buttons didn't always work
correctly, and would lead to a duplicate F-Curve for the same setting
getting created.
2011-01-29 09:47:48 +00:00
Joshua Leung
1439ebb6b1 Character Animation Goodie: "Whole Character" Builtin Keying Set
This commit introduces a new Keying Set: "Whole Character", which is
specially designed for character animators blocking out their
animation. It should make animating with rigs such as the Sintel rigs
(and other "mainstream" setups, though others may also work with a few
modifications) much easier.

It automatically determines which properties on every bone in the
active rig should be keyframed, avoiding an initial set up step where
properties may be missed, or non-animatable properties are also
needlessly keyframed. To do this, it relies on several rules:
1) All bones in the armature, regardless of visibility status are
considered, so that hiding some layers on some keyframes then
keyframing them later won't create problems with earlier poses
changing
2) Bones starting with certain prefixes, i.e. DEF, MCH, VIS, etc. (the
full list is available in the code for this, and can be/is meant to be
modified by riggers in their own versions as they see fit), so that
some bones on hidden layers which shouldn't be seen by animators are
not keyframed
3) Locked transforms AREN'T keyframed
4) All custom properties ARE keyframed - currently this is the best we
can do, as it's hard to tell if they're needed or not, or even if
they're already driven.
2011-01-29 03:01:51 +00:00
Martin Poirier
0b6c130937 [#25783] Network rendering fails with windows paths
Potential fix. Absolute windows path weren't detected as absolute on linux.
2011-01-28 00:45:53 +00:00
Martin Poirier
185f774385 [#25671] Network Render freezes/blocks blender
Decreasing timeout and increasing refresh period
2011-01-28 00:00:10 +00:00
Martin Poirier
c627e1cbaa Bug [#25696] Netrender feedback fails
Patch by Wintch Analyzer

Someone change an attribute name and this wasn't updated
2011-01-26 20:09:30 +00:00
Campbell Barton
2df908df39 fix for error in add mesh script with no operator passed. 2011-01-26 14:52:00 +00:00
Campbell Barton
1f5cec709c update to background_job template to use --factory-startup option.
make all templates pep8 compliant.
2011-01-26 07:54:27 +00:00
Joshua Leung
78fb0a42b7 Adding Calculate/Clear Motion Path operator buttons to toolbar. I'm
currently reviewing the UI for this, so more changes related to this
should be coming...
2011-01-26 06:41:44 +00:00
Daniel Salazar
c47eb461ac After talking to Troy Sobotka, separated the time mapping UI a bit and added a label. It should be less obscure now 2011-01-26 06:08:26 +00:00
Daniel Salazar
58352e12f5 Adding Framerate preset patch by Troy Sobotka (sobotka). Small change to
make Frame Old / Frame New remapping settings always visible as they
aren't really a part of framerate settings
2011-01-25 18:30:31 +00:00
Campbell Barton
076171c5fa fix [#25757] Torus script uses radians for rotation in panel 2011-01-24 15:25:03 +00:00
Dalai Felinto
d58c31704b BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor Balbio, changes by me.
----------------------------------
While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts.

This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).
2011-01-23 17:25:27 +00:00
Janne Karhu
fa38da021c Some ui reorganization of the physics tab:
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter.
* Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled.
* There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
2011-01-23 14:04:31 +00:00
Janne Karhu
f39c794c7c Own mistake in fluid particles ui cleanup commit.
* Emission tab was shown without particle settings.
2011-01-22 21:22:29 +00:00
Janne Karhu
f4598728c4 "Fix" for [#25766] Fluid Particle Bugs
* Argh, particles tab was showing the whole "non applicable settings for fluid particles"-galore as the particle type "fluid" can't be checked from rna using the settings type value. Now the ui is a lot cleaner and only settings that actually effect the fluid particles are shown.
2011-01-22 20:38:27 +00:00
Campbell Barton
df6bb34c2b correct fix for [#25737] Console error message 2011-01-20 23:05:25 +00:00
Campbell Barton
039bb7812f bugfix [#25742] blender-thumbnailer.py doesn't work with python 3.1 2011-01-20 21:02:42 +00:00
Joshua Leung
fbe8f21826 NLA Editor: Added "Sync Action Length" operator to Edit menu
Although strictly-speaking, this only applies to a certain type of NLA
Strip (there are 3 types), but since only the classic "Action Clip"
gets much attention, it's probably worth exposing this here too to
make batch editing of strips a bit easier.
2011-01-19 10:45:35 +00:00
Joshua Leung
dddb9aa30f NLA Editor: Swap Strips (Alt-F) and Bugfixes
1) Added a new operator to swap the order of strips within a track
(Alt-F).
This makes it possible to select two strips (or more precisely, two
islands of consecutive + selected strips) in a single track and change
the order in which the appear without needing a extra tracks to
perform the move through.

As usual, the non-overlapping rules apply, so there may be some cases
where swapping in this way is not possible without adjusting the
intermediate strips first manually. Otherwise, everything just gets
too tricky to manage deciding what adjustments should be done to the
obstructing strips to make a fit.

2) Freeing meta-strips didn't free their local data properly (i.e.
modifiers they may have had).

3) Adding strips to tracks, where the endframes for the strips
overlapped would cause problems with incorrect ordering of strips. I
still need to double-check whether evaluation works ok in this case...
2011-01-18 23:38:36 +00:00
Campbell Barton
11f8b5fceb move release/test to source/test, there is nothing release about this dir. 2011-01-18 23:12:02 +00:00
Campbell Barton
e6027018fe recent commit broke Mesh.from_pydata() 2011-01-18 06:35:26 +00:00
Campbell Barton
8cf1184c04 bad spelling; 'indicies' --> 'indices' 2011-01-18 01:58:19 +00:00
Campbell Barton
28382c7983 document Mesh.from_pydata() [#25688] undocumted functions in pyapi 2011-01-18 01:38:14 +00:00
Joshua Leung
d769ff0d26 Bugfix [#25667] "X-Axis Mirror" in the Pose Options panel toolbar is
misleading (?)

"X-Axis Mirror" option didn't work in Pose Mode, so hiding this option
for now. Perhaps one day we could properly support this for all
operators there, but that is more of a long term todo...
2011-01-17 10:35:04 +00:00