Commit Graph

66005 Commits

Author SHA1 Message Date
Campbell Barton
0e0eba9f79 fix for crash when setting layers or saving when there is no active scene - only really happens when running python scripts on startup. 2011-07-04 05:23:36 +00:00
Joshua Leung
de1c4fafc7 First stages of easier "expressions" creation...
It is now possible to create "scripted expression" drivers by simply
clicking on some property, and typing some short Python expression
prefixed with a '#'. This will result in a scripted expression driver,
with the typed-in text being created.

For example, you can click on X-Location of the default cube, and
type:
#sin(frame)
and a new driver will be created for the x-location of the cube. This
will use the current frame value, and modulate this with a sine wave.

Do note though, that the current frame is a special case here. In the
current implementation, a special "frame" driver variable, which
references the current scene frame is created automatically, so that
this simple and (assumed) common case will work straight out of the
box.

Future improvements:
- Explore possibilities of semi-automated extraction of variables from
such expressions, resulting in automated variable extraction. (Doing
away with variables completely is definitely 100% off the agenda
though)
- Look into some ways of defining some shorthands for referencing
local data (possibly related to variable extraction?)
2011-07-04 03:12:28 +00:00
Benjy Cook
e358064704 Added smoothing variables to constraint creation, and now Active checkbox is functional.Also initial work was done on the freeze constraint. 2011-07-03 21:25:54 +00:00
Benjy Cook
775ab37ad5 Fixed some issues with stride bone and original empty creation and parenting. Now there is no longer a constraint cycle issue when using IK constraints 2011-07-03 21:23:41 +00:00
Campbell Barton
d29d3a89e4 fix for building WITH_PYTHON_MODULE 2011-07-03 19:15:46 +00:00
Ton Roosendaal
d40b9e2e1c As per discussion: allow bone transforms again for proxy'ed bones. 2011-07-03 18:21:37 +00:00
Sukhitha Prabhath Jayathilake
1f4fca3654 Light Color Animation Import Complete. 2011-07-03 17:26:02 +00:00
Andrea Weikert
25ffeed8bf fixing compile errors with VisualStudio 2008.
* macro ABS has no effect with uintptr_t anyway and was throwing warning (promoted to error) -> commented out and marked with TODO
* removed two unused variables trhowing warning also promoted to error when compiling.
2011-07-03 17:07:07 +00:00
Campbell Barton
5913179f85 CMake file to build ghost tests again. 2011-07-03 16:17:38 +00:00
Miika Hamalainen
901f24716b Dynamic Paint:
* Some ui and rna tweaking.
* Effects ui panel is no longer visible for non-paint surfaces.
2011-07-03 14:01:57 +00:00
Campbell Barton
613e9b9926 changed the max decimal points to show from 7 to 6, since with float precision problems the median point of a selection could be 0.0000003 2011-07-03 13:20:21 +00:00
Sukhitha Prabhath Jayathilake
aa295bb551 AnimationType flag. AnimationType Enum update. 2011-07-03 13:01:52 +00:00
Sukhitha Prabhath Jayathilake
9f99e5cc1e AnimationType Enum. 2011-07-03 12:33:52 +00:00
Joshua Leung
b6c1490359 Experimental depsgraph tweak:
Objects with drivers are now treated as needing updates when the
current frame changes. This assumption has been documented in the
code, and should at least mean that users who try to use drivers for
creating simple time-based expressions that this should work.

Note:
- It is still recommended to create a "cfra" driver variable instead
of actually inlining bpy.context.scene.frame_current into the
expressions. Not only does the latter look rather nasty to type/have
in the expression, but it is also less future-proof for when I get
around to actually working on a beefed-up depsgraph (nothing official
on that front yet...)
2011-07-03 11:56:24 +00:00
Sukhitha Prabhath Jayathilake
c922b41374 find_frames() calls removed. 2011-07-03 11:28:40 +00:00
Sukhitha Prabhath Jayathilake
a632091176 Light Animation Identification. 2011-07-03 11:07:34 +00:00
Campbell Barton
fe62b62cb0 fix 2 bugs in project from view from a camera object
- panorama mode was scaled 2x too high.
- scaled camera objects would incorrectly effect the result.
2011-07-03 10:48:18 +00:00
Tamito Kajiyama
4c3140004a Fixed a bug introduced in the last commit to address the issue
of cap shaders.
2011-07-03 07:48:19 +00:00
Campbell Barton
78c43d18fc fix [#27839] UV 'Project from view' ignores camera lens shift 2011-07-03 07:37:33 +00:00
Campbell Barton
abb21a4da0 fix for python error when pinning a non mesh object in mesh editmode. 2011-07-03 07:21:33 +00:00
Campbell Barton
22bb09d018 fix for error when moving module, broke fracture tools and select internal face operator. 2011-07-03 04:28:41 +00:00
Mitchell Stokes
46d12b480e BGE Animations: Making the action actuator's loop end play mode work better. 2011-07-03 02:57:50 +00:00
Mitchell Stokes
5d7921691b BGE Animations: Reimplementing support for the "Flipper" play mode of the action actuator. 2011-07-03 02:51:14 +00:00
Mitchell Stokes
5f4f75c51a BGE Animations: Adding in layer weights to allow for layer blending. 2011-07-03 01:59:17 +00:00
Benjy Cook
8c3f2923fd Early commit of mocap constraint work. Still very much a WIP, but Point constraints should work - but buggy. 2011-07-02 18:24:05 +00:00
Miika Hamalainen
fdc59b8a40 Merge with trunk r38042 2011-07-02 18:15:55 +00:00
Miika Hamalainen
9ae663154f * Added a new surface type "Waves" that simulates simple 2D wave motion.
* Optimized adjacency point searching for vertex surfaces.
* Separated adjacency code from effect system.
* Overall code cleaning and tweaking.
2011-07-02 18:06:39 +00:00
Tamito Kajiyama
5a516098fc Fixed cap shaders that failed with zero length strokes. 2011-07-02 16:27:52 +00:00
Sergey Sharybin
dc81327f75 Camera tracking integration
===========================

- Removed TRACK_PROCESSED flag which is actually unneeded now.
- When libmv fails to track marker for next frame, add marker
  for new frame with old position and set it up as Disabled.
- "Break" track path when markers sequence is "broken".
  This means path wouldn't be drawed over frames, during which
  racking object was lost.
- Update Properties Editor for SpaceClip during playback.
  Track preview button should now update nicely.
2011-07-02 16:03:47 +00:00
Sergey Sharybin
9cabee006b Camera tracking integration
===========================

- Fixed bug with swapped width/height used for per-pixel cycle
  when disabling color channel to be used for tracking.
- Marker preview is now using sub-pixel precision.
- Tracking stuff uses the same imbug generation function
  as preview area does. Sub-pixel precision should be ok
  now here too.
2011-07-02 11:06:30 +00:00
Sergey Sharybin
59e815fefd Merging r38023 through r38035 from trunk into soc-2011-tomato 2011-07-02 11:04:38 +00:00
Campbell Barton
3ee2cb9cdb fix for error in cmake files 2011-07-02 07:55:06 +00:00
Sukhitha Prabhath Jayathilake
87030e6a32 Light Sid addressing edited. 2011-07-02 05:05:03 +00:00
Xiao Xiangquan
9b8538c69c 3D view, graph editor, etc. done 2011-07-02 03:17:09 +00:00
Tamito Kajiyama
123f95e437 Fix for linker errors with regard to blenderplayer. 2011-07-01 23:44:20 +00:00
Mike Erwin
14c72f379c implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code 2011-07-01 21:51:44 +00:00
Sergey Sharybin
ed4d973da3 Camera tracking integration
===========================

- Removed unneeded checking of marker==NULL
- Tracks could be named now.
- Implemented "Follow Track" constraint to "parent"
  objects to tracks from movie clip.
- Added operator to create such constraint for active object
  using clip and track from current context.
2011-07-01 17:12:08 +00:00
Sergey Sharybin
f141b59497 Merging r37952 through r38022 from trunk into soc-2011-tomato 2011-07-01 16:39:13 +00:00
Campbell Barton
228be10722 fix for building headless 2011-07-01 15:15:22 +00:00
Brecht Van Lommel
d2c5549f8e Cycles: fix crash with image texture nodes (on windows). 2011-07-01 14:57:48 +00:00
Ton Roosendaal
bd81fde1ff Packaging variable named 'a' for release 2011-07-01 14:46:14 +00:00
Campbell Barton
c2e12d33bd update checksums for x3d tests 2011-07-01 13:39:35 +00:00
Campbell Barton
dcd8933b95 quick explode failed if executed with no active object 2011-07-01 13:26:20 +00:00
Campbell Barton
590682bac1 uv mirror poll function wasnt checking UV's were available on the mesh. 2011-07-01 13:25:00 +00:00
Campbell Barton
cf05777bc0 cmake was installing text as a directory rather then coping the files within it. 2011-07-01 13:10:49 +00:00
Campbell Barton
2c66ab12e9 minor pep8 edits 2011-07-01 12:33:34 +00:00
Joshua Leung
52784d7e30 NLA Strip Drawing Tweaks
* Removed frame-number display from NLA strips. Indeed doing so makes
things look cleaner/easier to identify.
* When transforming NLA strips, the "temp-metas" (purple strips) get
their frame extents drawn on either end, like in the sequencer, which
seems to be easier to read than the ones inside the strips.

---

The downside of this tweak is that there is no longer any visual
feedback for which strips run reversed instead of forwards, as that
used to be shown using the frame extents stuff.
2011-07-01 12:21:13 +00:00
Campbell Barton
01550f880e add 'bgl' OpenGL doc to sphinx 2011-07-01 11:16:42 +00:00
Campbell Barton
5916309ac9 moving BGL to rst format, first move file. 2011-07-01 11:13:26 +00:00
Campbell Barton
1072ba66e0 fix [#27820] foreach_get on bpy_prop_collections returns weird results 2011-07-01 08:48:00 +00:00