Commit Graph

27690 Commits

Author SHA1 Message Date
Campbell Barton
d90e3759bc centralize some of the came install commands, were being copied between osx/win/linux 2011-11-17 18:23:34 +00:00
Campbell Barton
92ed90d2fa pyapi feature from 2.4x
allow collection subscript to contain the library or None.

eg:

  bpy.data.objects["Mesh", "/subsurf_test.blend"]

  bpy.data.scenes["Scene", None]

  # also works with get()
  bpy.data.armatures.get(("some_armature", "//some_lib.blend"), None)
2011-11-17 08:47:34 +00:00
Konrad Kleine
096f7c06b1 Fixed comment in BLI_dlrbTree_search_exact 2011-11-17 08:02:36 +00:00
Campbell Barton
db44a92a11 pydrivers: 'frame' is now in the driver namespace,
- no need to link to scenes when using a frame from the pydriver, this made linking rigs for eg, quite messy.
- advantage that we get subframe values (where scenes from was fixed to a whole number).
2011-11-17 07:08:09 +00:00
Antony Riakiotakis
68fa959de5 BLI_mempool redefined causing compile time error, removing duplicate typedef 2011-11-16 22:20:17 +00:00
Brecht Van Lommel
7fbf5fbe87 UI: editor splitting widgets in corners now draw antialiased, also fix 1 pixel
inconsistency between bottom-left and top-right.
2011-11-16 20:36:06 +00:00
Bastien Montagne
819d1f417d Fix [#29190] VSE bugs.
Only real bug was, that effect strips' start frame and length were editable. Made all four frame properties readonly on RNA level for those kind of strips (those for which get_sequence_effect_num_inputs returns a non-null value).

Also fixed the tooltip of frame_final_duration.
2011-11-16 20:03:54 +00:00
Campbell Barton
3dcc9aef96 merge mempool changes from bmesh (adds mempool iterator). 2011-11-16 19:31:42 +00:00
Sergey Sharybin
9b17d39ce0 Fix #29260: Missing "Extend" parameter for Border Select
Added "Extend" flag to border select operators for editors:
- UV Editor
- Sequencer
- NLA
- Info Space
- Graph Editor
- File Browser
- Clip Editor
- Action Editor
- Channels and markers regions

Can be used for custom keymaps.
2011-11-16 19:22:14 +00:00
Miika Hamalainen
9f51785c4d Dynamic Paint:
* Wave simulation speed doesn't anymore depend on surface size, but uses relative distances instead. This change will likely change simulation behavior on existing saves, but can be easily tweaked back using the "Wave Speed" parameter.
* Added a new wave brush type, "Depth Change". It uses the change of brush intersection between frames, giving a better looking "wake" for moving objects. It also doesn't leave any "dent" to the surface while remaining still.
2011-11-16 18:32:28 +00:00
Campbell Barton
1af839081b minor edits, move mempool stack vars into the nested scope when they aren't likely to be used, also formatting edits (was quite un-blender like). 2011-11-16 16:50:30 +00:00
Campbell Barton
4d9766aacf minor cleanup
- remove / comment unused python vars
- replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);
2011-11-16 16:38:37 +00:00
Brecht Van Lommel
cb09ad43e1 Fix #29293: NLA Strip modifiers don't survive save/reload. One letter
can make a big difference :)
2011-11-16 16:08:45 +00:00
Brecht Van Lommel
c6bbe25c29 Fix #29093: world zenith up and down texture influence were not working
correct. These were decoupled from horizon influence for 2.5, but not
actually used in the render engine.
2011-11-16 15:47:25 +00:00
Brecht Van Lommel
004cb6ba1b Fix #29160: material node "Texture" didn't use default texture coordinates
anymore when nothing was connected to the socket.
2011-11-16 14:13:43 +00:00
Brecht Van Lommel
ed5815fc7f Fix #29243: unlink texture datablock from material node in texture properties
could crash, RNA pointer from context was invalid.
2011-11-16 13:49:51 +00:00
Brecht Van Lommel
c4e029a274 Fix #29287: cycles and other external render engines did not print correct frame
number in background render.
2011-11-16 12:47:37 +00:00
Lukas Toenne
391f40e8c9 Default cache file paths for ocean and fluidsim modifiers are now "<temp folder>/ocean_cache/" and "<temp_folder>/fluid_cache/" when the file is not saved yet at the time the modifiers are created.
If it has been saved, the file paths are relative to the .blend: "//ocean_cache/" and "//fluid_cache/".

This should at least partially fix bug #29273. Particle external point caches are not changed.

http://projects.blender.org/tracker/?func=detail&atid=498&aid=29273&group_id=9
2011-11-16 12:43:12 +00:00
Brecht Van Lommel
eff7e18dc5 Fix #29288: armature draw type wire + manipulator draw issue. 2011-11-16 12:27:24 +00:00
Sergey Sharybin
01af54c464 Camera tracking: forbid focal length=0 and small code cleanup 2011-11-16 10:00:02 +00:00
Campbell Barton
ba7fbf6ae7 formatting edits & doc correction, no functional changes. 2011-11-16 03:56:34 +00:00
Joshua Leung
683e6faf81 Partial Bugfix 2: [#29229] Outliner RMB commands unexpected results
RenderLayers and RenderPasses don't show the generic Hide/Unhide/Select/Deselect
popup which is irrelevant for this use case. I've included a commented-out call
here that can be replaced when we have some operations which can be performed on
this data (*)

(*) For new devs looking to get into blender dev, this could be a nice little
project to work on.
2011-11-16 02:14:39 +00:00
Joshua Leung
9f46ca46a6 Partial Bugfix: [#29229] Outliner RMB commands unexpected results
This commit implements the Unlink and Make Single User capabilities for World
datablocks in the Outliner
2011-11-16 00:13:38 +00:00
Brecht Van Lommel
0792ab3652 Fix #29232: on background render where it could not find the .blend file, the
default cube would be rendered instead, now stops processing arguments after
failed file load.
2011-11-15 23:03:35 +00:00
Brecht Van Lommel
8db117a81a Fix #28936: UV unwrap issue with meshes with inconsistent normals. 2011-11-15 21:16:37 +00:00
Brecht Van Lommel
4cc8677f1c Fix: part of 3d view header disappears when collapsing menus. 2011-11-15 20:19:15 +00:00
Sergey Sharybin
e8502b7f5f Typo fixes in descriptions. 2011-11-15 20:02:45 +00:00
Brecht Van Lommel
4c12550fe8 Fix #29208: Text.clear() and Text.write() did not redraw text editor. 2011-11-15 19:46:56 +00:00
Brecht Van Lommel
c7ec8a2e54 Fix for #29165 bugfix: adding nodes from shift+A menu in node editor did nothing. 2011-11-15 18:24:17 +00:00
Campbell Barton
0c7a25cd0e patch [#28993] wm_window_match_do(): Fix crash on null pointer dereference
from Ola Jeppsson (olajep)

also some cleanup edits
2011-11-15 16:38:48 +00:00
Campbell Barton
f403d9a2b1 replace rna description string limits with rna define RNA_DYN_DESCR_MAX 2011-11-15 15:24:57 +00:00
Campbell Barton
2bc7821913 add support for python __doc__ comments in menu classes showing in the tooltip, since menus are used as buttons too. 2011-11-15 14:58:14 +00:00
Campbell Barton
47ad078402 show tooltips for menus, currently works for operators and enum properties which are can be accessed as menus from the UI (camera overlay enum for example) 2011-11-15 14:20:57 +00:00
Campbell Barton
205b554bef access mesh string data layer as bytes since this is low level data storage 2011-11-15 14:01:24 +00:00
Campbell Barton
3ecb7b951e fix [#29272] Dynamic Paint crashes on duplicating a particle system
smoke had this same bug too
2011-11-15 13:45:24 +00:00
Sergey Sharybin
eb1e24bbe6 One more description became easier to understand 2011-11-15 12:32:58 +00:00
Campbell Barton
735eb3774b patch [#27708] API for adding mesh properties
from Geoffrey Bantle (briggs)
2011-11-15 12:28:13 +00:00
Sergey Sharybin
3d724d8df5 Camera tracking: made some options more easy to understand
- Changed some names so now people who aren't really familiar with
  motion tracking can understand what they exactly means
- Also cleaned up and rephraded some descriptions
- Changed behavior of operator which creates empty for 2d tracks:
  now it operates on all selected tracks rather than active track only
- Added checkbox to enable/disable rotation stabilization
2011-11-15 12:20:58 +00:00
Joshua Leung
355710f414 Follow-up commit to r.41765
Reviewed behaviour of selection operators, and decided that ultimately, it's
better if select left/right/column didn't change the channel selections at all.
This is because with the highlighting of the active curve nowadays, it's a bit
distracting to suddenly lose track of it after performing these operations, when
you may have been trying to select all of the keyframes on that curve for
further tweaking.
2011-11-15 12:02:44 +00:00
Campbell Barton
6a340c1eb0 py/rna api was calling RNA_property_type more often then needed (no functional change) 2011-11-15 11:56:54 +00:00
Joshua Leung
1a47f9516e Formatting cleanup. No functional changes 2011-11-15 11:34:49 +00:00
Campbell Barton
cc93e476ab correct off by one error in previous commit, also add assert incase idproperty length gets out of sync. 2011-11-15 11:04:29 +00:00
Campbell Barton
3cf56d46d1 add IDP_EqualsProperties support for comparing non-null terminated byte strings. 2011-11-15 10:32:08 +00:00
Campbell Barton
4de917326b de-duplicate some idproperty py api code, also improve some exception messages. 2011-11-15 10:19:44 +00:00
Bastien Montagne
995ca539d0 Fixed compilation error in writeffmpg.c (caused by recent IDProp changes). 2011-11-15 10:01:18 +00:00
Bastien Montagne
ba9b5f41ec Minor: added the description of expected string format for the template_list's "prop_list" parameter (was missing in bpy ref...). 2011-11-15 09:42:00 +00:00
Campbell Barton
d4d80ee0a1 rename IDProp.c/h to idprop_py_api, since it was same name as BKE idprop.c with case changed. 2011-11-15 09:28:15 +00:00
Campbell Barton
8623935aa8 pass a pointer to IDP_New's IDPropertyTemplate rather then a copy. 2011-11-15 09:22:52 +00:00
Campbell Barton
2ab1732613 support for non-null terminated byte strings in id properties (as a subtype of IDP_STRING types) 2011-11-15 09:12:10 +00:00
Campbell Barton
697726468e fix for own error, BLI_replace_extension would strip the filename if there wasn't already an extension. 2011-11-15 07:35:28 +00:00