Commit Graph

27701 Commits

Author SHA1 Message Date
b4097ad11d Re-commit reverted changes from rev41394. was accidentally
reverted when trunk was prepared for tomato merge.
2011-11-18 15:29:40 +00:00
dae43b5487 Camera tracking: multiply all camera matrices by inverted first reconstructed camera matrix
This makes blender camera:
- Be located on exactly the same position at first frame after applying
  Camera Solver constraint
- Be looking in exactly the same direction it used to look before
  applying Camera Solver constraint

Before this patch in most of cases camera used to change direction
after applying solved data on it which can be confusing in some cases.

Currently solved files wouldn't be broken, but after solve scene should
be re-oriented. Not big deal because re-solving isn't so safe for scene
orientation anyway.
2011-11-18 14:42:18 +00:00
cc314e442c Rename bgpic.add() to bgpic.new() to correspond others collections like
render layers, vertices groups and so.
Also added bgpig.remove() function to remove specified picture.
2011-11-18 14:28:45 +00:00
d498dd3939 make RNA_def_float_rotation usable for single value rotations (not arrays). 2011-11-18 09:23:55 +00:00
7084ab4f43 Moving spanish code from es_ES to es for now (as the best spanish translation is es.po...).
Else, gettext first search into es_ES (and es_MX it seems???), before using content from es, which currently is not good.
2011-11-18 09:16:29 +00:00
971065ec9a Set floor fails to make camera be in positive Z half-space if it was parented to other object. 2011-11-18 08:48:33 +00:00
aa19d53de1 edits to 41957, main changes to render layer removal.
- report an error if the layer can't be removed
- check the render layer is in the list before removing
2011-11-18 08:42:44 +00:00
9f0a6dca13 Added methods new and remove to scene.render.layers, so now render layers
can be created and removed from scripts.
2011-11-18 07:11:54 +00:00
8c6057d5e3 exclude addons_contrib/ for release builds. 2011-11-17 19:43:59 +00:00
14e103b827 Tweaks and fixes to UI messages, found while translating in french. 2011-11-17 19:26:50 +00:00
22b5a3735f add flag FUNC_USE_MAIN for rna functions which don't need the context. (currently unused) 2011-11-17 18:41:37 +00:00
d90e3759bc centralize some of the came install commands, were being copied between osx/win/linux 2011-11-17 18:23:34 +00:00
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
096f7c06b1 Fixed comment in BLI_dlrbTree_search_exact 2011-11-17 08:02:36 +00:00
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
68fa959de5 BLI_mempool redefined causing compile time error, removing duplicate typedef 2011-11-16 22:20:17 +00:00
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
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
3dcc9aef96 merge mempool changes from bmesh (adds mempool iterator). 2011-11-16 19:31:42 +00:00
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
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
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
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
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
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
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
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
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
eff7e18dc5 Fix #29288: armature draw type wire + manipulator draw issue. 2011-11-16 12:27:24 +00:00
01af54c464 Camera tracking: forbid focal length=0 and small code cleanup 2011-11-16 10:00:02 +00:00
ba7fbf6ae7 formatting edits & doc correction, no functional changes. 2011-11-16 03:56:34 +00:00
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
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
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
8db117a81a Fix #28936: UV unwrap issue with meshes with inconsistent normals. 2011-11-15 21:16:37 +00:00
4cc8677f1c Fix: part of 3d view header disappears when collapsing menus. 2011-11-15 20:19:15 +00:00
e8502b7f5f Typo fixes in descriptions. 2011-11-15 20:02:45 +00:00
4c12550fe8 Fix #29208: Text.clear() and Text.write() did not redraw text editor. 2011-11-15 19:46:56 +00:00
c7ec8a2e54 Fix for #29165 bugfix: adding nodes from shift+A menu in node editor did nothing. 2011-11-15 18:24:17 +00:00
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
f403d9a2b1 replace rna description string limits with rna define RNA_DYN_DESCR_MAX 2011-11-15 15:24:57 +00:00
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
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
205b554bef access mesh string data layer as bytes since this is low level data storage 2011-11-15 14:01:24 +00:00
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
eb1e24bbe6 One more description became easier to understand 2011-11-15 12:32:58 +00:00
735eb3774b patch [#27708] API for adding mesh properties
from Geoffrey Bantle (briggs)
2011-11-15 12:28:13 +00:00
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
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