-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fit Shape
теперь учитывает размеры меша
#806
Fit Shape
теперь учитывает размеры меша
#806
Conversation
6abb6fa
to
d550eeb
Compare
d550eeb
to
cca36d8
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #806 +/- ##
========================================
Coverage 78.88% 78.88%
========================================
Files 226 226
Lines 20945 20947 +2
Branches 3506 3507 +1
========================================
+ Hits 16523 16525 +2
Misses 3516 3516
Partials 906 906 ☔ View full report in Codecov by Sentry. |
@@ -137,7 +137,7 @@ def _bone_objects(bone): | |||
break | |||
|
|||
|
|||
def bone_vertices(bone): | |||
def bone_vertices(bone, in_world_coordinates=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я бы сделал True, но оно где-то в OGF используется, а мне так не хочется лезть в это древнее зло)
@@ -172,6 +173,17 @@ def assertReportsNotContains(self, report_type=None, re_message=None): | |||
report | |||
)) | |||
|
|||
def assertAlmostEqualV(self, first, second, delta, msg=None): | |||
class V: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может однобуквенные идентификаторы лучше не создавать? И в таких именах assertAlmostEqualV писать в конце подробнее: assertAlmostEqualVec?
И поворот, и прочие аффинные преобразования.
Думаю, работать в world-системе-координат - проще для понимания => багов будет меньше.
[fixes #803]