Commit Graph

1059 Commits

Author SHA1 Message Date
Campbell Barton
db1b74654b - spec hardness was missing redraw update
- missed rna rename in image ui
- use BLI_math functions in gpu_draw.c (no functional changes)
2010-10-02 06:34:04 +00:00
Campbell Barton
ebca34a282 3d text added with the view align option didnt work. 2010-10-01 12:25:18 +00:00
Joshua Leung
b3c8efb3ef Action/Shapekey Editor Bugfixes:
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only). 

There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think.

* Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.
2010-09-30 12:42:45 +00:00
Janne Karhu
c5157cda88 Cleanup of code and ui of sequencer speed effect.
* Sequence speed effect was functional in theory, but very difficult to actually use.
* Now the effect works as follows:
  - "Speed Factor" (formerly "speed fade") controls the current speed of the sequence (can be animated).
  - "Use as speed" (formerly "f-curve velocity") is now the default behavior so that the "speed effect" by default changes the "speed" of the sequence.
  - "Multiply Speed" (formerly "global speed") is a scale factor that's applied to the calculated frame (can't be animated).
  - Without animation "Speed Factor" and "Multiply Speed" work exactly the same (in this case "multiply speed" could perhaps be disabled in ui, but currently there's no easy way to check this).
  - If "Use as speed" is not checked the effect simply remaps the current frame to the given "Frame Number" (can be animated).
  - "Scale to length" (formerly "f-curve compress y")scales "Frame numbers" from 0.0-1.0 to the length of the target strip to allow easy animation.
* Tooltips added for all values and options.
* Code for frame blending was nowhere to be seen, so I commented the option out from ui.
* This should fix at least bugs #20979 and #21309.
2010-09-29 13:38:43 +00:00
Sergey Sharybin
2597377b5c Fix #24054: Shift+A add menu in Surface editmode shows curve items. 2010-09-29 11:48:03 +00:00
Janne Karhu
12be522cbe Fix for [#24031] Baked Physics with Phsics set to NO can't be freed
* Should fix the cause ("no physics" gets baked) and old files that are effected (ui allows freeing if cache isn't really used)
2010-09-28 08:47:59 +00:00
Janne Karhu
8bc0cfc1ca Fix: Smoke wasn't using pointcache properly.
* The cache was reset almost constantly because smoke didn't save the first frame into cache. Although not necessary for smoke, it's vital to pointcache.
* Added info message to smoke cache panel for non saved files.
* Now smoke also only updates with a framestep of 1, so that scrubbing the timeline doesn't mess up the simulation.
* Among other things fixes report #23731.
2010-09-27 12:24:12 +00:00
Campbell Barton
b4980165f1 invalid name [#23986] Camera->Lens->Pespective->Angle input 2010-09-27 05:16:45 +00:00
Thomas Dinges
1190f43830 * Fixing Link to Release Logs. 2010-09-26 08:27:59 +00:00
Campbell Barton
92954672dc bugfix [#23978] Error installing addon 2010-09-25 06:36:01 +00:00
Campbell Barton
6a4b9298c8 patch [#23968] filter_filetypes property to allow operators to filter by file extensions in the file selector
modified the patch to store the string internally rather then an array of allocated string pointers, less hassle with memory allocation.
changed to use fnmatch, so *.foo is needed (not .foo as with the patch)
2010-09-24 07:05:43 +00:00
Campbell Barton
f866de1c9f missed this in recent commit. 2010-09-24 03:42:19 +00:00
Campbell Barton
57c4e9c8f7 [#23882] BrushTexture.Slot.size missing
missed with rna renaming
2010-09-23 12:50:45 +00:00
Campbell Barton
1c3f2354f8 bugfix [#23795] Insert Visual Loc/Rot Keyframe of Armature Bones Broken
- converted 3 options in keying sets to use bl_options like panels & operators
- removed function arguments for new keying sets, better adjust these after to avoid duplicating properties in function arguments (they were not used).
2010-09-23 08:15:53 +00:00
Campbell Barton
0c7285b9ae minor UI change so blender built without fluids wont give a python error 2010-09-21 16:31:37 +00:00
Campbell Barton
6ed4656604 map old/new rna & ui back 2010-09-19 13:38:45 +00:00
Campbell Barton
aaf328dc78 remove redundant []'s for list comprehension's, py2.4+ supports this. 2010-09-19 07:07:14 +00:00
Brecht Van Lommel
7c197b6849 Fix #23879: added undo/redo to object/paint/sculpt/pose menus as well,
and made some small modifications to object menu to make it a bit
shorter, still much too long though, but at least not worse now.
2010-09-18 16:17:32 +00:00
Brecht Van Lommel
de9c443ff0 Fix #23850: hide cloth cache step from the UI because it can only be set to 1
anyway, which is confusing.
2010-09-18 15:57:42 +00:00
Campbell Barton
868fdd80a2 use is rather then == when comparing against None. 2010-09-18 10:43:32 +00:00
Dalai Felinto
3e1ff2e590 UI fix: psys.hair_dynamics -> psys.use_hair_dynamics 2010-09-18 00:19:53 +00:00
Brecht Van Lommel
a0e1e9d1e1 Fix #23839: missing V shortcut for rip tool, now the rip & move operator
is in the menu instead of rip which is not as useful by itself. Location
of the problem pointed out by Sergej Reich, thanks!
2010-09-16 20:16:20 +00:00
Janne Karhu
e7a393d2e1 Tiny addition to boids functionality: pitch value
* Controls maximum rotation around side vector (as opposed to banking, which controls rotation around forward vector)
2010-09-16 20:06:10 +00:00
Campbell Barton
f788c68b9c bugfix [#23831] Removing an IK Constraint in pose mode still draws bone with IK highlight
+ moved bone envalope scale into transform menu, pose menu is getting huge.
2010-09-16 07:14:48 +00:00
Campbell Barton
fb454bfe08 bugfix [#23802] addons panel empty
was using locale.getpreferredencoding() to read the file which depends on the system setup, better use 'UTF-8' always.
2010-09-15 16:42:10 +00:00
Campbell Barton
90bd472ef2 filling is used for 3D curves but not for filling, sigh. 2010-09-15 08:38:29 +00:00
Campbell Barton
46b61ccf21 in response to [#23812] bevel object, but no caps.
tweak the UI so fill options are only available with 2D curves and greyed out when bevel object is used.
2010-09-15 08:34:41 +00:00
Campbell Barton
8d0c01e6e2 keyconfig updates/changes
- use preset subclass with funcs for updating the keyconfig
- keyconfig filenames are used for the UI names as with presets (so separation anymore)
- keyconfig's are stored in the preset dir (scripts/cfg dir removed)
- only the active keyconfig script is loaded
- some bugfixes for saving keymaps
- user interactions no longer saves keyconfigs too, I think this needs to be re-worked.

developer note...
multiple keyconfigs at once are not really needed now that they are stored & accessed directly in python.
for now I left it alone but we could consider to remove this capability in the future.
2010-09-14 16:45:24 +00:00
Campbell Barton
74b2022a82 button to remove presets.
note: this is an option to the add preset operator which is a bit odd but easiest since these classes have all the info needed for removal as well.
2010-09-14 04:58:25 +00:00
Campbell Barton
88fac85123 avoid re-creating and assigning addon UI properties for every redraw 2010-09-13 08:16:31 +00:00
Campbell Barton
18702a9eef bugfix [#23001] Addons do not unregister properly in Blender 2.5.3
Now reloading the user defaults also unloads/loads addons, resetting the state to the one set in the user preferences.

moved addon functions into bpy.utils
- bpy.utils.addon_enable(name, default_set=True)
- bpy.utils.addon_disable(name, default_set=True)
- bpy.utils.addon_reset_all(name, default_set=True)

the user preference operators now just wrap these.
2010-09-13 04:52:56 +00:00
Joshua Leung
a82874c2ee Animation Editors: Added menu entry for deleting selected channels, as requested by animator working with Matt 2010-09-13 00:53:47 +00:00
Thomas Dinges
cd4fb20b73 Patch [#23759] more replace self.properties.foo --> self.foo for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!

Part 1: Trunk, second part of patch will be committed to Extensions.
2010-09-10 23:39:43 +00:00
Campbell Barton
bf18e89396 fix for error updating rigify UI classes 2010-09-10 16:07:18 +00:00
Campbell Barton
cf4e32a06c remove redundant buffer character positioning code & remove attr keyword argument from property definitions. 2010-09-10 04:04:48 +00:00
Campbell Barton
111965478a replace self.properties.foo --> self.foo 2010-09-09 18:03:57 +00:00
Campbell Barton
7bd1f9a234 - bugfix, operators were getting their properties registered twice.
- operator properties are now converted into python property() class members which bypass the operator 'properties' member.
  self.properties.mysetting
 ... can now be written as ...
  self.mysetting
- fix for error reloading rigify
2010-09-09 17:41:36 +00:00
Campbell Barton
49585914e2 fix for addons UI with recent rna changes,
also moved temp properties from the scene into the window manager since they are not saved there.
2010-09-09 14:22:03 +00:00
Campbell Barton
45cf7633fe remove class methods for defining properties
eg: bpy.types.Scene.BoolProperty()
2010-09-09 06:29:44 +00:00
Campbell Barton
b58f41e120 addon improvements/fixes
- better error reporting when an addon fails to load
- upload an addon which loads partly but then fails (eg, module loads but class register fails)
- bugfix addon loading, failier to load would leave _bpy_types._register_immediate = False
- added which change on disk are reloaded when enabling.
- bpy.path.module_names() now returns (module_name, module_path) pairs.
2010-09-08 07:30:20 +00:00
Campbell Barton
1a41d2fc29 new bpy function bpy.path.module_names(path, recursive=False)
addon's and python initialization both had this inline.
2010-09-08 04:55:37 +00:00
Nathan Letwory
20ca4b188d Fix [#23716] Add background image broken
Reported by Josh Wedlake
2010-09-07 20:27:40 +00:00
Campbell Barton
115b256738 ran through pep8 checker 2010-09-07 15:17:42 +00:00
Campbell Barton
0a2e0b28bf bugfix [#23631] Faces and edges missing in edit mode
there was no way to clear fgons.
2010-09-07 00:20:31 +00:00
Campbell Barton
59ac5b0930 in response to bug [#23701] Edit Mode: unable to bind vertex/edge/face select modes to keys
while not a bug, being able to cycle over vertex/edge/face modes is useful. added an operator to cycle an array, could be used for cycling the active layer or mesh edit mode.
2010-09-06 22:43:09 +00:00
Campbell Barton
67d2060450 bugfix [#23704] Background image does not support special german letters 2010-09-06 22:00:15 +00:00
Campbell Barton
8a6f6698d8 bugfix [#23697] New Empty Scene lacks World Settings 2010-09-06 10:25:38 +00:00
Campbell Barton
b60bc0ee85 display_properties was being re-defined for each keymap item. 2010-09-06 06:04:05 +00:00
Campbell Barton
ec1e038453 bugfix [#23552] keymaps big problem 2010-09-06 05:27:54 +00:00
Campbell Barton
52cefa4bc1 sphinx doc gen
- use 3 column lists for inherited props, funcs and for references to save on vertical space.
- use the blender version string for the upload path and PDF name.
2010-09-03 09:21:40 +00:00