[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28554] trunk/blender/intern/ghost/intern: forgot to update code comments in last commit...

Damien Plisson damien.plisson at yahoo.fr
Mon May 3 19:13:12 CEST 2010


Revision: 28554
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28554
Author:   damien78
Date:     2010-05-03 19:13:12 +0200 (Mon, 03 May 2010)

Log Message:
-----------
forgot to update code comments in last commit...

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_DropTargetWin32.cpp
    trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_DropTargetWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_DropTargetWin32.cpp	2010-05-03 17:02:49 UTC (rev 28553)
+++ trunk/blender/intern/ghost/intern/GHOST_DropTargetWin32.cpp	2010-05-03 17:13:12 UTC (rev 28554)
@@ -110,7 +110,7 @@
  */
 HRESULT __stdcall GHOST_DropTargetWin32::DragEnter(IDataObject * pDataObject, DWORD grfKeyState, POINTL pt, DWORD * pdwEffect)
 {
-	// we don't know yet if we accept the drop.
+	// we accept all drop by default
 	m_window->setAcceptDragOperation(true);
 	*pdwEffect = DROPEFFECT_NONE;
 	

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2010-05-03 17:02:49 UTC (rev 28553)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2010-05-03 17:13:12 UTC (rev 28554)
@@ -167,7 +167,7 @@
 	else if ([[draggingPBoard types] containsObject:NSStringPboardType]) m_draggedObjectType = GHOST_kDragnDropTypeString;
 	else return NSDragOperationNone;
 	
-	associatedWindow->setAcceptDragOperation(TRUE); //Drag operation needs to be accepted explicitly by the event manager
+	associatedWindow->setAcceptDragOperation(TRUE); //Drag operation is accepted by default
 	systemCocoa->handleDraggingEvent(GHOST_kEventDraggingEntered, m_draggedObjectType, associatedWindow, mouseLocation.x, mouseLocation.y, nil);
 	return NSDragOperationCopy;
 }





More information about the Bf-blender-cvs mailing list