Commit Graph

40170 Commits

Author SHA1 Message Date
Sergey Sharybin
a158cb4e69 Mango request: disable compositing on file load.
This does not make much sense and just annoys in most of cases.

---
Merging r48793 from soc-2011-tomato into trunk
2012-07-10 10:31:05 +00:00
Lukas Toenne
80867d76e5 Fix #32052, Conflicts in unique node names.
All node group operators which move nodes directly between bNodeTree->nodes lists now make sure the node names are indeed unique in their new environment (the node group tree or the parent tree).
2012-07-10 09:31:08 +00:00
Sergey Sharybin
6b75a99c01 Tomato mango request: do not start compositing on file load 2012-07-10 09:12:39 +00:00
Sergey Sharybin
717ac64cb1 Tomato: added option to clamp result of Mix RGB and Color Math nodes 2012-07-10 09:12:33 +00:00
Sergey Sharybin
63ad458dba Tomato: fix typos in mask maps used for raster cache 2012-07-10 09:12:21 +00:00
Sergey Sharybin
3b35396576 Tomato: fix wrong default value for despill balance 2012-07-10 09:12:17 +00:00
Campbell Barton
f807c2a04c rename raskter kdtree files to be less generic 2012-07-10 06:47:21 +00:00
Jeroen Bakker
e343f7f320 Inline the read Memory Buffer functions for speed optimizations. 2012-07-10 06:31:16 +00:00
Peter Larabell
bbbdcaa462 fix: inline to __inline in raskter.c for msvc 2012-07-10 05:16:43 +00:00
Peter Larabell
492d9aabe0 some code refactors in raskter.c to sync it with build where mask tiling is being developed. Also adds a bit more mask tiling code. 2012-07-10 04:51:08 +00:00
Mitchell Stokes
1f9adff26f Fix for a crash caused by ReplaceMesh changing an objects physics shape. CcdShapeConstructionInfo::UpdateMesh() would change the CcdShapeConstructionInfo's m_meshObject, but didn't change m_meshShapeMap, which means the CcdShapeConstructionInfo object's destructor would not find it's m_meshObject in the m_meshShapeMap. This leaves some nasty dangling pointers laying around which caused issues if the scene was re-run, or the scene was changed to one that also had the mesh.
Note: This fix could cause other issues with shared physics meshes. In general, we may want to re-evaluate how we handle updating potentially shared physics meshes.
2012-07-10 02:05:06 +00:00
Campbell Barton
565f10a541 center node group text button vertically 2012-07-09 23:23:47 +00:00
Campbell Barton
4563d1103d fix warnings/errors in recent raster commit. 2012-07-09 23:16:39 +00:00
Campbell Barton
0b1d5d42cf style cleanup: line length, also comment some unused code 2012-07-09 23:07:15 +00:00
Peter Larabell
689403bf57 updating raskter to support tiles compositor. this commit puts in some groundwork code to support tiles's pixel processor 2012-07-09 22:57:23 +00:00
Gaia Clary
f3fa96303b Fixed an exception during image export when a source image does not exist in the file system 2012-07-09 22:41:44 +00:00
Campbell Barton
24f672d57b fix for blender naming all new node groups "Missing Datablock" 2012-07-09 22:39:35 +00:00
Campbell Barton
df107939c9 rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation. 2012-07-09 22:16:50 +00:00
Gaia Clary
3c0579afc5 Removed unneeded variable from Image Exporter 2012-07-09 21:57:04 +00:00
Campbell Barton
954d2a9b31 style cleanup: missed previous commit 2012-07-09 20:37:09 +00:00
Bastien Montagne
7783b458ad And arabic is over 60% done too, now! :) 2012-07-09 20:02:30 +00:00
Campbell Barton
62df28a325 style cleanup: node drawing 2012-07-09 19:58:36 +00:00
Campbell Barton
e66a02e7e2 improve node text alignment with different zoom levels 2012-07-09 19:50:43 +00:00
Bastien Montagne
18f28e5408 Small cleanup... 2012-07-09 19:33:25 +00:00
Mitchell Stokes
a40c367a35 BGE: Fixing up the error message received when trying to add an object from an active layer. 2012-07-09 18:55:50 +00:00
Campbell Barton
6665cf4cde code cleanup: remove pointless casts (int -> short -> int) 2012-07-09 17:05:47 +00:00
Campbell Barton
a1d5261951 fix node drawing glitch where text alignment for output sockets would move the text X axis twice as much as it should have. 2012-07-09 16:51:08 +00:00
Campbell Barton
80fa54ab3c correction to last commit. aspect doesn't need to be calculated every time. 2012-07-09 16:26:01 +00:00
Antony Riakiotakis
4c7f7b6dbf Fix for #31962, changes image ignores correct aspect ratio. Made
unwrapper flush the correct aspect flag to mtpoly after unwrap. Faces
that have been unwrapped with correct aspect option will fix their
aspect each time a different image is assigned to them. I hope fix works
100%, I can't say that I really understood the bizarre aspect ratio
system.
2012-07-09 16:12:57 +00:00
Campbell Barton
54ed3dee68 fix for ugly pixelated drawing of node frame text. 2012-07-09 16:06:44 +00:00
Jeroen Bakker
bfe776cd1d removed depth aware defocus
add blur to radius buffer
2012-07-09 15:21:43 +00:00
Bastien Montagne
0dafa97ea3 UI translation from inside Blender UI: first part.
This commit reshapes a bit runtime button info getter, by adding a new uiButGetStrInfo() which accepts a variable number of uiStringInfo parameters, and tries to fill them with the requested strings, for the given button (label, tip, context, RNA identifier, keymap, etc.). Currently used mostly by existing ui_tooltip_create(), and new UI_OT_edittranslation_init operator.

It also adds a few getters (to get RNA i18n context, and current language iso code).

Finally, it adds to C operators needed for the py ui_translation addon:
*UI_OT_edittranslation_init, which gathers requested data and launch the py operator.
*UI_OT_reloadtranslation, which forces a full reload of the whole UI translation (including rechecking the directory containing mo files).

For the first operator to work, it also adds a new user preferences path: i18n_branches_directory, to point to the /branch part of a bf-translation checkout.
2012-07-09 14:25:35 +00:00
Campbell Barton
c185635ed0 svn merge ^/trunk/blender -r48749:48754 2012-07-09 12:57:04 +00:00
Campbell Barton
facb1512c0 fix/workaround for cycles crash packing bvh
brecht - when you get time please look into this to see if the fix is ok.
2012-07-09 12:55:16 +00:00
Sergey Sharybin
4e6a54e60b Tomato: fix for mask cache
That used to be a threading issue when two different operations
were allowed to access the same mask's cache. Now use lock in
BKE_mask_rasterize_layers so that should work fine now.
2012-07-09 11:45:07 +00:00
Sergey Sharybin
882269cb2c Fixed issue with missed cache update when disabling movie clip channels 2012-07-09 11:13:40 +00:00
Campbell Barton
98969c64ff code cleanup: move sequencer timecode into its own func. 2012-07-09 10:55:41 +00:00
Sergey Sharybin
ffd9947001 Merging r48740 through r48749 from trunk into soc-2011-tomato 2012-07-09 10:33:09 +00:00
Sergey Sharybin
0966a3b191 Fixed issues updating texture buffer used for clip editor frame display
when specific circumstances are met.

Mainly issue was caused by checking ImBuf pointers, which used to fail
when some post-processing flags are changed. This was caused by the
fact that freeing old ImBuf and allocating new one could lead to new
ImBuf have the same pointer as previous one, which confuses cache.
2012-07-09 10:26:01 +00:00
Mitchell Stokes
9d73cbf2c4 As a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" reported by Jean-Francois Gallant (pyroevil), I'm adding preliminary support to enable and disable rigid body physics on dynamic objects. This is can be done via the Edit Object Actuator or through KX_GameObject.enableRigidBody() and KX_GameObject.disableRigidBody(). Thanks to Sergej Reich for his help with the patch. 2012-07-09 04:57:21 +00:00
Mitchell Stokes
4ff0efd5a2 Fixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes (e.g., rigid bodies). The physic controller's free was only handling the case where regular triangle meshes were used. 2012-07-08 23:15:26 +00:00
Campbell Barton
75a5eab8d1 code cleanup 2012-07-08 21:37:59 +00:00
Campbell Barton
2e45266dc4 localview operator now reports when 8 views are reached (since 2.5x update was printing in console only). 2012-07-08 20:53:44 +00:00
Campbell Barton
0361909ab4 style cleanup 2012-07-08 20:36:00 +00:00
Mitchell Stokes
9af3e3bb9b Fixing a memory leak introduced by the Character Physics type patch: a new btGhostPairCallback was being created, but never freed. 2012-07-08 20:05:40 +00:00
Campbell Barton
cb72095090 svn merge ^/trunk/blender -r48729:48739 2012-07-08 18:21:51 +00:00
Campbell Barton
37e73082ab play animation now works switching between scrubbing and pingpong 2012-07-08 18:20:29 +00:00
Campbell Barton
2580575658 correct another case of nonnull (all should be correct now), and comment about color conversion. 2012-07-08 17:51:28 +00:00
Bastien Montagne
063f78041a Grmbl, dummy argparse... 2012-07-08 17:18:01 +00:00
Bastien Montagne
dc459c8fea Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
2012-07-08 17:10:10 +00:00