Commit Graph

40266 Commits

Author SHA1 Message Date
Sergey Sharybin
f230a94d49 Fix crash in drawing socket names when zooming out a lot
--
svn merge -r49291:49292 ^/branches/soc-2011-tomato
2012-07-27 13:49:55 +00:00
Sergey Sharybin
abeeebd089 Display solver keyframes in cache line
--
svn merge -r49293:49294 ^/branches/soc-2011-tomato
2012-07-27 13:49:26 +00:00
Campbell Barton
d623454d2e add missing image/mask restore call when undo'ing 2012-07-27 13:24:08 +00:00
Campbell Barton
bef3be5326 code cleanup: mask keys now dont use space-clip keys - could give troubles later on. 2012-07-27 11:56:36 +00:00
Sergey Sharybin
18e874798d Track input node: more control on over output value
Now supports output value of:

- Absolute marker position
- Marker position relative to the very first marker
- Marker position relative to given scene frame
2012-07-27 11:07:12 +00:00
Sergey Sharybin
d0b387a0df Track input node: move all initializaiton to initExecution function 2012-07-27 11:07:09 +00:00
Campbell Barton
9a2d862123 clamp mask resolution, the occasional crash would happen failing to alloc when adding feather points very close together. 2012-07-27 11:05:08 +00:00
Campbell Barton
915fdd67df up/down arrows were not switching mask keyframes in the image space 2012-07-27 10:55:24 +00:00
Jason Wilkins
6926e924c0 GetStdHandle may return NULL, which isn't really an error, or INVALID_HANDLE_VALUE which does indicate an error, but both should be checked. 2012-07-27 10:48:33 +00:00
Campbell Barton
b8d96bc011 mask motion blur shutter option 2012-07-27 10:20:36 +00:00
Sergey Sharybin
52aa7a4a4c Added utility function to return marker's subframe position
Used in mask parenting stuff.
2012-07-27 10:12:58 +00:00
Campbell Barton
b10a35a9a9 motion blur for mask node:
TODO
- add shutter speed option
- add blur option
2012-07-27 09:32:47 +00:00
Sergey Sharybin
93c29aaeb1 Fix #32187: OpenGL preview does not take into account overwrite option 2012-07-27 08:58:34 +00:00
Campbell Barton
1543a713a8 copying a mask now copies its animation data too 2012-07-27 08:36:48 +00:00
Campbell Barton
c42b23030b copy support for mask datablocks 2012-07-27 08:18:11 +00:00
Campbell Barton
61469d2e3e code cleanup: remove unneeded 'struct' qualifiers 2012-07-26 22:47:05 +00:00
Campbell Barton
ff078d309e change clip utility function arguments to take space data and region rather then the context.
this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.
2012-07-26 22:41:40 +00:00
Campbell Barton
ee572a9642 code cleanup: minor edits for mask/transform 2012-07-26 21:22:42 +00:00
Sergey Sharybin
85571c339d Fix unworkable track position node 2012-07-26 18:05:05 +00:00
Campbell Barton
4c2de5e0c7 fix some types and incorrect info 2012-07-26 17:41:09 +00:00
Campbell Barton
7f1a76887f workaround for depsgraph update issue with booleans. 2012-07-26 17:14:23 +00:00
Jason Wilkins
6b3b7465b6 On windows with --debug flag, change "Press enter key to exit..." to "Press any key to exit . . .". This is implemented by the new function wait_for_console_key. 2012-07-26 16:56:09 +00:00
Campbell Barton
0c1ea14656 fix for crash when displaying the tooltip for a non python menu (was introduced with recent translation/ui edits) 2012-07-26 16:55:34 +00:00
Sergey Sharybin
4bfef9a443 Display animation data from lamps' node trees in animation editor windows 2012-07-26 16:11:59 +00:00
Sergey Sharybin
fb520785b6 Run versioning stuff for animation summary color again
Seems it was messed up at some point or changes weren't applied
synchronized, which lead to lots of files with wrong color used.
2012-07-26 15:50:45 +00:00
Campbell Barton
0df907c4e2 fix for crash when checking for locked action. 2012-07-26 13:40:48 +00:00
Campbell Barton
733edf8628 option to use manual size input for scene 2012-07-26 13:29:38 +00:00
Sergey Sharybin
2b8fdedaf3 Fix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location
Misusage of X/Y coords, ancient one!
2012-07-26 12:04:11 +00:00
Campbell Barton
f39a21c36f add ED_space_image_get_size_fl, ED_space_clip_get_size_fl 2012-07-26 11:47:47 +00:00
Lukas Toenne
fec872ef9c Added a particle index output to the Particle Info Cycles node. This is required to get consistent ID numbers for particles. The Object ID is not usable since it's a user defined value of the instanced object, which does not vary per instance. Also the random value from the object info node is not consistent over time, since it only depends on the index in the dupli list (so each emitted or dying particle shifts the value).
The particle index is always the same for a specific particle. Randomized values can be generated from this with the use of a noise texture.
2012-07-26 11:40:58 +00:00
Jens Verwiebe
53a861b6f9 OSX/scons: fix compiling on the new OSX 10.8 (Mountain Lion) with delivered Xcode 4.4 2012-07-26 11:08:56 +00:00
Sergey Sharybin
2157031dc0 Fix #31550: Active Armature bone hardly distinguishable from other selected bones
Made active bone color a bit brighter and made it a userpref option.
2012-07-26 10:53:59 +00:00
Campbell Barton
ffe92d0e43 mask/image: rotate about 2d cursor now works. 2012-07-26 10:52:59 +00:00
Sergey Sharybin
25469dfb6d Fix typo and change shortcuts to Q and E. Works better when emulate numpad is used. 2012-07-26 10:06:08 +00:00
Campbell Barton
77e7ca6aa8 mask/image editor now works for border select and lasso 2012-07-26 09:54:52 +00:00
Sergey Sharybin
c8ce3b76ff Shortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B. 2012-07-26 09:50:27 +00:00
Mitchell Stokes
188da23192 Fix for [#32185] "Incorrect physics for LibLoaded dupligroups" reported by Daniel Stokes (Kupoman). I'm not sure if this is the "correct" fix, but it at least allows all physics objects to be evaluated at least once by the new environment. This allows the new environment to sync up physics shapes for static objects. 2012-07-26 09:35:52 +00:00
Sergey Sharybin
6b7d013d8d Fix #32123: Blender crashes when zoomed in and rotating around 3d cursor
Fix deadlock in drawArc caused by precision error. Helper widget could
look wrong, that's because of not enough precision of floats used by
Blender.

This is known issue of Blender and wouldn't consider a bug.
2012-07-26 09:29:37 +00:00
Campbell Barton
ab0fa803cd image histogram/sample line couldn't show HDR colors. now allow zooming the view to see colors up to 10.0 2012-07-26 09:06:23 +00:00
Sergey Sharybin
9c4380383c Fix #32138: material trancpareny setting 2012-07-26 08:57:41 +00:00
Sergey Sharybin
5eea2832e9 Fix #32139: Making vertex parent hides faces
Call normals update and re-tesselate the BMesh before generating
derived mesh for vertex parent. this is needed for proper display
of mesh in edit mode.

Tried to use EDBM_update_generic, but it gave artifacts due to it
doesn't update normals. usually it's not a problem, because it's used
at the end of operator and all needed data is handles by depsgraph.
It doesn't work for vertex parent because derived mesh is being
created here outside of generic object update, so one extra manual
step seems to be needed here.
2012-07-26 08:41:55 +00:00
Sv. Lockal
8a6a3e79de Fix [#31609] save .EXR defaults to uncompressed, causes segfault.
IMB_filterN now generates 32-bit int representation of float images for mipmap generation if such representation does not exist.
2012-07-25 23:28:17 +00:00
Campbell Barton
be23539a94 code cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits 2012-07-25 22:37:52 +00:00
Campbell Barton
2b133b14ab mask/image viewer now works with non 1:1 image aspect, editing masks in the image viewer should be generally usable now though still some TODO's left. 2012-07-25 20:39:49 +00:00
Sergey Sharybin
8ad3e73965 Make Cycles compatible with older boost versions.
Patch by IRIE Shinsuke, thanks!
2012-07-25 20:25:47 +00:00
Sergey Sharybin
06a9482986 Select Linked no works from Datablocks outliner view as well 2012-07-25 20:17:38 +00:00
Sergey Sharybin
4ca9275b44 Implement operator to select linked data from outliner
Supports selecting using object data, material and library.

Would be nice to hide this menu item from menus appearing for
datablocks which does not support such a selection, but that
could be done separately.
2012-07-25 19:45:34 +00:00
Sergey Sharybin
b66f541b42 Separate Select Linked operator into smaller function which could be reused.
Should be no functional changes.
2012-07-25 19:45:31 +00:00
Campbell Barton
927af4ccc9 mask transform now works in the image space 2012-07-25 19:36:59 +00:00
Dalai Felinto
a9614e732c updating blenderplayer stubs after spaceimage set mask function 2012-07-25 18:42:52 +00:00