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
Sergey Sharybin
d2a77c07e0
Fix #32004 : Up/down arrow keys can move index out of actual range of template_list
...
Fixed by clamping current index value to 0..list_size-1 range in list event
handling function. This shouldn't give any regressions since this clamping\
happens only after template was already displayed so items counter should be
correct here.
It is still possible to set index to meaningless value by directly changing
the index value via python, but that's not in the scope of interface engine
and not currently considered a bug.
2012-07-25 16:53:56 +00:00
Campbell Barton
41ee294618
don't pass the same value to axis_angle_to_quat() for axis & quat.
...
-/-This line, and those below, will be ignored--
M mathutils_Quaternion.c
2012-07-25 16:46:46 +00:00
Sergey Sharybin
8197ae0054
Fix regression introduced in svn rev49122
...
Would rather have mathematical functions consistent from using
the same vector for input and output values point of view then
introducing questionable optimizations.
2012-07-25 16:37:24 +00:00
Campbell Barton
7fba5779ed
match function names for clip/image spaces
2012-07-25 16:30:53 +00:00
Campbell Barton
f83ea3fa85
fix some crashes with mask/image transfor, a few more areas working now.
2012-07-25 16:03:08 +00:00
Sergey Sharybin
c730125f3e
Proxies building progress bar used to be displayed wrong in cases
...
when start scene frame is not 1.
2012-07-25 15:05:50 +00:00
Campbell Barton
071a1034d6
add mask keymap to image window.
...
debug prints for events when --debug-events is used to help track down why a key is/isnt used.
2012-07-25 14:46:38 +00:00
Campbell Barton
d417cdc9f4
edit fix for [ #32177 ] - drawing text isnt really needed for selections.
2012-07-25 13:55:16 +00:00
Campbell Barton
1091030c11
mask now draws in the image view, misc minor edits.
2012-07-25 13:44:59 +00:00
Campbell Barton
eed0fda33c
add mask buttons into the image space
2012-07-25 13:44:07 +00:00
Campbell Barton
c01a561ca7
split out mask UI into their own classes.
2012-07-25 13:09:12 +00:00
Bastien Montagne
c017f91089
Fix [ #32177 ] 'Display Pivot' segfaults blender (Rigid Body Constraint + 3dview)
...
draw_rigid_body_pivot() didn't check it could actualy use the given ob_wire_col...
Also silenced a compiler warning, and removed (replaced) a potential dengerous pointer cast (char *[4] -> int* is not safe on 64bit machines!).
2012-07-25 12:55:55 +00:00
Campbell Barton
62187c386e
mask UI for space image
2012-07-25 12:15:22 +00:00
Lukas Toenne
7eaef1068d
Fix #31419 , Changing Boid-Properties impossible with pinned Particle Menu.
...
Boid operators now retrieve the particle settings from the context directly, instead of always using the particle system (which is only needed to get to the settings anyway). When particle settings are pinned there is no particle system in the context, causing the operators to fail.
2012-07-25 12:07:19 +00:00
Lukas Toenne
1bb491348b
Fix #31339 , Modifying mesh destroys particle system.
...
The particle system modifier has to ensure tesselation before testing for topology changes. It compares the number of vertices, edges and tesselation faces to the previously stored values.
Note that this test only detects a subset of actual topology changes (where the number of elements differs), but this is a known limitation we have to live with for now.
2012-07-25 11:26:10 +00:00
Campbell Barton
e771e07fe8
image space now has a mode for view/paint/mask editing.
2012-07-25 11:25:10 +00:00
Campbell Barton
a54fc5a99d
code cleanup: comment deprecated defines
2012-07-25 10:55:45 +00:00
Jeroen Bakker
8df10a4018
Defocus node.
...
added some maxblur optimizations. Per tile the max blur is calcualted,
will save some unneeded CPU/GPU loops
GPU: 1:09 => 0:21
CPU: 1:50 => 0:35
2012-07-25 10:46:19 +00:00
Campbell Barton
c3a8894f57
wip mask/image commit, mostly internal function & added some TODO's
2012-07-25 10:39:54 +00:00
Lukas Toenne
93f359604c
Added a missing forward declaration, causing compiler error in r49192.
2012-07-25 10:37:31 +00:00
Lukas Toenne
237b8e496a
Fix #32178 , Adding "File Output" node crashes when a video output type is selected.
...
The image format for the node and sockets were not properly initialized. The file output node only supports image types (not movies), so it needs to check for proper format type after copying from the render settings.
2012-07-25 10:25:53 +00:00
Campbell Barton
f2d9e2410c
move ED_image functions into their own file.
2012-07-25 10:15:24 +00:00
Campbell Barton
3af938918a
fix annoying bug where image open from ID template didn't open in the existing images path.
2012-07-25 09:04:59 +00:00
Mitchell Stokes
8f1666ee56
BGE: A better fix for using the Action Actuator with the Actuator Sensor. This one still allows frame properties to be updated after receiving a negative pulse. This also fixes bug [ #32179 ] "Action Actuator in Loop End stops updating the Frame Property after no longer receives positive signal" reported by Dalai.
2012-07-25 04:29:48 +00:00
Campbell Barton
99947eb744
change behavior of ediutmesh separate not to cleanup geometry - its not really needed and caused a bug with some of my recent edits.
...
If its important it could be added back but dont think its worthwhile.
2012-07-24 21:07:29 +00:00
Campbell Barton
d9dbea1836
move mask and draw settings into its own struct to be shared between spaces.
2012-07-24 20:33:55 +00:00
Campbell Barton
8509e94d3a
initial commit for supporting masks in the image view, currently active seq strip is used as the mask source.
...
also unify mask drawing code for clip/sequencer/image
2012-07-24 19:29:24 +00:00
Sergey Sharybin
72a106d56f
Fix #32165 : context_set_value didn't make an undo push when changing scene settings
...
This lead to such issues as changing mesh selection mode wasn't doing undo push
when it need to.
2012-07-24 15:51:26 +00:00
Sergey Sharybin
3337887fd1
Debug option for guarded allocation: store name of original datablock
...
when using MEM_dupallocN. This helps figuring out issues with non-freed
dup_alloc blocks,
Simply enable DEBUG_MEMDUPLINAME in mallocn.c file.
2012-07-24 15:17:03 +00:00
Campbell Barton
679847bd99
add prints for texture loading (we're running into texture limit a lot so its handy to see whats actually loading from the blend files)
2012-07-24 13:01:55 +00:00
Campbell Barton
c67e910df6
fix/workaround for glitch with node editing active texture bug - where a node texture in a group could get stuck and the buttons UI wouldnt update to other active nodes.
...
Files saved with this error will still give problems, toggling group edit will fix.
2012-07-24 12:35:41 +00:00
Lukas Toenne
dee1d86e65
Fix for RNA struct registration: the bpy_class_validate function would only check the immediate functions/properties of the pointer struct type, but not potential base structs. Now it first validates the base struct recursively before the actual properties of the registered class.
...
Does not have any effect for current registerable types (Operator, Menu, Panel, etc.), since none of those actually have a base struct, but will be required for future types with an actual hierarchy (custom nodes).
2012-07-24 12:00:02 +00:00
Campbell Barton
23c4026c3f
warn when getting a context member fails because of type mismatch
2012-07-24 10:28:29 +00:00
Campbell Barton
7949f0057f
generalize mask poll functions and sequencer mask code.
2012-07-24 09:53:29 +00:00
Sergey Sharybin
69f7e96c5c
Hopefully Blender compiles again with MSVC
...
Seems to be a conflict between different areas defining
round() function.
2012-07-24 09:08:27 +00:00
Sergey Sharybin
d1db16b5d3
Fix corrupted frames producing by fog glare node
...
Seems to be simple non-initialized buffer used in math, but additional
check would be welcome here.
At least now result doesn't seems to be corrupted and seems to behaving
the same way as non-tile compositor.
2012-07-24 09:00:58 +00:00
Dalai Felinto
752e14ce15
no need for renaming actions that are not linked anywhere
...
talked with Joshua Leung (aligorith) and he agreed on that
2012-07-24 07:08:33 +00:00
Campbell Barton
603842fad4
use 2d vectors for mask point access.
2012-07-23 22:39:26 +00:00
Campbell Barton
2029b0205a
mask layer rna api: add exception when removing incorrect masklayer from mask, add mask.layers.clear()
2012-07-23 21:47:11 +00:00
Mitchell Stokes
37246b3ca1
BGE: Bringing over the dynamic lamp properties fixes from Cucumber (thanks to Daniel Stokes). This means the following KX_LightObject properties now have support when using GLSL materials (in addition to those already supported):
...
* distance
* lin_attenuation
* quad_attenuation
* spotsize
* spotblend
2012-07-23 20:24:35 +00:00
Bastien Montagne
541e46f7ad
Grrr... Minkowski... :p
2012-07-23 19:08:02 +00:00