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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49189 954f8c5b-7b00-dc11-b283-0030488c597c
fix annoying bug where image open from ID template didn't open in the existing images path.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49190 954f8c5b-7b00-dc11-b283-0030488c597c
move ED_image functions into their own file.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49192 954f8c5b-7b00-dc11-b283-0030488c597c
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49193 954f8c5b-7b00-dc11-b283-0030488c597c
Added a missing forward declaration, causing compiler error in r49192.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49194 954f8c5b-7b00-dc11-b283-0030488c597c
wip mask/image commit, mostly internal function & added some TODO's


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49195 954f8c5b-7b00-dc11-b283-0030488c597c
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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49196 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: comment deprecated defines


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49197 954f8c5b-7b00-dc11-b283-0030488c597c
image space now has a mode for view/paint/mask editing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49198 954f8c5b-7b00-dc11-b283-0030488c597c
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49199 954f8c5b-7b00-dc11-b283-0030488c597c
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49200 954f8c5b-7b00-dc11-b283-0030488c597c
mask UI for space image


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49201 954f8c5b-7b00-dc11-b283-0030488c597c
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!).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49202 954f8c5b-7b00-dc11-b283-0030488c597c
split out mask UI into their own classes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49204 954f8c5b-7b00-dc11-b283-0030488c597c
add mask buttons into the image space


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49206 954f8c5b-7b00-dc11-b283-0030488c597c
mask now draws in the image view, misc minor edits.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49207 954f8c5b-7b00-dc11-b283-0030488c597c
edit fix for [#32177] - drawing text isnt really needed for selections.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49208 954f8c5b-7b00-dc11-b283-0030488c597c
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.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49210 954f8c5b-7b00-dc11-b283-0030488c597c
Proxies building progress bar used to be displayed wrong in cases
when start scene frame is not 1.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49211 954f8c5b-7b00-dc11-b283-0030488c597c
fix some crashes with mask/image transfor, a few more areas working now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49213 954f8c5b-7b00-dc11-b283-0030488c597c