OSX: make sure closing the mainwindow forewards to the quitdialog - todo: check if m_window now public is a problem

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60409 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/Scons/OMP: 1. Allow for compile with gnu gcc 4.8.1, 2. fix compiling with sdk > 10.7 by using libgomp dynamic, which includes proper errorhandling vs. static. Before xtra linking to system libstdc++.6.dylib was needed, which then caused incompatibilities

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60410 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/Scons: forgottten change for last commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60411 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36831] Grease Pencil dont create a drawing in current frame less than 1

Only forbid negframes when user has not allowed them in whole Blender (userpref, editing). Else, it's more than annoying to not be able to draw negframed gpencil.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60412 954f8c5b-7b00-dc11-b283-0030488c597c
Properties Editor / UI:
* Fix a py error in the "Image Sampling" panel, tex.image can be NULL. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60413 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36845] New generated blank image doesn't update preview (properties editor)

* IMAGE_OT_NEW did not had a notifier yet for some weird reason. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60414 954f8c5b-7b00-dc11-b283-0030488c597c
minor edit on r60413, convert to a bool.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60415 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36841] UV-Maps cannot be renamed in EditMode

Own error in r60260, in edit mode we need to use bmesh's cdata!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60416 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: cleanup for 60409, let m_window protected and use rather a public function for getting it public

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60417 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: more descriptive  comment

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60418 954f8c5b-7b00-dc11-b283-0030488c597c
name cocoa functions in keeping with convention with similar functions for other ghost classes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60419 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash

Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60420 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36847] If Force Field in Ridgid Body group, crash at first frame of animation on playback

Not all objects in RB group actually have a "rigid body object", needs to be checked.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60421 954f8c5b-7b00-dc11-b283-0030488c597c
Fix broken example, reported by Codemanx on IRC, thanks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60424 954f8c5b-7b00-dc11-b283-0030488c597c
Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60425 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36859] Grease Pencil - Frames.new() doesn't create frame if frame_number <= 0

Related to [#36831] (r60412), RNA was still forbidding negative frame numbers...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60426 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36863] OSL clamp, min and max functions have wrong signature when arguments are integers
* This was fixed in OSL 1.3.2, but we used an outdated stdosl.h.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60427 954f8c5b-7b00-dc11-b283-0030488c597c
lots of operator descriptions were incorrectly copy/pasted.

update some descriptions, others were removed and operators tagged as internal.

add a script to detect duplicate operator descriptions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60428 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36861] In face select masking circle select selects all when out of focus.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60429 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36842] OpenGL Animation Playblast renders 1 too many frames


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