Commit Graph

47594 Commits

Author SHA1 Message Date
Tamito Kajiyama
1b3948f9aa Further consolidation of the view map creation.
Made Controller::_EPSILON constant with the value 1e-6.  Previously,
the _EPSILON value was computed based on the minimum edge size within
the scene being rendered (in some cases, the computed value resulted
in zero).  This does not seem to make sense, because _EPSILON has been
used as a tolerance threshold of floating-point arithmetic errors
throughout the view map creation.  Since Blender uses single-precision
real values for mesh data representations, the new constant _EPSILON
value looks more adequate.
2010-02-12 23:24:59 +00:00
Martin Poirier
33b1cbf06d Smart Extrude (hotkeys are tentative)
Ekey: Extrude Region
	Based on selection totals:
		Extrude region along normal if at least one face selected
		Extrude vertex along normal if only one vertex selected (experimental)
		Extrude edge on its plane if only one edge selected (experimental)
		Extrude with no constraint axis otherwise

Shift-Ekey: Extrude Individual
	Based on selection modes and selection totals
		Individual Faces if face select and some faces are selected
		Individual Edges if edge select and some edges are selected
		Individual Vertice otherwise
		
Alt-Ekey: Extrude Menu (only shows valid options for selection mode and selection totals)
2010-02-12 22:13:47 +00:00
Martin Poirier
e77cf5e92e Mesh selection totals in RNA (patch by Campbell) 2010-02-12 22:03:23 +00:00
Campbell Barton
e205acdbaa strip quotes from Buildinfo for bpy.app.build_* 2010-02-12 21:45:47 +00:00
Martin Poirier
c7662c1cf7 Calling operators from Python with non-default context was broken (need to assign to the right variable). 2010-02-12 21:40:46 +00:00
Campbell Barton
533ed7cdaa Python deprcated PyCObject, use PyCapsule instead. 2010-02-12 21:14:01 +00:00
Arystanbek Dyussenov
b43f107195 Merge -c 26848 from COLLADA branch into trunk. 2010-02-12 20:32:36 +00:00
Campbell Barton
3188089dc1 [#21121] Limit to visible don't works well in Face mode
dont draw face dots when drawing backbuffer
2010-02-12 16:48:04 +00:00
Campbell Barton
4b4cb7f9c1 bugfix [#21090] Crash because of slow USB drive
missing NULL check
2010-02-12 16:26:35 +00:00
Campbell Barton
0e40d71fb0 [#21123] Refresh screen after applying click in WM_gesture_circle_modal()
patch from Sergey Sharybin (nazgul)
2010-02-12 15:33:32 +00:00
Campbell Barton
8497b2f851 typo in zeroing a vector 2010-02-12 14:46:04 +00:00
Campbell Barton
6ff1883094 fix use of uninitialized vars with the color wheel. 2010-02-12 14:34:08 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Joshua Leung
bd88fb372f Bugfixes:
1) Summary channel in DopeSheet was using uninitialised color for backdrop, resulting in weird/wrong colours
2) Commented out the view2d hotkeys added earlier, since they currently cause some conflicts for animation editor hotkeys (namely NLA)
2010-02-12 11:48:55 +00:00
Campbell Barton
9e652ce6bb fix for depth drawing + clipping 2010-02-12 11:03:41 +00:00
Joshua Leung
f97db86139 Quicky View2D commit:
Page Up/Down hotkeys for working with scrolling View2D views
2010-02-12 10:20:11 +00:00
Joshua Leung
d26e71c2f0 FModifier drawing typo:
All F-Modifiers were had their RNA pointers initialised as "Function Generator" modifiers when drawing.
2010-02-12 09:42:34 +00:00
Dalai Felinto
2541429ded BGE: linear velocity and angular velocity are attributes now
... what lead me to wonder if we should remove obj.setAngularVelocity, obj.setLinearVelocity, obj.getLinearVelocity and obj.getAngularVelocity.

* this was so Copy and Paste ... anyways tests are welcome (I never used those methods in python myself).
2010-02-12 03:40:28 +00:00
Joshua Leung
61d7e4a51e Bugfix #21094:
Inserting keyframes for properties that don't already have F-Curves shouldn't occur if auto keyframing is set to 'replace' only (i.e. see timeline -> frame -> autokey mode menu for details).
2010-02-12 01:06:18 +00:00
Joshua Leung
b482b8543e Bugfix #21051: Restored 'Playback FPS'
This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View.

The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
2010-02-12 00:44:26 +00:00
Tamito Kajiyama
a6a5ce4f7b More consolidation of the view map creation.
Made an attempt to fix "2D intersection out of range" warnings.
These warnings may cause "3D intersection out of range" warnings,
which often lead to a crash.
2010-02-11 23:26:22 +00:00
Campbell Barton
6c775defd4 Clear scons installation directory when WITHOUT_BF_INSTALL is disabled.
After discussion with Brecht and Martin we agree this is best long term.

Also fixed "scons blenderlite" for python and fluid.
2010-02-11 22:02:27 +00:00
Lukas Steiblys
778cac6c54 2010-02-11 21:55:07 +00:00
Campbell Barton
157a694607 - select active camera operator
- calling menu use exec rather then invoke
2010-02-11 21:17:05 +00:00
Campbell Barton
611a5595f9 fix for flag being used in the wrong place with recent ApproxAO option. 2010-02-11 18:36:47 +00:00
Daniel Salazar
39cccd2a90 Line up RNA property with the rest of space 2010-02-11 17:41:17 +00:00
Daniel Salazar
9f3563fa94 Compile fix 2010-02-11 17:27:43 +00:00
Campbell Barton
08d3741980 fix for crash when running in background mode and adjusting materials 2010-02-11 16:54:25 +00:00
Daniel Salazar
6286e41514 Theme support for console background. Thx cam for help! 2010-02-11 16:28:31 +00:00
Brecht Van Lommel
9ee81473f8 Fix #20139: toggling mipmaps in user preferences did not refresh textures. 2010-02-11 15:45:19 +00:00
Brecht Van Lommel
d98603129c Added an option "Cast Approximate" to control if a material should cast
shadow when using approximate AO, separate from "Traceable".
2010-02-11 15:43:31 +00:00
Arystanbek Dyussenov
4746fbd8ce COLLADA exporter (in trunk): write 1 normal per flat face instead of 3 or 4. 2010-02-11 14:53:29 +00:00
Campbell Barton
3c5b476d1f fix for own mistake [#21088] comb mode broken? 2010-02-11 14:24:45 +00:00
Campbell Barton
8f4c340915 bpy.utils.home_paths, use this to get script paths for the user/local/system blender paths. 2010-02-11 14:08:22 +00:00
Campbell Barton
a2b94de539 [#21095] r26789 'copy vertex group to selected' crash blender 2010-02-11 10:41:11 +00:00
Campbell Barton
0932402244 panorama UV projection, only when projected from a camera with panorama enabled, ortho and perspective supported, camera aspect ignored at the moment.
also fixed bugs ortho camera projection which wasnt ever used and had the ortho camera size inverted.
2010-02-11 10:25:24 +00:00
Campbell Barton
e2ba857b0f console needs a background color, can use instead of padding. 2010-02-11 09:03:43 +00:00
Joerg Mueller
d3ce198cd5 Padding fix by phonybone. 2010-02-11 08:52:22 +00:00
Dalai Felinto
3189732ab6 BGE: rna update for Logic Bricks
New Actuators done:
* EDIT_OBJECT
* SHAPE_ACTION

Actuators to be done:
* CONSTRAINT

Actuators done already:
* ALL THE OTHERS 16

+ some DNA padding

There is one Actuator left. This one is tricky because (as many others) the tooltip changes according to the actuator type value. Not sure how to solve this yet. I'll probably have to make different rna properties for the same values (it includes some enums this time). Not so animated to finish this one :/
2010-02-11 06:00:16 +00:00
Dalai Felinto
0119072fc3 BGE API DOC update - scene add/restart/end. patch by Gomer 2010-02-11 04:24:58 +00:00
Daniel Salazar
d65101629d Added theme support for vertex normals display alongside face normals.
This makes having both enabled at the same time actually useful!

http://www.pasteall.org/pic/show.php?id=1265
2010-02-11 03:37:51 +00:00
Daniel Salazar
15ef07d684 More tooltip editing 2010-02-11 02:03:18 +00:00
Daniel Salazar
78faeb73b8 Operation Dot-Kill finished 2010-02-11 01:11:52 +00:00
Daniel Salazar
367037b445 Removing more dots 2010-02-11 00:33:01 +00:00
Joerg Mueller
f2f4981726 Bugfix for [#21086] Audio continues to play unsynced. 2010-02-10 23:15:12 +00:00
Daniel Salazar
526da4f686 Killing more dots! 2010-02-10 22:18:00 +00:00
Campbell Barton
148435b70a batch remove .'s used with RNA_def_struct_ui_text 2010-02-10 21:15:44 +00:00
Joshua Leung
577bfb4e71 Bugfix #21081: auto ik option not work for proxy object
Several properties of armatures were being checked for proxy-suitability with too-harsh criteria. Softened this on a few properties to make them usable again.
2010-02-10 21:00:41 +00:00
Daniel Salazar
0c25549e5c Increased camera angle to allow for the wildest super telephoto lenses
Sincronized millimeters - angle limits
Better tooltips
Removed dots at end of tooltips in camera rna file too (as discused with
Ton and DingTo on irc)
2010-02-10 20:41:01 +00:00
Campbell Barton
8ec4dee13e object bound box access from rna 2010-02-10 20:29:40 +00:00