fix for un-handled exception when entering in multiple values to a button, floats were not correctly checked for.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47642 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: block comments


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47644 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet all warnings about double promotion (either by changing the type or explicitly casting). 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47645 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: removed/renamed shadow & duplicate variable definitions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47647 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: assignment & indentation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47650 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: reduce float/double promotion


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47653 954f8c5b-7b00-dc11-b283-0030488c597c
OBJECT_OT_drop_named_material -- missing notifier for material panel UI update


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47656 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31747, broken image sequence loading after r47432.

The image file name function was updating the iuser->framenr using a supposed cfra parameter. However, the actual cfra is unknown when loading movies or sequences, so the iuser->framenr value itself was passed in its place, leading to incremental addition of the iuser frame offset. Removed the cfra parameter altogether from the image path function. This should instead be done separately if necessary, it's not an inherent part of constructing the image file name.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47657 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for compositor image node draw function. The image user pointer needs to be constructed explicitly from the node storage pointer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47658 954f8c5b-7b00-dc11-b283-0030488c597c
Missed NULL-pointer checks in poll some functions

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47659 954f8c5b-7b00-dc11-b283-0030488c597c
fix for un-initialized memory use for modal inset/bevel.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47660 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for Tile group nodes with internally unconnected outputs, this was crashing due to missing constant value operations for such outputs. The SocketProxyNode now checks connection of the input socket on conversion, so this also simplifies usage of proxy nodes quite a bit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47662 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: rename flag --> dflag (draw flag), since this is overly generic name and was passed about to many functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47664 954f8c5b-7b00-dc11-b283-0030488c597c
mango request
- optionally display the histogram as lines (not filled areas).
- expand the enum for faster access.
- keep the sample line displayed after doing the line sample (running again clears).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47667 954f8c5b-7b00-dc11-b283-0030488c597c
Applied and completed a compositor patch by Brecht to use signalling and waiting in scheduling and worker threads instead of continuous loops with sleep times. This should help reduce unnecessary wait times in Tile.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47671 954f8c5b-7b00-dc11-b283-0030488c597c
Synchronize changes with tomato branch



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47672 954f8c5b-7b00-dc11-b283-0030488c597c
mango request - add alpha to histogram & sample line.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47674 954f8c5b-7b00-dc11-b283-0030488c597c
Woops, some diff file was accidentally commited.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47676 954f8c5b-7b00-dc11-b283-0030488c597c
change RNA_struct_find_function to accept a type rather then a PointerRNA, add a check duplicate functions are not defined.


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