Commit Graph

3295 Commits

Author SHA1 Message Date
Campbell Barton
f02b9b37f2 api to support different kinds of relative paths on export, including copying the files to a subdir. 2011-04-14 08:47:47 +00:00
Thomas Dinges
656dd38f0d Fixed a copy and paste error in "Copy Previous Settings" operator. ;-) 2011-04-12 21:00:53 +00:00
Campbell Barton
a1b6e077fd add randomize transform & object align back into the menu. 2011-04-12 15:12:05 +00:00
Campbell Barton
ba03e5023e less alarming warnings about the python api not being stable in online docs and remove from interactive console. 2011-04-12 12:09:38 +00:00
Campbell Barton
8fd1d53a31 change behavior of restoring old settings
- only attempt to restore old 'user' settings (not local), since bundled blender's always use their own settings.
- only automatically run 'bpy.ops.wm.read_homefile()' after copying files if the user hasnt alreadt started making changes in the blend file.
2011-04-12 04:23:38 +00:00
Campbell Barton
9699592628 py api: bpy.data.is_dirty wasn't working like image is dirty, instead is would return if the file was saved or not.
- rename to 'is_saved' (and negated).
- add 'is_dirty' which is true when the files edits are not saved to disk.
2011-04-11 15:31:05 +00:00
Campbell Barton
66419dcc12 operator & splash button to copy over old settings when blender version changes. 2011-04-11 15:13:06 +00:00
Campbell Barton
f8c09b37d4 api changes needed for for copying old settings to new.
- py: bpy.utils.resource_path('USER', 2, 56)
- C: BLI_get_folder_version(id, major, minor, check);
2011-04-11 13:56:58 +00:00
Campbell Barton
cfc2b0b01f fix for one of the [#26854] UV issues
- add back UV X/Y number buttons, the report points out they are missing.
- set the 2D cursor's subtype to PROP_COORDS (so buttons say x/y now)
2011-04-11 00:49:08 +00:00
Campbell Barton
dbd3009108 - background job style cleanup.
- assert if material assignment is called with lib. (so the callers can be corrected).
- correct example docs
2011-04-10 15:24:05 +00:00
Campbell Barton
28594bc742 minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience. 2011-04-10 10:45:56 +00:00
Matt Ebb
3815017c95 Labelling fix 2011-04-10 07:05:22 +00:00
Ton Roosendaal
1728c20a63 Fixes related to using Library files:
- Assigning local materials to library objects disabled
  (crashes on undo/redo cases)
- Disabling options in Material buttons to add/remove slots
  on library data
- Drawing Object ID template in Object properties, this
  allows browse active Object, but especially shows library
  status then.
2011-04-08 16:56:44 +00:00
Campbell Barton
0f5959abd9 fix [#26674] Inconsistency in snapping CursorToSelection between UV_Editor and 3d_View. 2011-04-08 12:28:59 +00:00
Sergey Sharybin
dbe3369ae2 Name unification commit for console toggling operator.
Requested by Dalai, approved by Campbell. Other requested from Dalai
changes were rejected by our Python Departament.
2011-04-06 12:30:07 +00:00
Campbell Barton
56968bb580 dfelinto noticed text editor section was missing. 2011-04-06 06:47:04 +00:00
Campbell Barton
d5d9c56cb5 minor edits to keyingsets script. 2011-04-05 12:31:55 +00:00
Joshua Leung
b2753f6af9 "Bugfix" (i.e. feature request in disguise!) [#26772] Delta Scaling,
Rotation and Location don't have Keying Sets

Added Keying Sets for Delta Loc/Rot/Scale settings (aka dLoc/dRot).
These settings could already be found in the Object properties, under
the collapsed "Delta Transforms" panel.

I've added these to the end of the Keying Sets list, since adding any
earlier will end up breaking active Keying Set setting in older files.
Besides, these settings aren't that frequently used either...
2011-04-05 11:49:58 +00:00
Joshua Leung
bbf82877cf Bugfix [#26792] blender crash when scaling action strip in NLA
Two part bug:
Part 1) NLA Editor menu was calling wrong operator
Part 2) r35829 broke NLA scaling, since it only checked that the
transform mode used was allowed in the Action Editor (probably
confused by Part 1)
2011-04-05 11:04:00 +00:00
Campbell Barton
165a40e742 add support for installing addons to custom script path [#26751] installing addon to custom script directory doesn't work 2011-04-05 09:33:28 +00:00
Campbell Barton
61933ec4b9 comment menu item causing crash [#26792]. 2011-04-05 08:43:16 +00:00
Campbell Barton
dcb26e4e47 fix [#26782] Missing settings in some texture nodes.
also rename noisebasis_2 --> noise_basis_2
2011-04-05 06:05:55 +00:00
Campbell Barton
162d02bf50 quiet warning & minor pep8 edits. 2011-04-04 22:42:43 +00:00
Janne Karhu
2f3758e6d1 Bug fix: The quick effect operators got broken a bit by the new material slot behavior.
* The operators now add new materials and assign them to the created material slots explicitly.
2011-04-04 14:35:22 +00:00
Campbell Barton
265cdf29fb fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
Campbell Barton
fad71850e4 minor edits to view3d toolbar 2011-04-04 08:47:31 +00:00
Campbell Barton
65b13c8089 fix [#26757] Python console: help() doesn't work anymore
also quiet some warnings & add docstrings to bpy module which was shaowing the GPL header in its help() message.
2011-04-03 23:11:00 +00:00
Campbell Barton
9decca10e0 missed renaming after api modification, used to cycle proportional edit falloffs with Shift+O. 2011-04-03 22:28:33 +00:00
Thomas Dinges
6a841ef3a1 Readme.html and Link to Release Log:
* Ready for release!
Note: JesterKing: Release notes now point to http://www.blender.org/development/release-logs/blender-257/
Would be cool, if we can use that one.
2011-04-02 13:18:33 +00:00
Thomas Dinges
a5804c2e60 [#26719] Fix AAO Tooltips by Sergej Reich (sergof). Thanks! 2011-04-02 12:54:17 +00:00
Thomas Dinges
3f6158eedc 2.5 Particle UI:
* Missing colon and not worth a commit message ;-)
2011-04-01 22:41:02 +00:00
Thomas Dinges
1f7ed6a931 2.5 Weight Paint UI:
* Added menu entry for "Set Weight" Tool. Request by venomgfx :)
2011-04-01 22:19:03 +00:00
Thomas Dinges
c729c1a997 3D View Toolbar:
* Code cleanup
2011-04-01 21:37:40 +00:00
Thomas Dinges
367cf47dd6 2.5 UI:
*Brush option "size" had different naming in 3D View / Image Editor.
Ported back name "Radius" to RNA (Brush and ParticleBrush) 

Discovered by Bart Crouch. Thanks!
2011-04-01 20:36:27 +00:00
Campbell Barton
3ddbb36fa7 modification to api docs so release point to:
http://www.blender.org/documentation/blender_python_api_2_57b_release

Development versions point to:
   http://www.blender.org/documentation/blender_python_api_2_57_0

This way updates to api docs after release wont overwrite release docs.
2011-04-01 15:13:58 +00:00
Joshua Leung
2bd22ec559 Animation Editors: Name-based filtering
I'm finally yielding to months of feature requesting, and adding
support for filtering F-Curves by name, where the "name" here is the
text which is displayed for each F-Curve in the Animation Editor
channel lists.

To use, just enable the magnifying-glass toggle on the DopeSheet
filtering settings, and enter a snippet of text to find within the
names of channels you wish to filter. This is case insensitive, and
currently doesn't support any wildcard/regrex fanciness.

Some examples:
loc  <--- location curves only
x loc <--- x location curves only
x eul <--- x rotation curves only
rot <--- rotation curves only
etc.
2011-04-01 12:21:41 +00:00
Campbell Barton
d2a3005dd0 Add back sculpt mode brush keys.
Operator for switching brushes based on type, cycling through brushes when multiple exist.

This has the advantages over the old method that it doenst rely on hard coded brush names and if there are multiple brushes of the same type it cycles between them.

also fix error in previous commit which broke number buttons changing brushes.
2011-04-01 06:14:39 +00:00
Campbell Barton
d4a9bc1c21 while looking into adding back brush tool keys found mixed texture/image paint rna vars, using 'image paint' internally. 2011-04-01 04:22:30 +00:00
Campbell Barton
c8652b301f pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces() 2011-04-01 02:41:15 +00:00
Janne Karhu
e4c656c7bf Fix for [#26694] Quick effects problems: Make Smoke/Fluid on a flat object creates flat domain. On a subdivided mesh create no domain.
* Fluidsim has to be before any constructive modifiers.
* Also a bit nicer domain size calculation + a warning message for using flat objects as fluid objects.
* Some code cleanup and clarification too.
2011-03-31 11:49:01 +00:00
Campbell Barton
278e2bc3a4 use poppups for python UV unwrap operators (since they are too slow to be realtime). this change was lost when moving the menu items about. 2011-03-31 08:46:41 +00:00
Joshua Leung
077f8520da Pose Propagate - Further Tweaks:
- Pose Propagate and Pose Sliding tools now work in the same way as
Pose Library previewing, with regards to selections. If some bones are
selected, then only those will be affected. But if no bones are
selected, then the whole rig gets affected.
- Added a "On Selected Markers" option, which only propagates poses to
frames where there's a selected marker. Animators can combine this
with a "select markers whose name contains..." operator to get an
effective way to manage hand-keyed walk cycles, etc.
2011-03-31 01:37:42 +00:00
Joshua Leung
531d3e410f Propagate Pose Tweaks:
- Renamed "Last Keyframe" mode to "Before End". This mode still just
copies the pose to all keyframes starting from the current frame until
the last one encountered per F-Curve
- "Last Keyframe" mode (new one) now copies the pose to the last
keyframe. This is useful for making animations cyclic (i.e. go to
first keyframe, edit, then Pose->Propagate->To Last Keyframe (Make
Cyclic))
2011-03-31 00:45:52 +00:00
Campbell Barton
9ba57b6518 pass pep8 checker. 2011-03-30 15:02:02 +00:00
Janne Karhu
ce2be37026 Small update to the quick effects operators:
* "Make fur" now creates a basic fur material for each object (smaller strand tip width and a little bit of surface diffuse)
* If fluid/smoke emitters aren't rendered the objects are also set to draw only in wire mode so that the fluid/smoke can be clearly seen.
2011-03-30 13:35:54 +00:00
Janne Karhu
22abd53c7e Quick effects operators:
* A couple of operators to quickly create effects that would otherwise take some time to set up.
* Nice to use for demoing functionality or as a starting point for more complex effects.
* "Make Fur" - Gives every selected mesh object particle fur with a desired density and length.
* "Make Smoke" - Makes each selected object a smoke emitter and creates a new domain object around the emitters with the correct material to render the smoke.
** Has style options for "stream": constant smoke flow, "puff": only create smoke once from the volume of the emitter object, "fire": enable high resolution smoke and set a secondary fire color texture for the domain object.
* "Make Fluid" - Makes every selected object a fluid object (normal/inflow) and has the option to start fluid baking immediately.
* This should provide a nice base for extending these / adding more operators for different effects.
2011-03-30 10:29:32 +00:00
Campbell Barton
bfadd7c9aa modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.
2011-03-30 07:21:41 +00:00
Campbell Barton
e020c1504e fix [#26657] Smart UV Project missing from Unwrap menu in 3D Viewport 2011-03-29 14:13:11 +00:00
Janne Karhu
4b96f15cb3 Fix for [#26664] Some particle panels disappear when pinned
* Too strict poll functions for render & display panels.
* Like said in the report cache & vertex groups are a part of the particle system (not particle settings) they can't be shown when the settings are pinned.
2011-03-29 13:00:59 +00:00
Campbell Barton
6e5ce953da use 'is None' rather then '== None' as suggested by python docs & mis-spelling. 2011-03-29 04:16:55 +00:00