9 years agoonly show normal snap option in object mode
Campbell Barton [Sat, 21 Nov 2009 12:44:09 +0000 (12:44 +0000)]
only show normal snap option in object mode

9 years agoid properties for editbones and pose channels were not being freed in a number of...
Campbell Barton [Sat, 21 Nov 2009 11:26:09 +0000 (11:26 +0000)]
id properties for editbones and pose channels were not being freed in a number of cases,
added free_pose_channel(pchan) and use this in all places that free pose bones

9 years agopep8 cleanup & default select axis to negative (artist requst, make sense if you...
Campbell Barton [Sat, 21 Nov 2009 00:05:43 +0000 (00:05 +0000)]
pep8 cleanup & default select axis to negative (artist requst, make sense if you model the RHS and spend most time looping at the models front)

9 years ago* Made 'set active' vgroup menu fold out, rather than pop up new
Matt Ebb [Fri, 20 Nov 2009 22:53:39 +0000 (22:53 +0000)]
* Made 'set active' vgroup menu fold out, rather than pop up new

9 years agoNodes Editor: Restored 'Show Cyclic Dependencies' Operator (CKEY)
Joshua Leung [Fri, 20 Nov 2009 21:17:17 +0000 (21:17 +0000)]
Nodes Editor: Restored 'Show Cyclic Dependencies' Operator (CKEY)

9 years agoNode Editor - More Cleanups (Reshuffling):
Joshua Leung [Fri, 20 Nov 2009 21:04:41 +0000 (21:04 +0000)]
Node Editor - More Cleanups (Reshuffling):

- removing duplicate chunks of code -> hide unused sockets now works
- moving some functions to the files that they get called from -> view all/home
- made duplicate a macro operator like the other places that work like this, eliminating the unnecessary transform-related property there still
- removed a few chunks of unused code

9 years agoleft in print
Campbell Barton [Fri, 20 Nov 2009 21:00:09 +0000 (21:00 +0000)]
left in print

9 years agouse a metaclass to have operator attributes register and display in the order defined.
Campbell Barton [Fri, 20 Nov 2009 20:58:46 +0000 (20:58 +0000)]
use a metaclass to have operator attributes register and display in the order defined.

9 years agouse negative boolean option no_zbuf -> use_zbuf
Campbell Barton [Fri, 20 Nov 2009 20:53:23 +0000 (20:53 +0000)]
use negative boolean option no_zbuf -> use_zbuf

9 years ago* More small modifier improvements by nudelZ.
Thomas Dinges [Fri, 20 Nov 2009 20:40:29 +0000 (20:40 +0000)]
* More small modifier improvements by nudelZ.
* Code cleanup.

9 years agoRNA doc update. the "no_zbuf" flag in Defocus node was incorrectly doc'ed as "Use...
Roland Hess [Fri, 20 Nov 2009 19:18:48 +0000 (19:18 +0000)]
RNA doc update. the "no_zbuf" flag in Defocus node was incorrectly doc'ed as "Use Zbuffer" when it really should be "Ignore Zbuffer".

9 years agoImprovements to tab -> spaces conversions and use in the Text Editor:
Willian Padovani Germano [Fri, 20 Nov 2009 19:15:57 +0000 (19:15 +0000)]
Improvements to tab -> spaces conversions and use in the Text Editor:
- A single undo removes all 4 inserted spaces at once.
- Indent and unindent now use spaces.

The number of spaces is still hardcoded as 4. PS: Campbell sharing a couple of the minor todo's with me, thanks :).

9 years agoModifier Layout improvements (single column and normal) by nudelZ.
Thomas Dinges [Fri, 20 Nov 2009 18:01:39 +0000 (18:01 +0000)]
Modifier Layout improvements (single column and normal) by nudelZ.

9 years ago- dont define properties in the global script namespace
Campbell Barton [Fri, 20 Nov 2009 16:07:10 +0000 (16:07 +0000)]
- dont define properties in the global script namespace
- set __file__ when running scripts (filename or textblock name)

9 years agoFix for unitialized variable and resulting render artifacts
Brecht Van Lommel [Fri, 20 Nov 2009 15:07:16 +0000 (15:07 +0000)]
Fix for unitialized variable and resulting render artifacts
when setting project x/y/z to none with a procedural texture.

9 years agooption to have scripts run on startup for per blendfile UI's
Campbell Barton [Fri, 20 Nov 2009 15:01:09 +0000 (15:01 +0000)]
option to have scripts run on startup for per blendfile UI's

9 years agoSmall update to render properties.
William Reynish [Fri, 20 Nov 2009 12:26:41 +0000 (12:26 +0000)]
Small update to render properties.
-Single column UI for Encoding panel
-Removed bad align in performance panel
-Made Quicktime's Quality percentage a slider

9 years agoArmature Editing Fixes:
Joshua Leung [Fri, 20 Nov 2009 11:49:47 +0000 (11:49 +0000)]
Armature Editing Fixes:
* Restored WKEY Specials Menu. Had a few problems initially with the name of the menu being 1 character too long; this needs more comprehensive API warnings

* Made Extrude Forked work again as a macro operator. Added another extrude macro for this, but ideally would have worked with a single macro + setting properties for that macro (can't do so due to bug 19733)

9 years agoQuicktime-qtkit : encoding settings now in blender ui (encoding panel)
Damien Plisson [Fri, 20 Nov 2009 10:37:50 +0000 (10:37 +0000)]
Quicktime-qtkit : encoding settings now in blender ui (encoding panel)

- added "QuicktimeCodecSettings" struct in DNA
- old "QuicktimeCodecData" opaque struct is  nowdeprecated (read only use when QuicktimeCodecSettings is not set)
- fixed small bug when importing deep color movies

Note that you may need Final Cut Pro installed to be able to use the DVCPRO HD codecs

9 years agoAttempted fix for #19870 - Crash on Shift Numpad 1 based on the backtrace http:/...
Joshua Leung [Fri, 20 Nov 2009 10:34:31 +0000 (10:34 +0000)]
Attempted fix for #19870 - Crash on Shift Numpad 1 based on the backtrace

9 years agoBugfix #19923: UVImage editor gets stuck in move/zoom mode
Joshua Leung [Fri, 20 Nov 2009 10:21:31 +0000 (10:21 +0000)]
Bugfix #19923: UVImage editor gets stuck in move/zoom mode

9 years ago- dir() now works for collection functions
Campbell Barton [Fri, 20 Nov 2009 10:00:54 +0000 (10:00 +0000)]
- dir() now works for collection functions
- use exceptions rather then return values
- scene.add_object/remove_object -->

9 years agoMore Node Editor Fixups:
Joshua Leung [Fri, 20 Nov 2009 06:31:49 +0000 (06:31 +0000)]
More Node Editor Fixups:
* Restored Mute and Hide Operators, M and H keys respectively
* Restored Make Links Operator (F). However, I can't figure out how to set the sockets so that this can be used
* Made Alt-RMB the new hotkey for breaking links by dragging, since Alt-LMB was taken for panning already

9 years ago* Added a quick little weight group 'Levels' operator, can interactively tweak overal...
Matt Ebb [Fri, 20 Nov 2009 05:09:57 +0000 (05:09 +0000)]
* Added a quick little weight group 'Levels' operator, can interactively tweak overall weight value offset and gain in weight paint mode.

9 years agoNode Editor: Various usability and code tidyups
Joshua Leung [Fri, 20 Nov 2009 04:19:57 +0000 (04:19 +0000)]
Node Editor: Various usability and code tidyups
* Fixed a nasty bug which meant that it was impossible to set an active node. Was caused by ntreeCopyTree() getting called when compo updates were done and clearing the active flags. The active flag clearing is only really needed for the "internal_select" case which is only used for duplicating selected nodes (from Shift-D duplicate).

* Recoded click-selection code. Was a mess of old code, bad exceptions from the old code half ported, duplicate operators, unnecessary flags/modes.

* Fixed bug #19927: compositing node groups can't be access via "tab" or ungrouped via "alt+g". Was probably related to the active group not being able to be set.

* Made resizing nodes work again. Again, this was due to the active node bug.

* Made adding a new group with Ctrl-G correctly update the views

9 years agoSimpler default smooth brush curve preset - less points, easier to tweak
Matt Ebb [Fri, 20 Nov 2009 04:12:52 +0000 (04:12 +0000)]
Simpler default smooth brush curve preset - less points, easier to tweak

9 years ago* Removed tablet pressure sensitive number field widget scrubbing, wasn't that useful...
Matt Ebb [Fri, 20 Nov 2009 01:39:27 +0000 (01:39 +0000)]
* Removed tablet pressure sensitive number field widget scrubbing, wasn't that useful and I suspect it was the cause of a few bugs

* Added tablet pressure support (size/strength) for weight paint and vertex paint

* Added tablet eraser support for weight paint and vertex paint (inverts the effect of the current tool)

* Removed the old 'soft' option, now weight paint and vertex paint use the influence curve

* Made the default brush use a smooth influence curve, rather than sharp

9 years agopep8 compliance, also removed use of exec() for netrender module importing
Campbell Barton [Thu, 19 Nov 2009 23:59:37 +0000 (23:59 +0000)]
pep8 compliance, also removed use of exec() for netrender module importing

9 years agoVertex Groups Operators:
Joshua Leung [Thu, 19 Nov 2009 23:39:19 +0000 (23:39 +0000)]
Vertex Groups Operators:
* Added Ctrl-G hotkey back for displaying a menu showing the available Vertex Group operators

* Added descriptions for a few Vertex Group operators. The difference between "normalize" and "clean" isn't that obvious from just reading the code, so perhaps some attention to this is needed.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Thu, 19 Nov 2009 20:58:09 +0000 (20:58 +0000)]
MSVC 9 projectfiles
* re-enabled collada now with hopefully correct debug libs
* python API IDProps added

9 years agoSupport for grab cursor in macro system (and vice versa).
Martin Poirier [Thu, 19 Nov 2009 19:27:10 +0000 (19:27 +0000)]
Support for grab cursor in macro system (and vice versa).

This may result in cursor being grabbed twice (though we don't have any macro that can do this at the moment). If this is a problem, a check can be added.

9 years agomissing check for the active object
Campbell Barton [Thu, 19 Nov 2009 18:48:31 +0000 (18:48 +0000)]
missing check for the active object

9 years ago- StructRNA's __dir__ was missing members from its classes __dict__
Campbell Barton [Thu, 19 Nov 2009 18:22:21 +0000 (18:22 +0000)]
- StructRNA's __dir__ was missing members from its classes __dict__
- property editor can now set button min/max values and edit the tooltip
- custom props tooltips were not displayed
- cleanup the property UI
- remove hacks that were used for editing (edit is now a popup operator)
- object.children was broken

9 years agooperators were copying the properties from the rna operator into the class instance.
Campbell Barton [Thu, 19 Nov 2009 17:12:08 +0000 (17:12 +0000)]
operators were copying the properties from the rna operator into the class instance.
however this meant the invoke function could not modify properties for exec to use (unless it called exec directly after)
since the popup for eg would re-instance the python class each time.

now use the operator properties directly through rna without an automatic copy.

now an operator attribute is accessed like this...
self.path -->

9 years agoidprop.get(key, default=None)
Campbell Barton [Thu, 19 Nov 2009 17:04:28 +0000 (17:04 +0000)]
idprop.get(key, default=None)
matching pythons dict.get()

removed checks for a failed PyObject_New(), if python cant make a new object your probably going to crash anyway.

9 years agooperator properties were not the correct type
Campbell Barton [Thu, 19 Nov 2009 16:15:22 +0000 (16:15 +0000)]
operator properties were not the correct type

9 years agoIndentation fix. :/
Thomas Dinges [Thu, 19 Nov 2009 14:37:07 +0000 (14:37 +0000)]
Indentation fix. :/

9 years ago* Added Shift+Space hotkey for "Area Full Screen" as it is in 2.49.
Thomas Dinges [Thu, 19 Nov 2009 14:33:28 +0000 (14:33 +0000)]
* Added Shift+Space hotkey for "Area Full Screen" as it is in 2.49.
Request by Pablo (venomgfx). :)

9 years agoadded 'hidden' option for python defined rna props, means py operators can use hidden...
Campbell Barton [Thu, 19 Nov 2009 14:32:12 +0000 (14:32 +0000)]
added 'hidden' option for python defined rna props, means py operators can use hidden properties so the popup wont show
improved error message when bad args are given to propertyRNA funcs

9 years agoRenamed "col2" to "wide_ui" which is more meaningful.
Thomas Dinges [Thu, 19 Nov 2009 13:26:51 +0000 (13:26 +0000)]
Renamed "col2" to "wide_ui" which is more meaningful.

9 years ago* Small Layout fixes.
Thomas Dinges [Thu, 19 Nov 2009 13:22:10 +0000 (13:22 +0000)]
* Small Layout fixes.
* Single Layout for Softbody Panels.

9 years agoSingle Column layout for Fields, Smoke, Cloth and Fluids.
Thomas Dinges [Thu, 19 Nov 2009 12:58:19 +0000 (12:58 +0000)]
Single Column layout for Fields, Smoke, Cloth and Fluids.
Patch by nudelZ.

9 years agocorrecting ID property list was incorrect on porting
Campbell Barton [Thu, 19 Nov 2009 11:56:13 +0000 (11:56 +0000)]
correcting ID property list was incorrect on porting

9 years ago- remove CPPFLAG XP_UNIX from CMake, Scons and Irix make, checked our own code and...
Campbell Barton [Thu, 19 Nov 2009 11:49:42 +0000 (11:49 +0000)]
- remove CPPFLAG XP_UNIX from CMake, Scons and Irix make, checked our own code and /usr/include, its only used in our netscape plugin.
- CMake on unix default OpenMP to enabled.
- Scons on linux default OpenMP to enabled.
- copying python is slow, for scons only copy if the directory has not been created.

9 years agomissed render border in modal keymap
Campbell Barton [Thu, 19 Nov 2009 10:48:59 +0000 (10:48 +0000)]
missed render border in modal keymap

9 years agoRevert toolbar shading commit.
William Reynish [Thu, 19 Nov 2009 09:57:04 +0000 (09:57 +0000)]
Revert toolbar shading commit.

9 years agoDrag'n'drop : moved "setAcceptDragOperation" functions at window level
Damien Plisson [Thu, 19 Nov 2009 08:56:26 +0000 (08:56 +0000)]
Drag'n'drop : moved "setAcceptDragOperation" functions at window level
GHOST/Cocoa : changed strings encoding to isoLatin1 (was UTF-8)

9 years ago* Fix for texture->image node not working
Matt Ebb [Thu, 19 Nov 2009 04:50:00 +0000 (04:50 +0000)]
* Fix for texture->image node not working

+ a few cleanups

9 years ago* Changed scroll bar scale handles back to scaling from either side, rather than...
Matt Ebb [Thu, 19 Nov 2009 04:13:18 +0000 (04:13 +0000)]
* Changed scroll bar scale handles back to scaling from either side, rather than to the center (ctrl-drag or mouse wheel works fine for that)

9 years ago* Fix for RMB keyframe/data path/etc operators not working in sub-regions, was gettin...
Matt Ebb [Thu, 19 Nov 2009 04:11:24 +0000 (04:11 +0000)]
* Fix for RMB keyframe/data path/etc operators not working in sub-regions, was getting the wrong region context to operate on.

9 years ago* Added control and animation of sound volume of sequence sound strips (found in...
Matt Ebb [Thu, 19 Nov 2009 03:21:37 +0000 (03:21 +0000)]
* Added control and animation of sound volume of sequence sound strips (found in properties pane)

To insert keys, use I key while hovering over the button for now, rmb clicking on the property to insert a key doesn't work (general bug for all regions except property editor - will investigate).

Doesn't convert over from old fac0 ipos on opening old files though for the time being.

* Made sequence strip names unique while I was at it, to allow strip properties to be animated properly.

9 years agoSequencer UI: Sequencer now uses the standard timeline cursor instead of a hacky...
Joshua Leung [Thu, 19 Nov 2009 02:58:48 +0000 (02:58 +0000)]
Sequencer UI: Sequencer now uses the standard timeline cursor instead of a hacky custom one that used a hardcoded colour

9 years agoBugfix:
Joshua Leung [Thu, 19 Nov 2009 00:37:47 +0000 (00:37 +0000)]

Adding drivers to single values was broken.

9 years ago2.5 Single Column Layout:
Thomas Dinges [Wed, 18 Nov 2009 21:57:13 +0000 (21:57 +0000)]
2.5 Single Column Layout:
* Added code to enable single column layout for general physic panels.
Note: Force Field Falloff panel has some issues with single layout.

9 years agoFix crash on Windows when clicking anywhere in a window. Cursor grabbing code was...
Joshua Leung [Wed, 18 Nov 2009 21:01:04 +0000 (21:01 +0000)]
Fix crash on Windows when clicking anywhere in a window. Cursor grabbing code was missing checks for invalid tablet data.

9 years agoID properties that are displayed via RNA can now define their own UI settings,
Campbell Barton [Wed, 18 Nov 2009 20:01:35 +0000 (20:01 +0000)]
ID properties that are displayed via RNA can now define their own UI settings,
 only implimented min/max precision & step.

at the moment there is no way to edit these other then via python

example of setting UI limits...

>>> C.object['foo'] = 0.5
>>> C.object['_RNA_UI'] = {'foo': {'step': 0.5, 'soft_max': 10.0, 'soft_min': 0.0, 'precision': 2, 'description': 'Some setting'}}

Also fixed typo's: precission -> precision

9 years agoQuicktime-cocoa : fix file busy issue when rendering a second time with quicktime...
Damien Plisson [Wed, 18 Nov 2009 19:35:03 +0000 (19:35 +0000)]
Quicktime-cocoa : fix file busy issue when rendering a second time with quicktime export

9 years agoSVN maintenance.
Guillermo S. Romero [Wed, 18 Nov 2009 18:45:38 +0000 (18:45 +0000)]
SVN maintenance.

9 years agoMade toolbar buttons slightly brighter, to make them stand out from the background...
William Reynish [Wed, 18 Nov 2009 18:01:54 +0000 (18:01 +0000)]
Made toolbar buttons slightly brighter, to make them stand out from the background more.

9 years agoNetrender cleanup and bug fix
Martin Poirier [Wed, 18 Nov 2009 18:00:46 +0000 (18:00 +0000)]
Netrender cleanup and bug fix

Blacklist and linked files work again

Store temp data in module

9 years agoNew B.Blend.
William Reynish [Wed, 18 Nov 2009 17:54:04 +0000 (17:54 +0000)]
New B.Blend.
Fixes an issue with the clipping that was set back to 0.01 Made it 0.1 once again as this fixes Z buffer issues.
Put the Item panel at the top in the n-key region
Removed Properties and Quad View Screens
Cleaned up UV Editing Screen, removing Properties

9 years agoCustom Ratio mouse input didn't check for initialization properly, which could lead...
Martin Poirier [Wed, 18 Nov 2009 17:14:56 +0000 (17:14 +0000)]
Custom Ratio mouse input didn't check for initialization properly, which could lead to NaN values with edge slide.

Also adding missing modal keymaps for some transform operators.

9 years agoCorrectly detect and use modal keymaps in macros
Martin Poirier [Wed, 18 Nov 2009 17:08:29 +0000 (17:08 +0000)]
Correctly detect and use modal keymaps in macros

9 years agoCode cleanup in netrender
Martin Poirier [Wed, 18 Nov 2009 17:07:42 +0000 (17:07 +0000)]
Code cleanup in netrender

9 years agoDisable continuous grab during tablet use (fixing tablet jerkiness issues)
Damien Plisson [Wed, 18 Nov 2009 16:54:33 +0000 (16:54 +0000)]
Disable continuous grab during tablet use (fixing tablet jerkiness issues)

9 years agoQuicktime (non cocoa) crash upon export temporary fix
Damien Plisson [Wed, 18 Nov 2009 16:38:22 +0000 (16:38 +0000)]
Quicktime (non cocoa) crash upon export temporary fix

Removed the pop up of the codec settings dialog box that was causing the crash, as it was called from the render thread (and not the main one).

So qt export settings are now blocked on default settings:
codec=jpeg, quality=max, bitrate=5MBps

Complete fix will be done by replacing this dialog box by "encoding" settings in the render panel.

9 years agoFix snap tooltip.
Martin Poirier [Wed, 18 Nov 2009 16:12:49 +0000 (16:12 +0000)]
Fix snap tooltip.

Make it a bit more generic to cover Ctrl hold or toggle.

9 years agoscons update to enable build with QTKit (Cocoa Quicktime)
Damien Plisson [Wed, 18 Nov 2009 15:54:25 +0000 (15:54 +0000)]
scons update to enable build with QTKit (Cocoa Quicktime)
Thx Jens Verwiebe for the patch

9 years agoQuicktime for Cocoa : export part
Damien Plisson [Wed, 18 Nov 2009 15:01:59 +0000 (15:01 +0000)]
Quicktime for Cocoa : export part
Following the quicktime import port, here is the movie export feature.

The codec selection remains to be implemented in the ui (render panel).
So the settings are now blocked on codec=jpeg, quality=max.

9 years agoown mistake meant bones could not drive eachother.
Campbell Barton [Wed, 18 Nov 2009 14:36:23 +0000 (14:36 +0000)]
own mistake meant bones could not drive eachother.

9 years agoremove GPL headers from templates, am happy for them to be public domain
Campbell Barton [Wed, 18 Nov 2009 14:25:36 +0000 (14:25 +0000)]
remove GPL headers from templates, am happy for them to be public domain

9 years agoRevert of ID Notifier, as requested by Matt.
Thomas Dinges [Wed, 18 Nov 2009 14:21:11 +0000 (14:21 +0000)]
Revert of ID Notifier, as requested by Matt.

9 years agobone & object properties editing was broken.
Campbell Barton [Wed, 18 Nov 2009 14:00:23 +0000 (14:00 +0000)]
bone & object properties editing was broken.

9 years agoDurian request: Cloth
Daniel Genrich [Wed, 18 Nov 2009 13:33:52 +0000 (13:33 +0000)]
Durian request: Cloth
* structural can be set to 0

* pre-roll now available through GUI and works like following:
a) Pre rolled frames are NOT cached
b) reset cache + cloth on pre roll setting change

9 years agofix for own error in 24623, removed a memfree call,
Campbell Barton [Wed, 18 Nov 2009 13:14:49 +0000 (13:14 +0000)]
fix for own error in 24623, removed a memfree call,
printed lots of errors like this one exit
 dynstr_cstring len: 24 0x54c4cb0

9 years agofix for memory leak, use Key Errors for pyrna getitem access & idprops
Campbell Barton [Wed, 18 Nov 2009 13:02:09 +0000 (13:02 +0000)]
fix for memory leak, use Key Errors for pyrna getitem access & idprops

9 years agopython pose_channels -> bones
Campbell Barton [Wed, 18 Nov 2009 11:50:31 +0000 (11:50 +0000)]
python pose_channels -> bones

9 years agorename pose_channels to bones
Campbell Barton [Wed, 18 Nov 2009 11:40:55 +0000 (11:40 +0000)]
rename pose_channels to bones
was: object.pose.pose_channels["Bone"]
now: object.pose.bones["Bone"]

9 years agoAccidentally overrode a small change in the keymap preferences. Fixed.
William Reynish [Wed, 18 Nov 2009 11:11:21 +0000 (11:11 +0000)]
Accidentally overrode a small change in the keymap preferences. Fixed.

9 years agoremove ID property lookups from rna..
Campbell Barton [Wed, 18 Nov 2009 10:59:17 +0000 (10:59 +0000)]
remove ID property lookups from rna..
 ob["foo"] = 1
 print( # now raises an error

9 years agoChanged the appearance of the toolbar buttons.
William Reynish [Wed, 18 Nov 2009 10:57:30 +0000 (10:57 +0000)]
Changed the appearance of the toolbar buttons.
When stacked on top of each other, it looks cleaner and simpler without the gradient.
This makes it easier to scan through long lists of tools.

9 years agoPartial fixes for #19881: Items existing on the same row as the window dividers are...
Joshua Leung [Wed, 18 Nov 2009 10:37:32 +0000 (10:37 +0000)]
Partial fixes for #19881: Items existing on the same row as the window dividers are not interactive (selectable, etc.)

The View 2D function for handling scrollbar events now takes into account whether the scrollbar is visible or not, so that it won't block events when the scrollbar isn't visible.

Also, made the UI code take this into account too for its region testing code. Unforunately, there still seems to be something else which is still preventing UI buttons from being processed when they are in those regions.

9 years agoQuicktime for Cocoa : import part
Damien Plisson [Wed, 18 Nov 2009 09:49:42 +0000 (09:49 +0000)]
Quicktime for Cocoa : import part
This makes quicktime import (.mov & quicktime handled image files such as .gif) available also for 64bit OSX

Unfortunately, Apple currently incomplete implementation of QTKit has much lower performance than old Carbon Quicktime.
FYI, it spawns a 32bit process "QTKitserver" to place calls to Quicktime 7.

So this is mostly meant as a "backup" for 64bit OSX builds, until Apple releases full Quicktime X.

Export part will come just after.

CMake scripts updated: set WITH_QUICKTIME and USE_QTKIT to ON

9 years agoAttempted bugfix for #19909: missing text in frame indicator box
Joshua Leung [Wed, 18 Nov 2009 08:50:09 +0000 (08:50 +0000)]
Attempted bugfix for #19909: missing text in frame indicator box

Not sure whether this fixes the issue, but it sounds like some Intel cards have issues with alpha values lingering around.

9 years ago- rna attribute setting problem, class instances could not set their own attributes...
Campbell Barton [Wed, 18 Nov 2009 08:40:18 +0000 (08:40 +0000)]
- rna attribute setting problem, class instances could not set their own attributes because they are blocked by our own internal setattr.
  this could be supported again easily however it leads typo's & api changes not showing any errors.

  This broke povray export.
  Solution for now is to allow setting private properties starting with '_'

    ob = bpy.context.object

    ob._foo = [1,2,3] # this is a python list, it will stay only as long as this PyObject is active = 1 # raises an error!, only for rna properties
    ob["foo"] = 1 # converts to an ID property and is saved

    using the underscore like this should really be used for classes internally.

- povray failed on armatures

- menu key wasn't using WM_keymap_add_menu

9 years ago* NC_WINDOW Notifier for ID Name property (maybe not the best solution, but as ID...
Thomas Dinges [Wed, 18 Nov 2009 05:11:16 +0000 (05:11 +0000)]
* NC_WINDOW Notifier for ID Name property (maybe not the best solution, but as ID blocks can be everything (object name, material, even scene) i chose the window Notifier.

9 years agodefault name of keymap to '' + pedantic pep8 edits
Campbell Barton [Wed, 18 Nov 2009 01:30:28 +0000 (01:30 +0000)]
default name of keymap to '' + pedantic pep8 edits

9 years agoinsert spaces instead of tabs, makes editing templates less painfull, tho we should...
Campbell Barton [Wed, 18 Nov 2009 01:16:49 +0000 (01:16 +0000)]
insert spaces instead of tabs, makes editing templates less painfull, tho we should really have a function to insert strings rather then char's for this to work better.

9 years agoSmall UI Tweaks - Toolbar + Graph Editor:
Joshua Leung [Tue, 17 Nov 2009 22:46:42 +0000 (22:46 +0000)]
Small UI Tweaks - Toolbar + Graph Editor:
* "RNA Path" and "Array Index" for the active F-Curve in the Graph Editor are now shown in the properties region. These are greyed out unless the F-Curve cannot be evaluated, in which case they can be edited to make the F-Curve work again

* Made the Push and Relax operators in Pose Mode fit on a single row in the toolbar, since they're opposites of each other.

9 years agoFun stuff with macro
Martin Poirier [Tue, 17 Nov 2009 22:19:48 +0000 (22:19 +0000)]
Fun stuff with macro

Make macros work with more than one modal operator and mix of modal and invoke/exec

As a proof, brought back loopcut + edge slide in a single macro operator called Loopcut and Slide, replacing Loopcut as assigned to Ctrl-R.

9 years agomake animation system and rna internals use getattr style syntax for user defined...
Campbell Barton [Tue, 17 Nov 2009 20:46:59 +0000 (20:46 +0000)]
make animation system and rna internals use getattr style syntax for user defined properties
bone["foo"] rather then
matches python and avoids naming collisions

9 years agoMacro for extrude along normals with a poll function to restrict it to face select.
Martin Poirier [Tue, 17 Nov 2009 20:40:39 +0000 (20:40 +0000)]
Macro for extrude along normals with a poll function to restrict it to face select.

Added before "free" extrude in the keymap means it's picked up first when applicable.

9 years agoMade toolbar buttons left-aligned.
William Reynish [Tue, 17 Nov 2009 20:19:35 +0000 (20:19 +0000)]
Made toolbar buttons left-aligned.
Currently all tool buttons are left aligned, unless it has an icon like the Render Image and Animation buttons.
Later it might be nicer to introduce a proper flag to make text center aligned for those cases.

9 years ago-Single column UI for image editor.
William Reynish [Tue, 17 Nov 2009 18:53:53 +0000 (18:53 +0000)]
-Single column UI for image editor.
-Added buttons for Mark and Clear Seam in toolbar, replacing the less useful Rotate UVs and Mirror UVs commands.

9 years ago* Create Group Operator had a wrong name, so it didn't showed up in the menu.
Thomas Dinges [Tue, 17 Nov 2009 17:09:54 +0000 (17:09 +0000)]
* Create Group Operator had a wrong name, so it didn't showed up in the menu.

9 years agoadjusting generic props in the UI refreshes the depgraph, this is weak but allows...
Campbell Barton [Tue, 17 Nov 2009 16:53:52 +0000 (16:53 +0000)]
adjusting generic props in the UI refreshes the depgraph, this is weak but allows custom props to be used as drivers

9 years ago[#19760] Extrude + Continuous Grab doesn't work
Martin Poirier [Tue, 17 Nov 2009 16:48:43 +0000 (16:48 +0000)]
[#19760] Extrude + Continuous Grab doesn't work

Flag macro as blocking

Make macro copy operator flags when one of them returns MODAL (these flags are needed by the event system)

9 years ago* Alphabetical Order for Constraints.
Thomas Dinges [Tue, 17 Nov 2009 16:27:53 +0000 (16:27 +0000)]
* Alphabetical Order for Constraints.

* Formatting fix for last commit.

9 years agouse number keys to set the current brush in paint modes
Campbell Barton [Tue, 17 Nov 2009 16:04:17 +0000 (16:04 +0000)]
use number keys to set the current brush in paint modes

9 years agoSingle column UI for constraints
William Reynish [Tue, 17 Nov 2009 15:59:54 +0000 (15:59 +0000)]
Single column UI for constraints