Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
72712b6725 UV project didnt use the view3d's camera (only the scenes) 2010-02-10 19:22:09 +00:00
Daniel Salazar
3596768721 Missing tooltips for Start frame and End frame
Removing all dots at the end of tooltips in screen_ops.c
2010-02-10 18:47:55 +00:00
Daniel Salazar
e83199bf9b Changed fields Odd / Even terminology to more standard Upper First /
Lower First like in AE and other mainstream apps
http://www.pasteall.org/pic/show.php?id=1255

The new consensus is no dots at the end of tooltips so removed all of
them on image and scene rna files
2010-02-10 18:29:58 +00:00
Campbell Barton
ac45c743f8 realtime updates in the graph editor were updating all visible fcurves, update all selected fcurves instead. 2010-02-10 18:22:55 +00:00
Campbell Barton
226fb2b377 revert previous commit, this should fix without disabling cases that worked before. 2010-02-10 18:05:52 +00:00
Thomas Dinges
2fe216b706 Fix for [#21082] UI not updated immediately for Graphical cursor and change object's name 2010-02-10 17:38:58 +00:00
Campbell Barton
bcae5e2e62 fix for crash in sequencer when sequebce data cant be read. 2010-02-10 17:28:46 +00:00
Thomas Dinges
f6fe654546 Tooltip fix for "raytrace_transparency", patch by Oxben. 2010-02-10 16:16:57 +00:00
Campbell Barton
358c956637 make dupliface operator (access from object menu)
scene.object.link() now returns the new ObjectBase
2010-02-10 16:10:47 +00:00
Brecht Van Lommel
5df1bb84d8 Fix crash in copying constraints for proxy. 2010-02-10 14:47:39 +00:00
Damien Plisson
586acf21a7 Cocoa : use Cocoa NSWindow tag for identifying the window where a mouse/tablet/key event happened => enables some actions in inactive windows as per OSX standard
Previous code was assuming an event can only be sent from the active window.
On OSX, Right, Middle mouse buttons, mouse wheel and trackpad events are sent to inactive windows too.

For example, this allows to zoom, pan the view without changing the window order.
2010-02-10 14:16:02 +00:00
Campbell Barton
c2b2ccde45 fix for python not being able to call operators with a executuon context. 2010-02-10 11:10:38 +00:00
Joshua Leung
fbc201d2dd Committing a little note of a bug that isn't quite so easy to fix yet with groups+visibility operator (anim channels). 2010-02-10 09:53:55 +00:00
Campbell Barton
2b857baeca [#20958] API: crash on mesh.update() if I unlink and link meshes with the same name twice 2010-02-10 09:30:22 +00:00
Campbell Barton
eabb8e2942 rename Nurb to Spline in RNA since Nurb also stores bezier and poly lines. 2010-02-10 08:53:08 +00:00
Martin Poirier
f07efaf124 Can't hardcode hotkey in description if it can be changed in a keymap. 2010-02-10 03:41:20 +00:00
Joshua Leung
491f9b7cbb Bugfix: 3DS Importer not settings UV's correctly
Thanks to example .3ds file and bug report from stridernzl.

1) The API function for adding textures to meshes was not working correctly, resulting in a Null texture slot being created (i.e. a texture slot was created, but the given texture could never be assigned to this). 
Fixed by making the function always require a texture as input (as with other places that use pointers as arguments).

2) In "Textured" draw mode, the imported meshes were shown white (i.e. without any textures). 
It appears that that the old old setting (mesh.faceUV) is no longer valid/wrapped in RNA, so worked around this by setting the 'tex' setting for UV-faces on. From the UI, this seems to do the same thing as entering editmode and assigning an image to the faces from the image editor.

---

I've also removed a few lines of commented 2.4x code that is no longer valid. Hopefully there wasn't anything too valuable that I accidentally removed in this process ;)
2010-02-10 01:55:45 +00:00
Daniel Salazar
af563d474f More limits, step size and default changes to particle settings (and
some tooltips)
2010-02-10 01:54:32 +00:00
Daniel Salazar
208b6cd46a Fixing broken tooltip in snapping's project button 2010-02-09 23:33:24 +00:00
Daniel Salazar
d376ae6276 More informative tooltip for Snapping button 2010-02-09 22:32:26 +00:00
Campbell Barton
f22104542b copy vgroups to selected objects as long as they have aligned arrays.
access in the vertex group panel menu.
2010-02-09 22:00:19 +00:00
Joshua Leung
59a508d00b Bugfix #20903: Concitency issues between point and click and Tab Key in the Graph Editor
- 'Toggle' operators for channel settings now now act more like the select-all type of "toggle" operator. The old behaviour has now been moved to "invert".

- Channel settings are now flushed (like for visibility and when clicking) for muting and locking when using the operators
2010-02-09 21:22:24 +00:00
Dalai Felinto
d2e41b38df BGE: rna update for Logic Bricks
New Actuators done:
* OBJECT (aka MOTION)
* SOUND
* PROPERTY
* CONSTRAINT
* EDIT_OBJECT
* ACTION
* STATE
* ARMATURE

Actuators to be done:
* CONSTRAINT
* EDIT_OBJECT
* SHAPE_ACTION

Actuators done already:
* IPO
* CAMERA
* SCENE
* RANDOM
* MESSAGE
* GAME
* VISIBILITY
* TWODFILTER
* PARENT

once again: feedback is appreciated.
+ some typos
+ some DNA padding

Thanks for Mitchell Stokes (Moguri) for his patch on that. It saved me some time on the ENUMs and some actuator descriptions :)
2010-02-09 21:18:50 +00:00
Daniel Salazar
6d833bced2 Better default resolutions for UV Sphere and Torus primitives (nice square
faces)
Torus is generated flat shaded like the rest of primitives for easier
tweaking of resolution and consistency with the rest of the primitives
2010-02-09 21:05:59 +00:00
Campbell Barton
4768c33dbb bugfix [#21055] Python: accessing ParticleEdit.hair causes segmentation violation 2010-02-09 20:03:05 +00:00
Brecht Van Lommel
0d2b080358 Forgot to commit this file. 2010-02-09 19:59:07 +00:00
Brecht Van Lommel
10240261e9 J-key render switching back, now with 10 slots.
Implementation note: this was done by giving each Render a slot number,
and for every slot a new Render will be created. Not sure if this is
ideal, but it ensures that all passes, render info, etc are separate so
you can also compare render layers and passes, in 2.4x only whatever it
was currently displaying was backed up.
2010-02-09 19:37:37 +00:00
Campbell Barton
52b1c37645 [#21039] OBJ import Clamp Scale limited to .01 as lowest Value. Used to be Zero
[#21053] 2.5alpha0 export obj problem
+ some minor changes.
2010-02-09 19:22:57 +00:00
Campbell Barton
f577c4bb7f bugfix [#21057] Python: accessing DriverVariable targets causes segmentation violation
collections were detected as arrays.
2010-02-09 19:20:12 +00:00
Campbell Barton
82825d5c93 [#21067] Weight painting doesn't work with mirror modifier enabled. 2010-02-09 18:06:57 +00:00
Daniel Salazar
4520bc6edd Tooltips tweaks 3d to 3D 2010-02-09 17:50:56 +00:00
Campbell Barton
346e45d6af wkey - weld in UV window 2010-02-09 16:36:44 +00:00
Daniel Salazar
72f44ee2a5 Soft limits and better hard limits to particle properties 2010-02-09 16:28:00 +00:00
Daniel Salazar
d5b3db4deb Adding soft limits and better hard limits to relevant camera properties
wohooo first commit! :D
2010-02-09 16:05:12 +00:00
Campbell Barton
f082c7be05 add access to edge select tagging from mesh toolbar (tagging seams on Ctrl+RMB) 2010-02-09 15:48:34 +00:00
Brecht Van Lommel
ce38137449 Shadow Buffers:
* Bugfix, rasterization was shifted half a pixel.
* Remove scaling of bias by render size, there is something to be
  said for doing to compensate for lower shadow buffer xy resolution,
  however the z-resolution does not change and this seems to have a
  larger effect.
* Remove clamping of filter size by soft factor. Now it is clamped to
  1 pixel instead to ensure there is some AA. Why this was done this
  way is not clear to me, however on decreasing shadow buffer resolution
  this would change the softness by increasing the filter size.
2010-02-09 13:58:07 +00:00
Campbell Barton
7d2d5c990f fix for uninitialized mempool variable. 2010-02-09 12:06:04 +00:00
Joshua Leung
3f529256eb More bugfixes for setting visibility of anim channels using VKEY:
* Fixed problem where selecting an individual F-Curve would not set the selection correctly. 
Group channels still needed a separate selection check before they get included in the filtered list. I had removed this in an earlier fixing commit today, but overlooked that expanded groups wouldn't get this check. Therefore, group channels would also be flushed on, turning all channels of group on.

* Removed the 'curvesonly' test from deciding whether the selection status + collapsed group fix, from the earlier commit, since this was making a few cases get overlooked (namely for setting visibility toggles, where selected F-Curves in closed and deselected groups still managed to get through)

* Added a debugging print API call for helping with debugging this sort of error in future. It just prints the types of channels being operated on, to easily see what's going on...
2010-02-09 11:59:02 +00:00
Joshua Leung
0e7c973e06 Bugfix #21041: pressing tab, adds spaces depending on the end of the line
The code used to calculate the number of spaces to insert for a tab (so that indention widths were aligned to multiples of the number of spaces to use) was incorrectly assuming that the line that this was to occur on was blank, using text->curl->len (i.e. the length of the current line). 

The code now uses the position of the cursor to determine how many spaces need to be added to it to move it to the next multiple of the tab width.

---

Also, added numpad enter to text-editor keymap for creating new lines for more consistency with user expectations.
2010-02-09 11:18:17 +00:00
Damien Plisson
945a126170 Warning fixes 2010-02-09 11:01:31 +00:00
Joshua Leung
720d26f4b0 Bugfix #20964: Loopcut with X-Ray draw mode draws no cuts
Moved the special region "post draw" callback execution stuff to after XRay and Transp object drawing.
2010-02-09 09:56:04 +00:00
Joshua Leung
7dee0e2540 Bugfix #21032: sound strips could not be drag-n-dropped from filebrowser to sequencer 2010-02-09 09:31:45 +00:00
Joshua Leung
35996857b8 Adding a field for debug type-names to animation channel types to facilitate easier debugging on channel errors. 2010-02-09 09:23:29 +00:00
Joshua Leung
3563118ae4 Bugfix #21029: Animation editor's channel-group check boxes behave oddly
This commit fixes the first issue in the report - deselecting unselected channels does not flush the change in state - which resulted in the channels of collapsed and unselected groups not getting unselected too (a consistency issue).
2010-02-09 08:38:45 +00:00
Joshua Leung
ab6c82521c More AnimChannel Filtering Fixes - Groups + Selection Status:
For operators that depended on working on the data of 'selected' channels, but which needed to get F-Curves only, collapsed groups posed a problem (these operators included inserting keyframes on selected channels only, pasting keyframes, and ghosting curves). 

When these groups were selected, all their F-Curves should get included regardless of selection since it's too confusing otherwise. However, inside the F-Curve filtering code, selection was still being considered. This problem has now been avoided by not filtering the F-Curves for selection status in these cases.
2010-02-09 06:40:54 +00:00
Joshua Leung
3467980b8a Bugfix #21030: Non-visible animation channel-groups can get deleted
Bugfix #21031: Non-visible animation channels affected by fcurve visibility toggle hotkeys

Removed a bad check for the selection filtering check from animation editor filtering for groups+fcurves. This check meant that groups that were not visible due to not having any visible F-Curves would end up being shown too.
2010-02-09 05:45:02 +00:00
Joshua Leung
d359edbc84 Bugfix: Inserting keyframes from the buttons now ensures that the Graph Editor is updated in the process... 2010-02-09 00:02:22 +00:00
Joshua Leung
bc31b2c0f4 Bugfix #21035: PLAYBACK: Consistent crash during playback
Circumvent using RNA path resolution code for finding the volume for sound baking, since this can lead to crashes in some cases.
2010-02-08 23:07:53 +00:00
Andrea Weikert
f8455a8d40 filebrowser
* after renaming, the file name and highlight are drawn immediately.
2010-02-08 22:44:55 +00:00
Campbell Barton
09715e7cce bugfix [#21036] crash with glsl shading
VBO draw cod was assuming a buffer was allocated for drawing.
2010-02-08 21:33:47 +00:00