提交歷史

作者 SHA1 備註 提交日期
  Lasse Öörni 3e4882bfa5 Unify SetDeepEnabled() API between UI & Node. Removed IsDeepEnabled() function & "Is Deep Enabled" attribute as it may return different value than last SetDeepEnabled() and can not therefore serialize/deserialize accurately. Instead added IsEnabledSelf() which returns the enabled state before SetDeepEnabled(). Changed Node::SetEnabled(bool, bool) to SetEnabledRecursive(). Unlike SetDeepEnabled() it does not preserve node's self enabled state. Added AngelScript binding for SetDeepEnabled operations. 11 年之前
  Lasse Öörni 4a9ab417a8 As a possible fix to #409, remove the optimization to not mark a node dirty again if it is already dirty. As a consequence the TransformChanged() script function will work more logically. This change would cause reduced performance with a large amount of animating models; to counteract, introduce a "silent update" mechanism for node transforms. 11 年之前
  Aster@中国上海 dfd82f7f6d Fix typo[ci skip]. 11 年之前
  Aster@中国上海 cd42bc6f3f Make object animation can set child and component's attribute animation. 11 年之前
  Aster@中国上海 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. 11 年之前
  ninjastone 66c66fa444 TransformSpace was ignored in Node::LookAt 11 年之前
  Aster@中国上海 fae8e81d54 Add 2D suffix to 2D transform functions, now please use SetPosition2D etc. 11 年之前
  Lasse Öörni c836250f3e Safety check in case eg. a script object instantiation would fail and the cloned component would have less attributes. 11 年之前
  Lasse Öörni 5a0a64aed8 Query the clone component's attribute vector just once. 11 年之前
  Lasse Öörni 3be53d8047 Fix a script object's unique attributes not being correctly set when CloneComponent() is called. 11 年之前
  Lasse Öörni 1689d9223b Call ApplyAttributes() on the cloned component to make sure attribute side-effects happen. 11 年之前
  Yao Wei Tjong 姚伟忠 1b49f15ca5 Remove code duplication and avoid unnecessary AttributeInfo search. 11 年之前
  Lasse Öörni 5076f966e1 Expose CloneComponent() function to AngelScript & Lua and make it return the created component. 11 年之前
  thebluefish 0d717bae26 Added ability to clone components 11 年之前
  aster2013 49d9856dd5 Add transform functions for Urho2D. 11 年之前
  Yao Wei Tjong 姚伟忠 19bfdddce0 Refactor to make MarkNetworkUpdate() virtual method of Serializable. 11 年之前
  aster 06ccf8efbb rename variant name, avoid memory leak when attribute not found. 11 年之前
  aster2013 2c672b154b Remove animation only attribute support. 11 年之前
  aster2013 f9107d4fed Add scene attribute animation update event. 11 年之前
  aster2013 97a1ab4267 Rename InterpolationMethod to InterpMethod, avoid conflict with Spline class, Add animated only attribute support, like Node's world position attribute. 11 年之前
  Aster Jian 48c3868a79 Remove child object animation, add load and save function. 11 年之前
  Aster Jian 0de5de0678 Remove ignore network update, add animated network attribute check. 11 年之前
  aster2013 dcbd1a3d7c Ignore network update when update animations. 11 年之前
  aster2013 4a3ed4117a Refactor animation system, add AttributeAnimationInstance. 11 年之前
  aster2013 2eff0e1144 Add attribute animation. 11 年之前
  aster2013 5fd7363201 Add Animatable class. 11 年之前
  Lasse Öörni 39d733ae11 Added note that Node::Translate() in local mode disregards scale to keep movement speed independent. Removed test variable from 04_StaticScene.as. 11 年之前
  Lasse Öörni 67d603d8e5 Node transform space refactoring. Translate(), Rotate() and LookAt() functions take a transform space (local, parent or world). Translate() has a behavior change: default space is local, as that is most often used in eg. camera movement, and is consistent with the default for rotations (the earlier fixedAxis = false was same as local space). The redundant TranslateRelative() function is removed. Add RotateAround() function, which allows rotating around a pivot in either local, parent or world space. Closes #295. 11 年之前
  Lasse Öörni cf4c43d344 Added Serializer / Deserializer functions for reading & writing matrices. Added bool success parameter to Quaternion::FromLookRotation() and Node::LookAt(), as it can potentially give a NaN result (in which case the original rotation is kept). Optimized reading of math objects in Deserializer to avoid default construction. 11 年之前
  Lasse Öörni f6c96c2f9f Simplify defining Vector2,3,4::ZERO. Consistency for the up direction parameter name in Node::LookAt() & Quaternion::FromLookRotation(). 11 年之前